public class JsonSchemaClassMeta extends ExtendedClassMeta
@Schema
annotation on
the class.Constructor and Description |
---|
JsonSchemaClassMeta(ClassMeta<?> cm,
JsonSchemaMetaProvider mp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ObjectMap |
getSchema()
Returns the
@Schema annotation defined on the class. |
getClassMeta, getInnerClass
public JsonSchemaClassMeta(ClassMeta<?> cm, JsonSchemaMetaProvider mp)
cm
- The class that this annotation is defined on.mp
- JSON-schema metadata provider (for finding information about other artifacts).Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.