Skip to main content

Module render

Module render 

Source
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 a serde_json::Value.
openapi
Thin OpenAPI 3.1 adaptor over super::json_schema.
walker
Dynamic walker skeleton operating over (SchemaGraph, SchemaType, SchemaValue).