Class 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.ModelPropertyBuilder
      static <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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlPropertyPlugin

        public XmlPropertyPlugin()
    • 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 interface ModelPropertyBuilderPlugin
        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)