delimit_zero_spec
Generate an OpenAPI specification from framework source code, bypassing the need for a spec 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 |
|---|---|---|---|
| project_dir | No | Project root directory. Default "." (cwd). | . |
| python_bin | No | Optional Python binary path. Empty = auto-detect. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||