@Component @Order(value=-2147483148) public class SizeAnnotationPlugin extends java.lang.Object implements ModelPropertyBuilderPlugin
Constructor and Description |
---|
SizeAnnotationPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
apply(ModelPropertyContext context)
Implement this method to override the @see springfox.documentation.schema.ModelProperty using the @see springfox
.documentation.builders.ModelPropertyBuilder
|
boolean |
supports(DocumentationType delimiter) |
public boolean supports(DocumentationType delimiter)
supports
in interface org.springframework.plugin.core.Plugin<DocumentationType>
public void apply(ModelPropertyContext context)
ModelPropertyBuilderPlugin
apply
in interface ModelPropertyBuilderPlugin
context
- - context that can be used to override the model property attributes