Class PathsReader
java.lang.Object
io.smallrye.openapi.runtime.io.paths.PathsReader
Reading the Paths from annotation or json
- Author:
- Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
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
-