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
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static Set<org.jboss.jandex.DotName>APPLICATION_PATH
-
Constructor Summary
Constructors Constructor Description CustomPathExtension(String rootPath, String appPath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (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)
-
-
-
Field Detail
-
APPLICATION_PATH
static final Set<org.jboss.jandex.DotName> APPLICATION_PATH
-
-
Method Detail
-
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
-
-