You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use schemars::JsonSchema;use serde::Deserialize;/// # Some Config/// /// This config does some stuff.////// # Example////// ```jsonc/// {/// // use this config setting in a certain way/// "foo": ["bar", "baz"],/// }/// ```#[derive(Debug,Deserialize,Default,JSONSchema)]pubstructConfig{foo:Vec<String>}
When rendered to a JSON schema, the code block in the schema's description field will be stripped, causing invalid JSONC to be rendered. It looks like other markdown in description has its whitespace preserved.
The text was updated successfully, but these errors were encountered:
When rendered to a JSON schema, the code block in the schema's
description
field will be stripped, causing invalid JSONC to be rendered. It looks like other markdown indescription
has its whitespace preserved.The text was updated successfully, but these errors were encountered: