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

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final Set<org.jboss.jandex.DotName>
     

    Fields inherited from interface io.smallrye.openapi.runtime.scanner.AnnotationScannerExtension

    DEFAULT
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomPathExtension(String rootPath, String appPath)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static String
    buildContextRpot(String... segments)
     
    void
    processScannerApplications(io.smallrye.openapi.runtime.scanner.spi.AnnotationScanner scanner, Collection<org.jboss.jandex.ClassInfo> applications)
     
    (package private) static String
     

    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.AnnotationScannerExtension

    isScannerAnnotationExtension, parseExtension, parseSchema, parseValue, resolveAsyncType
  • Field Details

    • APPLICATION_PATH

      static final Set<org.jboss.jandex.DotName> APPLICATION_PATH
  • Constructor Details

    • CustomPathExtension

      public CustomPathExtension(String rootPath, String appPath)
  • Method Details

    • processScannerApplications

      public void processScannerApplications(io.smallrye.openapi.runtime.scanner.spi.AnnotationScanner scanner, Collection<org.jboss.jandex.ClassInfo> applications)
      Specified by:
      processScannerApplications in interface io.smallrye.openapi.runtime.scanner.AnnotationScannerExtension
    • buildContextRpot

      static String buildContextRpot(String... segments)
    • stripSlashes

      static String stripSlashes(String segment)