获取接口详情
get-api-detailFetch API endpoint details by method and path: parameters, request body, response structure, with $ref references resolved and cycles marked. Quickly inspect the full interface contract.
Instructions
按 method + path 返回接口完整详情:参数、请求体、响应结构,所有 $ref 引用(数据模型)已递归展开,循环引用会标记为 $ref-cycle。参数:source 同上;method HTTP 方法(如 GET/POST);path 接口路径,需与文档完全一致(可先用 search-apis 查询)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 接口路径,需与文档完全一致(可先用 search-apis 查询) | |
| method | Yes | HTTP 方法,如 GET/POST | |
| source | No | Swagger/OpenAPI 文档的 URL(http/https)或本地文件路径(.json/.yaml/.yml);不传时使用服务端配置的默认文档 |