ToolHub
中文
Light
GitHub
返回首页
/
开发编程
/
API 契约测试生成器
加载中...
复制
Postman
{"openapi":"3.0.0","info":{"title":"Demo API","version":"1.0.0"},"paths":{"/users":{"get":{"operationId":"listUsers","responses":{"200":{"description":"OK"}}}}}}
# API 契约测试 接口数量:1 ## GET /users ```bash curl -X GET "$BASE_URL/users" -H "accept: application/json" ``` ```ts await fetch(`${BASE_URL}/users`, { method: 'GET' }); ```
AI 增强
选择模型
生成建议
复制