Class ContentWriter

java.lang.Object
io.smallrye.openapi.runtime.io.content.ContentWriter

public class ContentWriter extends Object
Writing the Content to json
Author:
Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
  • Method Details

    • writeContent

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