public class ReaderUtils extends Object
Constructor and Description |
---|
ReaderUtils() |
Modifier and Type | Method and Description |
---|---|
static List<Parameter> |
collectConstructorParameters(Class<?> cls,
Swagger swagger)
Collects constructor-level parameters from class.
|
static List<Parameter> |
collectFieldParameters(Class<?> cls,
Swagger swagger)
Collects field-level parameters from class.
|
static String[] |
splitContentValues(String[] strings)
Splits the provided array of strings into an array, using comma as the separator.
|
public static List<Parameter> collectConstructorParameters(Class<?> cls, Swagger swagger)
cls
- is a class for collectingswagger
- is the instance of the Swaggerpublic static List<Parameter> collectFieldParameters(Class<?> cls, Swagger swagger)
cls
- is a class for collectingswagger
- is the instance of the Swaggerpublic static String[] splitContentValues(String[] strings)
strings
- is the provided array of stringsCopyright © 2019. All rights reserved.