ToolHub
中文
Light
GitHub
返回首页
/
开发编程
/
OpenAPI / Swagger 预览器
加载中...
OpenAPI / Swagger
加载示例
openapi: 3.1.0 info: title: Demo API version: 1.0.0 paths: /users: get: summary: List users responses: "200": description: ok content: application/json: schema: $ref: "#/components/schemas/User" components: schemas: User: type: object required: [id, name] properties: id: { type: integer } name: { type: string } active: { type: boolean }
概览
Demo API
Version: 1.0.0
Paths: 1
Schemas: 1
接口列表
GET
/users
List users
Mock Response
{ "id": 1, "name": "string", "active": true }