public class JsonSchemaBeanPropertyMeta extends ExtendedBeanPropertyMeta
@Schema
annotation
on the bean property.Modifier and Type | Field and Description |
---|---|
static JsonSchemaBeanPropertyMeta |
DEFAULT
Default instance.
|
Constructor and Description |
---|
JsonSchemaBeanPropertyMeta(BeanPropertyMeta bpm,
JsonSchemaMetaProvider mp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ObjectMap |
getSchema()
Returns the schema information gathered from all the
@Schema annotations on the bean property. |
getBeanPropertyMeta
public static final JsonSchemaBeanPropertyMeta DEFAULT
public JsonSchemaBeanPropertyMeta(BeanPropertyMeta bpm, JsonSchemaMetaProvider mp)
bpm
- The metadata of the bean property of this additional metadata.mp
- JSON-schema metadata provider (for finding information about other artifacts).Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.