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 ([email protected]), Eric Wittmann ([email protected])
- See Also:
- operationObject
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.jboss.jandex.AnnotationInstance
getOperationAnnotation(org.jboss.jandex.MethodInfo method)
static boolean
operationIsHidden(org.jboss.jandex.MethodInfo method)
static org.eclipse.microprofile.openapi.models.Operation
readOperation(com.fasterxml.jackson.databind.JsonNode node)
Reads aOperation
OpenAPI node.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.
-
-
-
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 contextmethodInfo
- the method- Returns:
- Operation model
-
readOperation
public static org.eclipse.microprofile.openapi.models.Operation readOperation(com.fasterxml.jackson.databind.JsonNode node)
Reads aOperation
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)
-
-