Expand description
JSON Schema generator and settings.
This module is useful if you want more control over how the schema generated than the schema_for!
macro gives you.
There are two main types in this module:two main types in this module:
SchemaSettings
, which defines what JSON Schema features should be used when generating schemas (for example, howOption
s should be represented).SchemaGenerator
, which manages the generation of a schema document.
Structs§
- The main type used to generate JSON Schemas.
- Settings to customize how Schemas are generated.
Traits§
- A Visitor which implements additional traits required to be included in a SchemaSettings.