@Component @Conditional(value=JaxbPresentInClassPathCondition.class) public class XmlPropertyPlugin extends java.lang.Object implements ModelPropertyBuilderPlugin
Constructor and Description |
---|
XmlPropertyPlugin() |
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
|
static <T extends java.lang.annotation.Annotation> |
findAnnotation(java.lang.reflect.AnnotatedElement annotated,
java.lang.Class<T> annotation) |
boolean |
supports(DocumentationType delimiter) |
public void apply(ModelPropertyContext context)
ModelPropertyBuilderPlugin
apply
in interface ModelPropertyBuilderPlugin
context
- - context that can be used to override the model property attributespublic static <T extends java.lang.annotation.Annotation> com.google.common.base.Optional<T> findAnnotation(java.lang.reflect.AnnotatedElement annotated, java.lang.Class<T> annotation)
public boolean supports(DocumentationType delimiter)
supports
in interface org.springframework.plugin.core.Plugin<DocumentationType>