| Package | Description |
|---|---|
| io.smallrye.openapi.runtime.scanner | |
| io.smallrye.openapi.runtime.scanner.dataobject | |
| io.smallrye.openapi.runtime.scanner.spi |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.microprofile.openapi.models.media.Schema |
SchemaRegistry.checkRegistration(org.jboss.jandex.Type type,
TypeResolver resolver,
org.eclipse.microprofile.openapi.models.media.Schema schema)
Check if the entityType is eligible for registration using the
typeResolver.
|
static boolean |
SchemaRegistry.hasSchema(org.jboss.jandex.Type type,
TypeResolver resolver)
Convenience method to check if the current thread's
SchemaRegistry
contains a schema for the given type (which may require type resolution using resolver). |
static org.eclipse.microprofile.openapi.models.media.Schema |
SchemaRegistry.registerReference(org.jboss.jandex.Type type,
TypeResolver resolver,
org.eclipse.microprofile.openapi.models.media.Schema schema)
Attempt to register ONLY a reference to entityType using the typeResolver.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeResolver |
TypeResolver.forClass(org.jboss.jandex.IndexView index,
org.jboss.jandex.ClassInfo clazz,
org.jboss.jandex.Type leaf)
Create a new TypeResolver for the given ClassInfo clazz and type.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,TypeResolver> |
TypeResolver.getAllFields(AnnotationScannerContext context,
org.jboss.jandex.Type leaf,
org.jboss.jandex.ClassInfo leafKlazz,
org.jboss.jandex.AnnotationTarget reference) |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.microprofile.openapi.models.media.Schema |
AnnotationTargetProcessor.process(AnnotationScannerContext context,
DataObjectDeque objectStack,
TypeResolver typeResolver,
DataObjectDeque.PathEntry parentPathEntry) |
static org.eclipse.microprofile.openapi.models.media.Schema |
AnnotationTargetProcessor.process(AnnotationScannerContext context,
DataObjectDeque objectStack,
TypeResolver typeResolver,
DataObjectDeque.PathEntry parentPathEntry,
org.jboss.jandex.Type type) |
| Constructor and Description |
|---|
TypeProcessor(AnnotationScannerContext context,
DataObjectDeque objectStack,
DataObjectDeque.PathEntry parentPathEntry,
TypeResolver typeResolver,
org.jboss.jandex.Type type,
org.eclipse.microprofile.openapi.models.media.Schema schema,
org.jboss.jandex.AnnotationTarget annotationTarget) |
| Modifier and Type | Method and Description |
|---|---|
TypeResolver |
AnnotationScannerContext.getResourceTypeResolver() |
| Modifier and Type | Method and Description |
|---|---|
Deque<TypeResolver> |
AnnotationScannerContext.getResolverStack() |
Copyright © 2018–2021. All rights reserved.