Class JsonSchemaSerializer

All Implemented Interfaces:
AnnotationProvider, JsonMetaProvider, JsonSchemaMetaProvider
Direct Known Subclasses:
JsonSchemaSerializer.Readable, JsonSchemaSerializer.Simple, JsonSchemaSerializer.SimpleReadable

Serializes POJO metadata to HTTP responses as JSON-Schema.
Media types
Handles Accept types: application/json+schema, text/json+schema

Produces Content-Type types: application/json

Description
Produces the JSON-schema for the JSON produced by the JsonSerializer class with the same properties.
Notes:
  • This class is thread safe and reusable.
See Also: