Class InfoReader

java.lang.Object
io.smallrye.openapi.runtime.io.info.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:
  • Method Details

    • 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