Class PathsReader
- java.lang.Object
-
- io.smallrye.openapi.runtime.io.paths.PathsReader
-
public class PathsReader extends Object
Reading the Paths from annotation or 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 org.eclipse.microprofile.openapi.models.PathItemreadPathItem(com.fasterxml.jackson.databind.JsonNode node)Reads aPathItemOpenAPI node.static org.eclipse.microprofile.openapi.models.PathItemreadPathItem(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)static org.eclipse.microprofile.openapi.models.PathItemreadPathItem(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue, org.jboss.jandex.MethodInfo methodInfo)Reads the PathItem.static org.eclipse.microprofile.openapi.models.PathsreadPaths(com.fasterxml.jackson.databind.JsonNode node)Reads thePathsOpenAPI nodes.
-
-
-
Method Detail
-
readPaths
public static org.eclipse.microprofile.openapi.models.Paths readPaths(com.fasterxml.jackson.databind.JsonNode node)
Reads thePathsOpenAPI nodes.- Parameters:
node- json object- Returns:
- Paths model
-
readPathItem
public static org.eclipse.microprofile.openapi.models.PathItem readPathItem(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
-
readPathItem
public static org.eclipse.microprofile.openapi.models.PathItem readPathItem(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue, org.jboss.jandex.MethodInfo methodInfo)
Reads the PathItem. Also used in CallbackOperation- Parameters:
context- the scanning contextannotationValue- the annotation value- Returns:
- PathItem model
-
readPathItem
public static org.eclipse.microprofile.openapi.models.PathItem readPathItem(com.fasterxml.jackson.databind.JsonNode node)
Reads aPathItemOpenAPI node.- Parameters:
node- json object- Returns:
- PathItem model
-
-