Class ParameterExpansionContext
- java.lang.Object
-
- springfox.documentation.spi.service.contexts.ParameterExpansionContext
-
public class ParameterExpansionContext extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ParameterExpansionContext(java.lang.String dataTypeName, java.lang.String parentName, java.lang.String parameterType, ParameterMetadataAccessor metadataAccessor, DocumentationType documentationType, ParameterBuilder parameterBuilder, RequestParameterBuilder requestParameterBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <A extends java.lang.annotation.Annotation>
java.util.Optional<A>findAnnotation(java.lang.Class<A> annotationType)
java.lang.String
getDataTypeName()
DocumentationType
getDocumentationType()
com.fasterxml.classmate.members.ResolvedField
getField()
Deprecated.java.lang.String
getFieldName()
com.fasterxml.classmate.ResolvedType
getFieldType()
ParameterBuilder
getParameterBuilder()
java.lang.String
getParameterType()
java.lang.String
getParentName()
RequestParameterBuilder
getRequestParameterBuilder()
-
-
-
Constructor Detail
-
ParameterExpansionContext
public ParameterExpansionContext(java.lang.String dataTypeName, java.lang.String parentName, java.lang.String parameterType, ParameterMetadataAccessor metadataAccessor, DocumentationType documentationType, ParameterBuilder parameterBuilder, RequestParameterBuilder requestParameterBuilder)
-
-
Method Detail
-
getDataTypeName
public java.lang.String getDataTypeName()
-
getParentName
public java.lang.String getParentName()
-
getParameterType
public java.lang.String getParameterType()
-
getField
@Deprecated public com.fasterxml.classmate.members.ResolvedField getField()
Deprecated.Access to the raw field is deprecated to support interface based model attributes with resolvers e.g. Pageable- Returns:
- resolved field
- Since:
- 2.8.0
-
getDocumentationType
public DocumentationType getDocumentationType()
-
getParameterBuilder
public ParameterBuilder getParameterBuilder()
-
getRequestParameterBuilder
public RequestParameterBuilder getRequestParameterBuilder()
-
getFieldType
public com.fasterxml.classmate.ResolvedType getFieldType()
-
getFieldName
public java.lang.String getFieldName()
-
findAnnotation
public <A extends java.lang.annotation.Annotation> java.util.Optional<A> findAnnotation(java.lang.Class<A> annotationType)
-
-