Package org.apache.juneau.jsonschema
Class JsonSchemaClassMeta
java.lang.Object
org.apache.juneau.ExtendedMeta
org.apache.juneau.ExtendedClassMeta
org.apache.juneau.jsonschema.JsonSchemaClassMeta
Metadata on classes specific to the JSON-Schema serializer and pulled from the
@Schema
annotation on
the class.
See Also:
-
Constructor Summary
ConstructorDescriptionJsonSchemaClassMeta
(ClassMeta<?> cm, JsonSchemaMetaProvider mp) Constructor. -
Method Summary
Methods inherited from class org.apache.juneau.ExtendedClassMeta
getClassMeta, getInnerClass
-
Constructor Details
-
JsonSchemaClassMeta
Constructor.- Parameters:
cm
- The class that this annotation is defined on.mp
- JSON-schema metadata provider (for finding information about other artifacts).
-
-
Method Details
-
getSchema
Returns the@Schema
annotation defined on the class.- Returns:
- The value of the annotation, or
null if not specified.
-