Class MediaTypeWriter

    • Method Detail

      • writeMediaType

        public static void writeMediaType​(com.fasterxml.jackson.databind.node.ObjectNode parent,
                                          org.eclipse.microprofile.openapi.models.media.MediaType model,
                                          String name)
        Writes a MediaType to the JSON tree.
        Parameters:
        parent - the parent json node
        model - the MediaType model
        name - name of the node