Class OperationWriter
java.lang.Object
io.smallrye.openapi.runtime.io.operation.OperationWriter
Writing the OperationWriter to json
- Author:
- Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteOperation(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.Operation model, String method) Writes aOperationto the JSON tree.
-
Method Details
-
writeOperation
public static void writeOperation(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.Operation model, String method) Writes aOperationto the JSON tree.- Parameters:
parent- the parent json nodemodel- the Operation modelmethod- the name of the node (operation method)
-