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:
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.eclipse.microprofile.openapi.models.PathItem
    readPathItem(com.fasterxml.jackson.databind.JsonNode node)
    Reads a PathItem 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 the Paths OpenAPI nodes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • readPaths

      public static org.eclipse.microprofile.openapi.models.Paths readPaths(com.fasterxml.jackson.databind.JsonNode node)
      Reads the Paths 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 context
      annotationValue - the annotation value
      Returns:
      PathItem model
    • readPathItem

      public static org.eclipse.microprofile.openapi.models.PathItem readPathItem(com.fasterxml.jackson.databind.JsonNode node)
      Reads a PathItem OpenAPI node.
      Parameters:
      node - json object
      Returns:
      PathItem model