public class SchemaWriter extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
writeSchema(com.fasterxml.jackson.databind.node.ObjectNode parent,
org.eclipse.microprofile.openapi.models.media.Schema model,
String name)
Writes a
Schema to the JSON tree. |
static void |
writeSchemas(com.fasterxml.jackson.databind.node.ObjectNode parent,
Map<String,org.eclipse.microprofile.openapi.models.media.Schema> schemas)
Writes a map of
Schema to the JSON tree. |
public static void writeSchemas(com.fasterxml.jackson.databind.node.ObjectNode parent,
Map<String,org.eclipse.microprofile.openapi.models.media.Schema> schemas)
Schema to the JSON tree.parent - the parent json nodeschemas - map of Schema modelspublic static void writeSchema(com.fasterxml.jackson.databind.node.ObjectNode parent,
org.eclipse.microprofile.openapi.models.media.Schema model,
String name)
Schema to the JSON tree.parent - the parent json nodemodel - Schema modelname - name of the nodeCopyright © 2018–2021. All rights reserved.