Skip to main content

generate_config_schema

Function generate_config_schema 

Source
pub fn generate_config_schema() -> Schema
Expand description

Generate the JSON Schema for the top-level Config struct.

Returns a Schema suitable for serde_json::to_string_pretty. The schema embeds the binary’s CARGO_PKG_VERSION in its title so a single shipped schema artifact carries its provenance.