@Component @Order(value=-2147482648) public class ApiModelBuilder extends java.lang.Object implements ModelBuilderPlugin
Constructor and Description |
---|
ApiModelBuilder(com.fasterxml.classmate.TypeResolver typeResolver) |
Modifier and Type | Method and Description |
---|---|
void |
apply(ModelContext context)
Implement this method to override the @see springfox.documentation.schema.Model using the @see springfox
.documentation.builders.ModelBuilder
|
boolean |
supports(DocumentationType delimiter) |
@Autowired public ApiModelBuilder(com.fasterxml.classmate.TypeResolver typeResolver)
public void apply(ModelContext context)
ModelBuilderPlugin
apply
in interface ModelBuilderPlugin
context
- - context that can be used to override the model attributespublic boolean supports(DocumentationType delimiter)
supports
in interface org.springframework.plugin.core.Plugin<DocumentationType>