Class PathsWriter
- java.lang.Object
-
- io.smallrye.openapi.runtime.io.paths.PathsWriter
-
public class PathsWriter extends Object
Writing the Paths to json- Author:
- Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
- See Also:
- pathsObject
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidwritePathItem(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.PathItem model, String pathName)Writes aPathItemto the JSON tree.static voidwritePaths(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.Paths paths)Writes aPathsto the JSON tree.
-
-
-
Method Detail
-
writePaths
public static void writePaths(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.Paths paths)Writes aPathsto the JSON tree.- Parameters:
parent- the parent json nodepaths- Paths model
-
writePathItem
public static void writePathItem(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.PathItem model, String pathName)Writes aPathItemto the JSON tree.- Parameters:
parent- parent json nodemodel- PathItem modelpathName- the node name (path)
-
-