1234567891011121314151617181920212223242526272829 |
- info:
- contact: {}
- description: An example of gin
- license:
- name: MIT
- url: https://github.com/EDDYCJY/go-gin-example/blob/master/LICENSE
- termsOfService: https://github.com/EDDYCJY/go-gin-example
- title: Golang Gin API
- version: "1.0"
- paths:
- /api/v1/getAllVehicles:
- get:
- description: 获取所有车辆信息
- responses:
- "200":
- description: '{ "code": 200, "data": {}, "msg": "ok" }'
- schema:
- type: string
- summary: GetAllVehicles
- /api/v1/index:
- get:
- description: test
- responses:
- "200":
- description: '{ "code": 200, "data": {}, "msg": "ok" }'
- schema:
- type: string
- summary: Hello World
- swagger: "2.0"
|