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 ([email protected]), Eric Wittmann ([email protected])
- See Also:
- pathsObject
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
writePathItem(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.PathItem model, String pathName)
Writes aPathItem
to the JSON tree.static void
writePaths(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.Paths paths)
Writes aPaths
to 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 aPaths
to 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 aPathItem
to the JSON tree.- Parameters:
parent
- parent json nodemodel
- PathItem modelpathName
- the node name (path)
-
-