public class OperationReader extends Object
| Modifier and Type | Method and 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(AnnotationScannerContext context,
org.jboss.jandex.AnnotationInstance annotationInstance,
org.jboss.jandex.MethodInfo methodInfo)
Reads a single Operation annotation.
|
static org.eclipse.microprofile.openapi.models.Operation |
readOperation(com.fasterxml.jackson.databind.JsonNode node)
Reads a
Operation OpenAPI node. |
public static org.eclipse.microprofile.openapi.models.Operation readOperation(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance, org.jboss.jandex.MethodInfo methodInfo)
context - the scanning contextmethodInfo - the methodpublic static org.eclipse.microprofile.openapi.models.Operation readOperation(com.fasterxml.jackson.databind.JsonNode node)
Operation OpenAPI node.node - json objectpublic static boolean operationIsHidden(org.jboss.jandex.MethodInfo method)
public static org.jboss.jandex.AnnotationInstance getOperationAnnotation(org.jboss.jandex.MethodInfo method)
Copyright © 2018–2021. All rights reserved.