Class ContactReader

java.lang.Object
io.smallrye.openapi.runtime.io.contact.ContactReader

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

    • readContact

      public static org.eclipse.microprofile.openapi.models.info.Contact readContact(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
      Reads an Contact annotation.
      Parameters:
      annotationValue - the @Contact annotation
      Returns:
      Contact model
    • readContact

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