Package io.smallrye.openapi.vertx
Class VertxAnnotationScanner
- java.lang.Object
-
- io.smallrye.openapi.runtime.scanner.spi.AbstractAnnotationScanner
-
- io.smallrye.openapi.vertx.VertxAnnotationScanner
-
- All Implemented Interfaces:
AnnotationScanner
public class VertxAnnotationScanner extends AbstractAnnotationScanner
Scanner that scan Vertx routes.- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
-
Field Summary
-
Fields inherited from class io.smallrye.openapi.runtime.scanner.spi.AbstractAnnotationScanner
currentAppPath
-
-
Constructor Summary
Constructors Constructor Description VertxAnnotationScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsScannerAnnotations(List<org.jboss.jandex.AnnotationInstance> instances, List<AnnotationScannerExtension> extensions)String[]getDefaultConsumes(AnnotationScannerContext context, org.jboss.jandex.MethodInfo methodInfo, ResourceParameters params)String[]getDefaultProduces(AnnotationScannerContext context, org.jboss.jandex.MethodInfo methodInfo)StringgetName()booleanisAsyncResponse(org.jboss.jandex.MethodInfo method)booleanisDeleteMethod(org.jboss.jandex.MethodInfo method)booleanisPostMethod(org.jboss.jandex.MethodInfo method)booleanisScannerInternalParameter(org.jboss.jandex.Type parameterType)org.eclipse.microprofile.openapi.models.OpenAPIscan(AnnotationScannerContext context, org.eclipse.microprofile.openapi.models.OpenAPI openApi)-
Methods inherited from class io.smallrye.openapi.runtime.scanner.spi.AbstractAnnotationScanner
createPathFromSegments, makePath, processProfiles, setContextRoot
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.smallrye.openapi.runtime.scanner.spi.AnnotationScanner
addApiReponseFromAnnotation, addApiReponseSchemaFromAnnotation, clearJsonViewContext, createResponseFromRestMethod, generateResponse, getConsumes, getConsumesForRequestBody, getDefaultStatus, getKotlinContinuationArgument, getReasonPhrase, getRequestBodyParameterClassType, getResourceMethods, hasKotlinContinuation, isEmptySecurityRequirements, isFrameworkContextType, isKotlinContinuation, isMultipartInput, isMultipartOutput, isPathParameter, isScannerInternalResponse, isScannerInternalResponse, isVoidResponse, isWrapperType, kotlinContinuationToSchema, processCallback, processDefinitionAnnotation, processExtensions, processJavaSecurity, processOperation, processOperationTags, processRequestBody, processResponse, processScannerExtensions, processSecurityRequirementAnnotation, processSecuritySchemeAnnotation, processServerAnnotation, processServerAnnotation, processTags, responseCodeExistInMethodAnnotations, setJsonViewContext, setOperationOnPathItem, setRequestBodyConstraints, unwrapType
-
-
-
-
Method Detail
-
getName
public String getName()
-
isAsyncResponse
public boolean isAsyncResponse(org.jboss.jandex.MethodInfo method)
-
isPostMethod
public boolean isPostMethod(org.jboss.jandex.MethodInfo method)
-
isDeleteMethod
public boolean isDeleteMethod(org.jboss.jandex.MethodInfo method)
-
containsScannerAnnotations
public boolean containsScannerAnnotations(List<org.jboss.jandex.AnnotationInstance> instances, List<AnnotationScannerExtension> extensions)
-
isScannerInternalParameter
public boolean isScannerInternalParameter(org.jboss.jandex.Type parameterType)
-
scan
public org.eclipse.microprofile.openapi.models.OpenAPI scan(AnnotationScannerContext context, org.eclipse.microprofile.openapi.models.OpenAPI openApi)
-
getDefaultConsumes
public String[] getDefaultConsumes(AnnotationScannerContext context, org.jboss.jandex.MethodInfo methodInfo, ResourceParameters params)
- Specified by:
getDefaultConsumesin interfaceAnnotationScanner- Overrides:
getDefaultConsumesin classAbstractAnnotationScanner
-
getDefaultProduces
public String[] getDefaultProduces(AnnotationScannerContext context, org.jboss.jandex.MethodInfo methodInfo)
- Specified by:
getDefaultProducesin interfaceAnnotationScanner- Overrides:
getDefaultProducesin classAbstractAnnotationScanner
-
-