From 7d84aac05baf977196e33862940f4a4ffd22cbfd Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Fri, 26 Jul 2024 11:30:36 +0200 Subject: [PATCH] yaml syntax --- doc/specs/tags/games/api-games-user-username.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/specs/tags/games/api-games-user-username.yaml b/doc/specs/tags/games/api-games-user-username.yaml index f554ac7..e832417 100644 --- a/doc/specs/tags/games/api-games-user-username.yaml +++ b/doc/specs/tags/games/api-games-user-username.yaml @@ -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 @@ -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: @@ -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"