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.
      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, or null if not specified.