Class IsNullAnnotationPlugin
- java.lang.Object
-
- springfox.bean.validators.plugins.schema.IsNullAnnotationPlugin
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>
,ModelPropertyBuilderPlugin
@Component @Order(-2147483148) public class IsNullAnnotationPlugin extends java.lang.Object implements ModelPropertyBuilderPlugin
-
-
Constructor Summary
Constructors Constructor Description IsNullAnnotationPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(ModelPropertyContext context)
read NotNull annotationboolean
supports(DocumentationType delimiter)
support all documentationTypes
-
-
-
Method Detail
-
supports
public boolean supports(DocumentationType delimiter)
support all documentationTypes- Specified by:
supports
in interfaceorg.springframework.plugin.core.Plugin<DocumentationType>
-
apply
public void apply(ModelPropertyContext context)
read NotNull annotation- Specified by:
apply
in interfaceModelPropertyBuilderPlugin
- Parameters:
context
- - context that can be used to override the model property attributes
-
-