Expand description
Guest-safe canonical schema and value rendering.
Re-exports§
pub use error::RenderError;pub use json_schema::JsonSchemaConfig;pub use json_schema::to_external_input_json_schema;pub use json_schema::to_external_output_json_schema;pub use json_schema::to_json_schema;pub use json_schema::to_json_schema_with_config;pub use json_schema::to_reflection_json_schema;pub use json_value::from_json_value;pub use json_value::from_untrusted_json_value;pub use json_value::to_json_value;pub use json_value::to_json_value_redacted;pub use openapi::to_external_input_openapi_components;pub use openapi::to_external_output_openapi_components;pub use openapi::to_openapi_components;pub use walker::SchemaWalker;pub use walker::WalkerError;pub use walker::resolve_ref;pub use walker::walk;
Modules§
- error
- Shared error type for the renderer family.
- json_
schema - Renderer that produces a JSON Schema document from a
SchemaGraph/SchemaType. - json_
value - JSON value renderer: convert a
(SchemaGraph, SchemaType, SchemaValue)to and from aserde_json::Value. - openapi
- Thin OpenAPI 3.1 adaptor over
super::json_schema. - walker
- Dynamic walker skeleton operating over
(SchemaGraph, SchemaType, SchemaValue).