Class OperationReader

java.lang.Object
io.smallrye.openapi.runtime.io.operation.OperationReader

public class OperationReader extends Object
Reading the Operation from annotation or json
Author:
Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
See Also:
  • Method Details

    • readOperation

      public static org.eclipse.microprofile.openapi.models.Operation readOperation(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance, org.jboss.jandex.MethodInfo methodInfo)
      Reads a single Operation annotation.
      Parameters:
      context - the scanning context
      methodInfo - the method
      Returns:
      Operation model
    • readOperation

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

      public static boolean operationIsHidden(org.jboss.jandex.MethodInfo method)
    • getOperationAnnotation

      public static org.jboss.jandex.AnnotationInstance getOperationAnnotation(org.jboss.jandex.MethodInfo method)