public class ParameterWriter extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
writeParameterList(com.fasterxml.jackson.databind.node.ObjectNode parent,
List<org.eclipse.microprofile.openapi.models.parameters.Parameter> models)
Writes a list of
Parameter to the JSON tree. |
static void |
writeParameters(com.fasterxml.jackson.databind.node.ObjectNode parent,
Map<String,org.eclipse.microprofile.openapi.models.parameters.Parameter> parameters)
Writes a map of
Parameter to the JSON tree. |
public static void writeParameters(com.fasterxml.jackson.databind.node.ObjectNode parent,
Map<String,org.eclipse.microprofile.openapi.models.parameters.Parameter> parameters)
Parameter to the JSON tree.parent - the parent json nodeparameters - map of Parameter modelspublic static void writeParameterList(com.fasterxml.jackson.databind.node.ObjectNode parent,
List<org.eclipse.microprofile.openapi.models.parameters.Parameter> models)
Parameter to the JSON tree.parent - the parent json nodemodels - list of Parameter modelsCopyright © 2018–2021. All rights reserved.