public class OpenApiAnnotationScanner extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
OpenApiAnnotationScanner.GeneratedSchemaInfo
Information about a single generated schema.
|
protected static class |
OpenApiAnnotationScanner.SchemaRegistry
A simple registry used to track schemas that have been generated and inserted
into the #/components section of the
|
| Constructor and Description |
|---|
OpenApiAnnotationScanner(OpenApiConfig config,
org.jboss.shrinkwrap.api.Archive archive)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected static org.jboss.jandex.IndexView |
archiveToIndex(OpenApiConfig config,
org.jboss.shrinkwrap.api.Archive archive)
Index the archive to produce a jandex index.
|
protected static String |
makePath(String... segments)
Make a path out of a number of path segments.
|
protected void |
processDefinition(OpenAPIImpl openApi,
org.jboss.jandex.AnnotationInstance definitionAnno)
Reads a OpenAPIDefinition annotation.
|
OpenAPIImpl |
scan()
Scan the deployment for relevant annotations.
|
public OpenApiAnnotationScanner(OpenApiConfig config, org.jboss.shrinkwrap.api.Archive archive)
config - archive - protected static org.jboss.jandex.IndexView archiveToIndex(OpenApiConfig config, org.jboss.shrinkwrap.api.Archive archive)
config - archive - public OpenAPIImpl scan()
protected static String makePath(String... segments)
segments - protected void processDefinition(OpenAPIImpl openApi, org.jboss.jandex.AnnotationInstance definitionAnno)
openApi - definitionAnno - Copyright © 2018 JBoss by Red Hat. All rights reserved.