Class ContactReader
java.lang.Object
io.smallrye.openapi.runtime.io.contact.ContactReader
This reads the Contact from annotations or json
- Author:
- Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.info.ContactreadContact(com.fasterxml.jackson.databind.JsonNode node) Reads anContactOpenAPI node.static org.eclipse.microprofile.openapi.models.info.ContactreadContact(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads an Contact annotation.
-
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 anContactOpenAPI node.- Parameters:
node- the json node- Returns:
- Contact model
-