public class PathVariableAnnotationProcessor extends AbstractSpringmvcSerializableParameterProcessor<io.swagger.models.parameters.PathParameter,org.springframework.web.bind.annotation.PathVariable>
| Constructor and Description |
|---|
PathVariableAnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
HttpParameterType |
getHttpParameterType(org.springframework.web.bind.annotation.PathVariable parameterAnnotation) |
String |
getParameterName(org.springframework.web.bind.annotation.PathVariable annotation) |
Type |
getProcessType() |
protected String |
pureReadDefaultValue(org.springframework.web.bind.annotation.PathVariable pathVariable) |
protected boolean |
readRequired(org.springframework.web.bind.annotation.PathVariable pathVariable) |
fillParameter, readDefaultValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfillParameter, getGenericType, getProcessJavaTypepublic Type getProcessType()
public String getParameterName(org.springframework.web.bind.annotation.PathVariable annotation)
public HttpParameterType getHttpParameterType(org.springframework.web.bind.annotation.PathVariable parameterAnnotation)
protected boolean readRequired(org.springframework.web.bind.annotation.PathVariable pathVariable)
readRequired in class AbstractSpringmvcSerializableParameterProcessor<io.swagger.models.parameters.PathParameter,org.springframework.web.bind.annotation.PathVariable>protected String pureReadDefaultValue(org.springframework.web.bind.annotation.PathVariable pathVariable)
pureReadDefaultValue in class AbstractSpringmvcSerializableParameterProcessor<io.swagger.models.parameters.PathParameter,org.springframework.web.bind.annotation.PathVariable>Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.