Class AbstractAnnotationScanner
- java.lang.Object
-
- io.smallrye.openapi.runtime.scanner.spi.AbstractAnnotationScanner
-
- All Implemented Interfaces:
AnnotationScanner
public abstract class AbstractAnnotationScanner extends Object implements AnnotationScanner
Abstract base class for annotation scanners- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcurrentAppPath
-
Constructor Summary
Constructors Constructor Description AbstractAnnotationScanner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static StringcreatePathFromSegments(String... segments)Make a path out of a number of path segments.protected StringmakePath(String operationPath)voidsetContextRoot(String path)-
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, containsScannerAnnotations, createResponseFromRestMethod, generateResponse, getConsumes, getDefaultStatus, getName, getReasonPhrase, getRequestBodyParameterClassType, getResourceMethods, isAsyncResponse, isDeleteMethod, isEmptySecurityRequirements, isKotlinContinuation, isMultipartInput, isMultipartOutput, isPostMethod, isScannerInternalParameter, isScannerInternalResponse, isVoidResponse, isWrapperType, kotlinContinuationToSchema, processCallback, processDefinitionAnnotation, processExtensions, processJavaSecurity, processOperation, processOperationTags, processRequestBody, processResponse, processScannerExtensions, processSecurityRequirementAnnotation, processSecuritySchemeAnnotation, processServerAnnotation, processServerAnnotation, processTags, responseCodeExistInMethodAnnotations, scan, setOperationOnPathItem, unwrapType
-
-
-
-
Field Detail
-
currentAppPath
protected String currentAppPath
-
-
Method Detail
-
setContextRoot
public void setContextRoot(String path)
- Specified by:
setContextRootin interfaceAnnotationScanner
-
-