Class OpenApiCdiExtension

  • All Implemented Interfaces:

    public class OpenApiCdiExtension
    extends Object
    implements Extension
    Portable extension to allow construction of a Jandex index (to pass to SmallRye OpenAPI) from CDI if no META-INF/jandex.idx file exists on the class path.
    • Constructor Detail

      • OpenApiCdiExtension

        public OpenApiCdiExtension()
                            throws IOException
        Creates a new instance of the index builder.
        IOException - in case of error checking for the Jandex index files
    • Method Detail

      • indexView

        public org.jboss.jandex.IndexView indexView()
        Reports an IndexView for the Jandex index that describes annotated classes for endpoints.
        IndexView describing discovered classes