Class ContactWriter
java.lang.Object
io.smallrye.openapi.runtime.io.contact.ContactWriter
This write the Contact to json
- Author:
- Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteContact(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.info.Contact model) Writes theContactmodel to the JSON tree.
-
Method Details
-
writeContact
public static void writeContact(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.info.Contact model) Writes theContactmodel to the JSON tree.- Parameters:
parent- the parent json nodemodel- the Contact model
-