Class OpenApiCdiExtension

java.lang.Object
io.helidon.microprofile.openapi.OpenApiCdiExtension
All Implemented Interfaces:
Extension

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 Details

    • OpenApiCdiExtension

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

    • indexView

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