Class ExpandedParameterNotNullAnnotationPlugin
- java.lang.Object
-
- springfox.bean.validators.plugins.parameter.ExpandedParameterNotNullAnnotationPlugin
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>
,ExpandedParameterBuilderPlugin
@Component @Order(-2147483148) public class ExpandedParameterNotNullAnnotationPlugin extends java.lang.Object implements ExpandedParameterBuilderPlugin
-
-
Constructor Summary
Constructors Constructor Description ExpandedParameterNotNullAnnotationPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(ParameterExpansionContext context)
Implement this method to override the Parameter using ParameterBuilder available in the contextboolean
supports(DocumentationType delimiter)
-
-
-
Method Detail
-
supports
public boolean supports(DocumentationType delimiter)
- Specified by:
supports
in interfaceorg.springframework.plugin.core.Plugin<DocumentationType>
-
apply
public void apply(ParameterExpansionContext context)
Description copied from interface:ExpandedParameterBuilderPlugin
Implement this method to override the Parameter using ParameterBuilder available in the context- Specified by:
apply
in interfaceExpandedParameterBuilderPlugin
- Parameters:
context
- - context that can be used to override the parameter attributes- See Also:
Parameter
,ParameterBuilder
-
-