public class RequestBodyAnnotationProcessor extends Object implements ParameterProcessor<io.swagger.models.parameters.BodyParameter,org.springframework.web.bind.annotation.RequestBody>
| Constructor and Description |
|---|
RequestBodyAnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
fillParameter(io.swagger.models.Swagger swagger,
io.swagger.models.Operation operation,
io.swagger.models.parameters.BodyParameter bodyParameter,
com.fasterxml.jackson.databind.JavaType type,
org.springframework.web.bind.annotation.RequestBody requestBody) |
HttpParameterType |
getHttpParameterType(org.springframework.web.bind.annotation.RequestBody parameterAnnotation) |
String |
getParameterName(org.springframework.web.bind.annotation.RequestBody parameterAnnotation) |
Type |
getProcessType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfillParameter, getGenericType, getProcessJavaTypepublic Type getProcessType()
getProcessType in interface ParameterProcessor<io.swagger.models.parameters.BodyParameter,org.springframework.web.bind.annotation.RequestBody>public String getParameterName(org.springframework.web.bind.annotation.RequestBody parameterAnnotation)
getParameterName in interface ParameterProcessor<io.swagger.models.parameters.BodyParameter,org.springframework.web.bind.annotation.RequestBody>public HttpParameterType getHttpParameterType(org.springframework.web.bind.annotation.RequestBody parameterAnnotation)
getHttpParameterType in interface ParameterProcessor<io.swagger.models.parameters.BodyParameter,org.springframework.web.bind.annotation.RequestBody>public void fillParameter(io.swagger.models.Swagger swagger,
io.swagger.models.Operation operation,
io.swagger.models.parameters.BodyParameter bodyParameter,
com.fasterxml.jackson.databind.JavaType type,
org.springframework.web.bind.annotation.RequestBody requestBody)
fillParameter in interface ParameterProcessor<io.swagger.models.parameters.BodyParameter,org.springframework.web.bind.annotation.RequestBody>Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.