Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/specs/schemas/ChallengeJson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ properties:
color:
type: string
enum: ['white', 'black', 'random']
finalColor:
type: string
enum: ['white', 'black']
perf:
type: object
properties:
Expand Down
5 changes: 1 addition & 4 deletions doc/specs/tags/challenges/api-challenge-username.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@ post:
content:
application/json:
schema:
type: object
properties:
challenge:
$ref: '../../schemas/ChallengeJson.yaml'
$ref: '../../schemas/ChallengeJson.yaml'
"400":
description: The creation of the challenge failed.
content:
Expand Down