pub fn run(schema_path: &str, output: &str) -> Result<()>Expand description
Run the openapi command.
Reads a compiled schema, derives the REST route table, generates an OpenAPI 3.0.3 spec, and writes it to the output path.
ยงErrors
Returns an error if the schema cannot be read, is missing REST configuration, or route derivation fails.