Class ContactWriter

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

public class ContactWriter extends Object
This write the Contact to json
Author:
Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
See Also:
  • Method Details

    • writeContact

      public static void writeContact(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.info.Contact model)
      Writes the Contact model to the JSON tree.
      Parameters:
      parent - the parent json node
      model - the Contact model