Class JsonSchemaClassMeta


Metadata on classes specific to the JSON-Schema serializer and pulled from the @Schema annotation on the class.
See Also:
  • Constructor Details

    • JsonSchemaClassMeta

      Constructor.
      Parameters:
      cm - The class that this annotation is defined on. Must not be null.
      mp - JSON-schema metadata provider (for finding information about other artifacts).
  • Method Details

    • getSchema

      protected JsonMap getSchema()
      Returns the @Schema annotation defined on the class.
      Returns:
      The value of the annotation as a generic map. Never null - returns an empty map if not specified.