Class XmlPropertyPlugin
- java.lang.Object
-
- springfox.documentation.schema.property.XmlPropertyPlugin
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>
,ModelPropertyBuilderPlugin
@Component @Conditional(JaxbPresentInClassPathCondition.class) public class XmlPropertyPlugin extends java.lang.Object implements ModelPropertyBuilderPlugin
-
-
Constructor Summary
Constructors Constructor Description XmlPropertyPlugin()
-
Method Summary
All Methods Static 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.ModelPropertyBuilderstatic <T extends java.lang.annotation.Annotation>
java.util.Optional<T>findAnnotation(java.lang.reflect.AnnotatedElement annotated, java.lang.Class<T> annotation)
boolean
supports(DocumentationType delimiter)
-
-
-
Method Detail
-
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
-
findAnnotation
public static <T extends java.lang.annotation.Annotation> java.util.Optional<T> findAnnotation(java.lang.reflect.AnnotatedElement annotated, java.lang.Class<T> annotation)
-
supports
public boolean supports(DocumentationType delimiter)
- Specified by:
supports
in interfaceorg.springframework.plugin.core.Plugin<DocumentationType>
-
-