get_api_endpoint_info
Retrieves API endpoint definitions from Apifox projects, providing OpenAPI 3.1 compliant specifications including request methods, parameters, headers, and response schemas for development and code generation.
Instructions
获取apifox的接口定义信息,数据符合OpenAPI 3.1规范。遇到例如:https://app.apifox.com/link/project/{projectId}/apis/api-{endpointId}的链接,请解析出projectId和endpointId,并调用本工具获取接口定义信息。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endpointId | Yes | 接口Endpoint的ID | |
projectId | Yes | Apifox的项目ID |
Input Schema (JSON Schema)
{
"properties": {
"endpointId": {
"description": "接口Endpoint的ID",
"type": "number"
},
"projectId": {
"description": "Apifox的项目ID",
"type": "number"
}
},
"required": [
"projectId",
"endpointId"
],
"type": "object"
}