Class OperationReader

    • Method Detail

      • 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)