Class MinMaxAnnotationPlugin
- java.lang.Object
-
- springfox.bean.validators.plugins.schema.MinMaxAnnotationPlugin
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>
,ModelPropertyBuilderPlugin
@Component @Order(-2147483148) public class MinMaxAnnotationPlugin extends java.lang.Object implements ModelPropertyBuilderPlugin
-
-
Constructor Summary
Constructors Constructor Description MinMaxAnnotationPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(ModelPropertyContext context)
Implement this method to override the @see springfox.documentation.schema.ModelProperty using the @see springfox .documentation.builders.ModelPropertyBuilderboolean
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(ModelPropertyContext context)
Description copied from interface:ModelPropertyBuilderPlugin
Implement this method to override the @see springfox.documentation.schema.ModelProperty using the @see springfox .documentation.builders.ModelPropertyBuilder- Specified by:
apply
in interfaceModelPropertyBuilderPlugin
- Parameters:
context
- - context that can be used to override the model property attributes
-
-