Class XmlModelPlugin
- java.lang.Object
-
- springfox.documentation.schema.plugins.XmlModelPlugin
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>
,ModelBuilderPlugin
@Component @Conditional(JaxbPresentInClassPathCondition.class) public class XmlModelPlugin extends java.lang.Object implements ModelBuilderPlugin
-
-
Constructor Summary
Constructors Constructor Description XmlModelPlugin(com.fasterxml.classmate.TypeResolver typeResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(ModelContext context)
Implement this method to override the @see springfox.documentation.schema.Model using the @see springfox .documentation.builders.ModelBuilderboolean
supports(DocumentationType delimiter)
-
-
-
Method Detail
-
apply
public void apply(ModelContext context)
Description copied from interface:ModelBuilderPlugin
Implement this method to override the @see springfox.documentation.schema.Model using the @see springfox .documentation.builders.ModelBuilder- Specified by:
apply
in interfaceModelBuilderPlugin
- Parameters:
context
- - context that can be used to override the model attributes
-
supports
public boolean supports(DocumentationType delimiter)
- Specified by:
supports
in interfaceorg.springframework.plugin.core.Plugin<DocumentationType>
-
-