octri_push_spec
Upload OpenAPI spec text in JSON or YAML as a project's current spec and return the created spec ID. Use it to set or update the active API spec via @octri/cli.
Instructions
Upload OpenAPI spec text (JSON or YAML) as the project's new current spec. Returns the created spec id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Raw spec text. | |
| project_id | No | Project id. Optional, falls back to the CLI's selected project. |