pub fn run_generate(args: &OpenapiGenerateArgs) -> Result<Value, String>Expand description
Run the openapi generate subcommand logic.
Reads the file, extracts rest: blocks, validates them via lowering,
generates the OpenAPI document, and returns it. Warnings are printed
to stderr by the caller.