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