Skip to content

Commit

Permalink
yaml syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jul 26, 2024
1 parent 100fdc9 commit 7d84aac
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions doc/specs/tags/games/api-games-user-username.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ get:
type: boolean
- in: query
name: perfType
description: "[Filter] Only games in these speeds or variants.\n
\nMultiple perf types can be specified, separated by a comma.\n
\nExample: blitz,rapid,classical"
description: |
[Filter] Only games in these speeds or variants.
Multiple perf types can be specified, separated by a comma.
Example: blitz,rapid,classical
schema:
allOf:
- $ref: '../../schemas/PerfType.yaml'
- $ref: "../../schemas/PerfType.yaml"
- default: null
- in: query
name: color
Expand Down Expand Up @@ -126,7 +127,7 @@ get:
default: false
- in: query
name: division
description: |
description: |
Plies which mark the beginning of the middlegame and endgame.
Only available in JSON
schema:
Expand Down Expand Up @@ -187,7 +188,7 @@ get:
content:
application/x-chess-pgn:
schema:
$ref: '../../schemas/GamePgn.yaml'
$ref: "../../schemas/GamePgn.yaml"
application/x-ndjson:
schema:
$ref: '../../schemas/GameJson.yaml'
$ref: "../../schemas/GameJson.yaml"

0 comments on commit 7d84aac

Please sign in to comment.