public interface AnnotationScannerExtension
DefaultAnnotationScannerExtension.DefaultAnnotationScannerExtension| Modifier and Type | Method and Description |
|---|---|
JandexUtil.JaxRsParameterInfo |
getMethodParameterJaxRsInfo(org.jboss.jandex.MethodInfo method,
int idx)
Returns jax-rs info about the parameter at the given index.
|
org.eclipse.microprofile.openapi.models.parameters.Parameter.In |
parameterIn(org.jboss.jandex.MethodParameterInfo paramInfo)
Determines where an @Parameter can be found (examples include Query,
Path, Header, Cookie, etc).
|
void |
processJaxRsApplications(OpenApiAnnotationScanner scanner,
Collection<org.jboss.jandex.ClassInfo> applications)
Gives a chance to extensions to process the set of jax-rs application classes.
|
org.jboss.jandex.Type |
resolveAsyncType(org.jboss.jandex.Type type)
Unwraps an asynchronous type such as
CompletionStage<X> into its resolved type
X |
org.eclipse.microprofile.openapi.models.parameters.Parameter.In parameterIn(org.jboss.jandex.MethodParameterInfo paramInfo)
paramInfo - JandexUtil.JaxRsParameterInfo getMethodParameterJaxRsInfo(org.jboss.jandex.MethodInfo method, int idx)
JandexUtil.JaxRsParameterInfo object
with the name and type of the param.method - MethodInfoidx - index of parameterorg.jboss.jandex.Type resolveAsyncType(org.jboss.jandex.Type type)
CompletionStage<X> into its resolved type
Xtype - the type to unwrap if it is a supported async typevoid processJaxRsApplications(OpenApiAnnotationScanner scanner, Collection<org.jboss.jandex.ClassInfo> applications)
scanner - the scanner used for application scanningapplications - the set of jax-rs application classesCopyright © 2019. All rights reserved.