public class PathsWriter extends Object
Modifier and Type | Method and Description |
---|---|
static void |
writePathItem(com.fasterxml.jackson.databind.node.ObjectNode parent,
org.eclipse.microprofile.openapi.models.PathItem model,
String pathName)
Writes a
PathItem to the JSON tree. |
static void |
writePaths(com.fasterxml.jackson.databind.node.ObjectNode parent,
org.eclipse.microprofile.openapi.models.Paths paths)
Writes a
Paths to the JSON tree. |
public static void writePaths(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.Paths paths)
Paths
to the JSON tree.parent
- the parent json nodepaths
- Paths modelpublic static void writePathItem(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.PathItem model, String pathName)
PathItem
to the JSON tree.parent
- parent json nodemodel
- PathItem modelpathName
- the node name (path)Copyright © 2018–2021. All rights reserved.