Skip to main content

export_json_schema

Function export_json_schema 

Source
pub fn export_json_schema<T: Configuration>() -> Value
Expand description

Return a JSON schema for the given configuration structure.

ยงPanics

Panics if the generated schema does not match the meta-schema. This can happen only if schemars::JsonSchema was implemented incorrectly for a type.