public class SchemaFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.microprofile.openapi.models.media.Schema |
readClassSchema(org.jboss.jandex.IndexView index,
org.jboss.jandex.Type type,
boolean schemaReferenceSupported)
Introspect into the given Class to generate a Schema model.
|
static org.eclipse.microprofile.openapi.models.media.Schema |
readSchema(org.jboss.jandex.IndexView index,
org.jboss.jandex.AnnotationInstance annotation)
Reads a Schema annotation into a model.
|
static org.eclipse.microprofile.openapi.models.media.Schema |
readSchema(org.jboss.jandex.IndexView index,
org.jboss.jandex.AnnotationValue value)
Reads a Schema annotation into a model.
|
static org.eclipse.microprofile.openapi.models.media.Schema |
readSchema(org.jboss.jandex.IndexView index,
org.eclipse.microprofile.openapi.models.media.Schema schema,
org.jboss.jandex.AnnotationInstance annotation,
Map<String,Object> overrides) |
static org.eclipse.microprofile.openapi.models.media.Schema |
typeToSchema(org.jboss.jandex.IndexView index,
org.jboss.jandex.Type type,
List<AnnotationScannerExtension> extensions)
Converts a jandex type to a
Schema model. |
public static org.eclipse.microprofile.openapi.models.media.Schema readSchema(org.jboss.jandex.IndexView index,
org.jboss.jandex.AnnotationValue value)
index - value - public static org.eclipse.microprofile.openapi.models.media.Schema readSchema(org.jboss.jandex.IndexView index,
org.jboss.jandex.AnnotationInstance annotation)
index - annotation - public static org.eclipse.microprofile.openapi.models.media.Schema readSchema(org.jboss.jandex.IndexView index,
org.eclipse.microprofile.openapi.models.media.Schema schema,
org.jboss.jandex.AnnotationInstance annotation,
Map<String,Object> overrides)
public static org.eclipse.microprofile.openapi.models.media.Schema readClassSchema(org.jboss.jandex.IndexView index,
org.jboss.jandex.Type type,
boolean schemaReferenceSupported)
index - the index of classes being scannedtype - the implementation type of the item to scanschemaReferenceSupported - public static org.eclipse.microprofile.openapi.models.media.Schema typeToSchema(org.jboss.jandex.IndexView index,
org.jboss.jandex.Type type,
List<AnnotationScannerExtension> extensions)
Schema model.index - the index of classes being scannedtype - the implementation type of the item to scanextensions - Copyright © 2018–2019. All rights reserved.