Class JsonSchemaClassMeta
java.lang.Object
org.apache.juneau.marshall.ExtendedMeta
org.apache.juneau.marshall.ExtendedClassMeta
org.apache.juneau.marshall.jsonschema.JsonSchemaClassMeta
Metadata on classes specific to the JSON-Schema serializer and pulled from the
@Schema annotation on
the class.
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJsonSchemaClassMeta(ClassMeta<?> cm, JsonSchemaMetaProvider mp) Constructor. -
Method Summary
Methods inherited from class org.apache.juneau.marshall.ExtendedClassMeta
getBeanInfo, getInnerClass
-
Constructor Details
-
JsonSchemaClassMeta
Constructor.- Parameters:
cm- The class that this annotation is defined on. Must not benull .mp- JSON-schema metadata provider (for finding information about other artifacts).
-
-
Method Details
-
getSchema
Returns the@Schemaannotation defined on the class.- Returns:
- The value of the annotation as a generic map. Never
null - returns an empty map if not specified.
-