Class CustomPathExtension
java.lang.Object
io.quarkus.smallrye.openapi.deployment.CustomPathExtension
- All Implemented Interfaces:
io.smallrye.openapi.runtime.scanner.AnnotationScannerExtension
public class CustomPathExtension
extends Object
implements io.smallrye.openapi.runtime.scanner.AnnotationScannerExtension
This adds support for the quarkus.http.root-path config option
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.smallrye.openapi.runtime.scanner.AnnotationScannerExtension
io.smallrye.openapi.runtime.scanner.AnnotationScannerExtension.Default -
Field Summary
FieldsFields inherited from interface io.smallrye.openapi.runtime.scanner.AnnotationScannerExtension
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static StringbuildContextRpot(String... segments) voidprocessScannerApplications(io.smallrye.openapi.runtime.scanner.spi.AnnotationScanner scanner, Collection<org.jboss.jandex.ClassInfo> applications) (package private) static StringstripSlashes(String segment) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.smallrye.openapi.runtime.scanner.AnnotationScannerExtension
isScannerAnnotationExtension, parseExtension, parseSchema, parseValue, resolveAsyncType
-
Field Details
-
APPLICATION_PATH
-
-
Constructor Details
-
CustomPathExtension
-
-
Method Details
-
processScannerApplications
public void processScannerApplications(io.smallrye.openapi.runtime.scanner.spi.AnnotationScanner scanner, Collection<org.jboss.jandex.ClassInfo> applications) - Specified by:
processScannerApplicationsin interfaceio.smallrye.openapi.runtime.scanner.AnnotationScannerExtension
-
buildContextRpot
-
stripSlashes
-