yapi_update_interface
Updates a complete YAPI interface definition, intelligently deciding whether to create a new entry or modify an existing one based on the provided ID and details.
Instructions
更新 YAPI 接口的完整定义(智能判断新增或更新)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 接口 ID | |
| desc | No | 接口描述 | |
| path | Yes | 接口路径 | |
| catid | Yes | 接口分类 ID | |
| title | Yes | 接口标题 | |
| method | Yes | 请求方法 | |
| status | No | 接口状态 |