Package io.helidon.microprofile.openapi
Class OpenApiCdiExtension
java.lang.Object
io.helidon.microprofile.openapi.OpenApiCdiExtension
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.jandex.IndexView
Reports anIndexView
for the Jandex index that describes annotated classes for endpoints.
-
Constructor Details
-
OpenApiCdiExtension
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 anIndexView
for the Jandex index that describes annotated classes for endpoints.- Returns:
IndexView
describing discovered classes
-