Skip to main content

schema_for

Function schema_for 

Source
pub fn schema_for(command: &str) -> Value
Expand description

The authoritative JSON Schema for a command’s output (rss schema --command <cmd>).

command is "fetch" or "discover". Returns the schema as a JSON value derived from the #[derive(JsonSchema)] model types — this is the source of truth for the contract.