Delimit Zero Spec
delimit_zero_specExtract an OpenAPI specification directly from framework source code when no spec file exists. Enable linting and diffing by generating the spec from FastAPI routes instead of requiring a checked-in file.
Instructions
Extract OpenAPI spec from framework source code (no spec file needed).
When to use: when a project has no checked-in OpenAPI spec but uses a framework Delimit can introspect (FastAPI today; Express, NestJS planned). When NOT to use: when a spec file already exists — pass it directly to delimit_lint or delimit_diff.
Sibling contrast: delimit_lint operates on existing spec files; this generates one from source.
Side effects: read-only on the project source. Calls backends.gateway_core.run_zero_spec which may invoke a Python subprocess to introspect FastAPI routes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| python_bin | No | Optional Python binary path. Empty = auto-detect. | |
| project_dir | No | Project root directory. Default "." (cwd). | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||