29 lines
630 B
YAML
29 lines
630 B
YAML
basePath: /api
|
|
info:
|
|
contact: {}
|
|
description: This is a sample server Petstore server.
|
|
license: {}
|
|
termsOfService: http://swagger.io/terms/
|
|
title: GameDemo API
|
|
version: "1.0"
|
|
paths:
|
|
/v1/games:
|
|
get:
|
|
consumes:
|
|
- application/json
|
|
parameters:
|
|
- description: auth by /auth
|
|
in: header
|
|
name: Authorization
|
|
required: true
|
|
type: string
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"200":
|
|
description: '{"code" : 200, "data" : {}, msg: "ok"}'
|
|
schema:
|
|
type: string
|
|
summary: 获取多个游戏
|
|
swagger: "2.0"
|