Class OperationWriter


  • public class OperationWriter
    extends Object
    Writing the OperationWriter to json
    Author:
    Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
    See Also:
    operationObject
    • Method Detail

      • writeOperation

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