Class NotBlankAnnotationPlugin
- java.lang.Object
-
- springfox.bean.validators.plugins.schema.NotBlankAnnotationPlugin
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>
,ModelPropertyBuilderPlugin
@Component @Order(-2147483148) public class NotBlankAnnotationPlugin extends java.lang.Object implements ModelPropertyBuilderPlugin
-
-
Constructor Summary
Constructors Constructor Description NotBlankAnnotationPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(ModelPropertyContext context)
read NotBlank 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 NotBlank annotation- Specified by:
apply
in interfaceModelPropertyBuilderPlugin
- Parameters:
context
- - context that can be used to override the model property attributes
-
-