public class ServerVariableWriter extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
writeServerVariable(com.fasterxml.jackson.databind.node.ObjectNode parent,
org.eclipse.microprofile.openapi.models.servers.ServerVariable model,
String variableName)
Writes a
ServerVariable to the JSON tree. |
static void |
writeServerVariables(com.fasterxml.jackson.databind.node.ObjectNode serverNode,
Map<String,org.eclipse.microprofile.openapi.models.servers.ServerVariable> variables)
Writes the
ServerVariable model to the JSON tree. |
public static void writeServerVariables(com.fasterxml.jackson.databind.node.ObjectNode serverNode,
Map<String,org.eclipse.microprofile.openapi.models.servers.ServerVariable> variables)
ServerVariable model to the JSON tree.serverNode - the json nodevariables - map of ServerVariable modelspublic static void writeServerVariable(com.fasterxml.jackson.databind.node.ObjectNode parent,
org.eclipse.microprofile.openapi.models.servers.ServerVariable model,
String variableName)
ServerVariable to the JSON tree.parent - the parent json nodemodel - the ServerVariable modelvariableName - the node nameCopyright © 2018–2021. All rights reserved.