79 lines
No EOL
1.9 KiB
YAML
79 lines
No EOL
1.9 KiB
YAML
components:
|
|
responses:
|
|
userResponse:
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: "#/components/schemas/userView"
|
|
errorResponse:
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
code:
|
|
type: integer
|
|
message:
|
|
type: string
|
|
required: [code, message]
|
|
gameListResponse:
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: array
|
|
items:
|
|
$ref: "#/components/schemas/gameView"
|
|
gameResponse:
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: "#/components/schemas/gameView"
|
|
gameAdminResponse:
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: "#/components/schemas/gameEdit"
|
|
taskResponse:
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: "#/components/schemas/taskView"
|
|
uploadResponse:
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
uuid:
|
|
type: string
|
|
format: uuid
|
|
required:
|
|
- uuid
|
|
filesListResponse:
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: array
|
|
items:
|
|
$ref: "#/components/schemas/fileItem"
|
|
usersListResponse:
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: array
|
|
items:
|
|
$ref: "#/components/schemas/userShortView"
|
|
userShortResponse:
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
$ref: "#/components/schemas/userShortView" |