pub fn section(key: &str, schema: Value, secrets: &[&str]) -> ValueAvailable on crate feature
schema only.Expand description
Wraps one struct’s schema as the section it occupies in a file.
secrets are the field names to mark writeOnly, which is JSON Schema’s
way of saying this value is not for reading back — editors stop echoing
them in completions and hovers.
Called by the generated schema(); public because the macro-free API is
public too.