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 ([email protected]), Eric Wittmann ([email protected])
- See Also:
- contactObject
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.microprofile.openapi.models.info.Contact
readContact(com.fasterxml.jackson.databind.JsonNode node)
Reads anContact
OpenAPI node.static org.eclipse.microprofile.openapi.models.info.Contact
readContact(org.jboss.jandex.AnnotationValue annotationValue)
Reads an Contact annotation.
-
-
-
Method Detail
-
readContact
public static org.eclipse.microprofile.openapi.models.info.Contact readContact(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 anContact
OpenAPI node.- Parameters:
node
- the json node- Returns:
- Contact model
-
-