Class InfoReader


  • public class InfoReader
    extends Object
    This reads the Info from annotations or json
    Author:
    Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
    See Also:
    infoObject
    • Method Detail

      • readInfo

        public static org.eclipse.microprofile.openapi.models.info.Info readInfo​(AnnotationScannerContext context,
                                                                                 org.jboss.jandex.AnnotationValue annotationValue)
        Annotation to Info
        Parameters:
        annotationValue - the @Info annotation
        Returns:
        Info model
      • readInfo

        public static org.eclipse.microprofile.openapi.models.info.Info readInfo​(com.fasterxml.jackson.databind.JsonNode node)
        Reads an Info OpenAPI node.
        Parameters:
        node - the json node
        Returns:
        Info model