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 ([email protected]), Eric Wittmann ([email protected])
- See Also:
- pathsObject
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.microprofile.openapi.models.PathItem
readPathItem(com.fasterxml.jackson.databind.JsonNode node)
Reads aPathItem
OpenAPI node.static org.eclipse.microprofile.openapi.models.PathItem
readPathItem(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
static org.eclipse.microprofile.openapi.models.PathItem
readPathItem(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue, org.jboss.jandex.MethodInfo methodInfo)
Reads the PathItem.static org.eclipse.microprofile.openapi.models.Paths
readPaths(com.fasterxml.jackson.databind.JsonNode node)
Reads thePaths
OpenAPI nodes.
-
-
-
Method Detail
-
readPaths
public static org.eclipse.microprofile.openapi.models.Paths readPaths(com.fasterxml.jackson.databind.JsonNode node)
Reads thePaths
OpenAPI 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 aPathItem
OpenAPI node.- Parameters:
node
- json object- Returns:
- PathItem model
-
-