Class ParameterContext
- java.lang.Object
-
- springfox.documentation.spi.service.contexts.ParameterContext
-
public class ParameterContext extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ParameterContext(ResolvedMethodParameter resolvedMethodParameter, DocumentationContext documentationContext, GenericTypeNamingStrategy genericNamingStrategy, OperationContext operationContext, int parameterIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.fasterxml.classmate.ResolvedType
alternateFor(com.fasterxml.classmate.ResolvedType parameterType)
AlternateTypeProvider
getAlternateTypeProvider()
DocumentationContext
getDocumentationContext()
DocumentationType
getDocumentationType()
GenericTypeNamingStrategy
getGenericNamingStrategy()
java.lang.String
getGroupName()
java.util.Set<java.lang.Class>
getIgnorableParameterTypes()
OperationContext
getOperationContext()
org.springframework.core.MethodParameter
methodParameter()
Deprecated.UseresolvedMethodParameter()
insteadParameterBuilder
parameterBuilder()
Deprecated.RequestParameterBuilder
requestParameterBuilder()
ResolvedMethodParameter
resolvedMethodParameter()
-
-
-
Constructor Detail
-
ParameterContext
public ParameterContext(ResolvedMethodParameter resolvedMethodParameter, DocumentationContext documentationContext, GenericTypeNamingStrategy genericNamingStrategy, OperationContext operationContext, int parameterIndex)
-
-
Method Detail
-
resolvedMethodParameter
public ResolvedMethodParameter resolvedMethodParameter()
-
methodParameter
@Deprecated public org.springframework.core.MethodParameter methodParameter()
Deprecated.UseresolvedMethodParameter()
instead- Returns:
- method parameter
- Since:
- 2.5.0 this has been deprecated
-
parameterBuilder
@Deprecated public ParameterBuilder parameterBuilder()
Deprecated.- Returns:
- this
- Since:
- 3.0.0 this has been deprecated in favor of @see
-
requestParameterBuilder
public RequestParameterBuilder requestParameterBuilder()
-
getDocumentationContext
public DocumentationContext getDocumentationContext()
-
getDocumentationType
public DocumentationType getDocumentationType()
-
alternateFor
public com.fasterxml.classmate.ResolvedType alternateFor(com.fasterxml.classmate.ResolvedType parameterType)
-
getAlternateTypeProvider
public AlternateTypeProvider getAlternateTypeProvider()
-
getGenericNamingStrategy
public GenericTypeNamingStrategy getGenericNamingStrategy()
-
getOperationContext
public OperationContext getOperationContext()
-
getIgnorableParameterTypes
public java.util.Set<java.lang.Class> getIgnorableParameterTypes()
-
getGroupName
public java.lang.String getGroupName()
-
-