public class ParameterProcessor extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MEDIA_TYPE |
Constructor and Description |
---|
ParameterProcessor() |
Modifier and Type | Method and Description |
---|---|
static io.swagger.v3.oas.models.parameters.Parameter |
applyAnnotations(io.swagger.v3.oas.models.parameters.Parameter parameter,
Type type,
List<Annotation> annotations,
io.swagger.v3.oas.models.Components components,
String[] classTypes,
String[] methodTypes,
com.fasterxml.jackson.annotation.JsonView jsonViewAnnotation) |
static Type |
getParameterType(io.swagger.v3.oas.annotations.Parameter paramAnnotation) |
static Type |
getParameterType(io.swagger.v3.oas.annotations.Parameter paramAnnotation,
boolean nullIfNotFound) |
static Annotation |
getParamSchemaAnnotation(List<Annotation> annotations) |
static void |
setParameterExplode(io.swagger.v3.oas.models.parameters.Parameter parameter,
io.swagger.v3.oas.annotations.Parameter p) |
static void |
setParameterStyle(io.swagger.v3.oas.models.parameters.Parameter parameter,
io.swagger.v3.oas.annotations.Parameter p) |
public static final String MEDIA_TYPE
public static io.swagger.v3.oas.models.parameters.Parameter applyAnnotations(io.swagger.v3.oas.models.parameters.Parameter parameter, Type type, List<Annotation> annotations, io.swagger.v3.oas.models.Components components, String[] classTypes, String[] methodTypes, com.fasterxml.jackson.annotation.JsonView jsonViewAnnotation)
public static void setParameterExplode(io.swagger.v3.oas.models.parameters.Parameter parameter, io.swagger.v3.oas.annotations.Parameter p)
public static void setParameterStyle(io.swagger.v3.oas.models.parameters.Parameter parameter, io.swagger.v3.oas.annotations.Parameter p)
public static Annotation getParamSchemaAnnotation(List<Annotation> annotations)
public static Type getParameterType(io.swagger.v3.oas.annotations.Parameter paramAnnotation)
public static Type getParameterType(io.swagger.v3.oas.annotations.Parameter paramAnnotation, boolean nullIfNotFound)
Copyright © 2019. All rights reserved.