updateSpecFile
Update an API specification file by providing its ID and file path. Modify content, name, or type one property at a time, with a maximum file size of 10MB.
Instructions
Updates an API spec's file. Only pass one property at a time (content, name, or type). Max size 10MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | Spec ID | |
| filePath | Yes | Path to the file | |
| content | No | Stringified contents | |
| name | No | File name | |
| type | No | ROOT (entry point) or DEFAULT (referenced file) |