public class RequestBodyWriter extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
writeRequestBodies(com.fasterxml.jackson.databind.node.ObjectNode parent,
Map<String,org.eclipse.microprofile.openapi.models.parameters.RequestBody> requestBodies)
Writes a map of
RequestBody to the JSON tree. |
static void |
writeRequestBody(com.fasterxml.jackson.databind.node.ObjectNode parent,
org.eclipse.microprofile.openapi.models.parameters.RequestBody model)
Writes a
RequestBody to the JSON tree. |
public static void writeRequestBodies(com.fasterxml.jackson.databind.node.ObjectNode parent,
Map<String,org.eclipse.microprofile.openapi.models.parameters.RequestBody> requestBodies)
RequestBody to the JSON tree.parent - the parent json noderequestBodies - map of RequestBody modelspublic static void writeRequestBody(com.fasterxml.jackson.databind.node.ObjectNode parent,
org.eclipse.microprofile.openapi.models.parameters.RequestBody model)
RequestBody to the JSON tree.parent - the parent json nodemodel - RequestBody modelCopyright © 2018–2021. All rights reserved.