From 88c59ca28f10872208f98ea205bbea5f35256b8a Mon Sep 17 00:00:00 2001 From: Trevor Fitzgerald Date: Thu, 28 Nov 2024 10:26:54 -0500 Subject: [PATCH] specify query params for new apiPuzzleNext endpoint --- doc/specs/tags/puzzles/api-puzzle-next.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/specs/tags/puzzles/api-puzzle-next.yaml b/doc/specs/tags/puzzles/api-puzzle-next.yaml index b118acb..a31b95d 100644 --- a/doc/specs/tags/puzzles/api-puzzle-next.yaml +++ b/doc/specs/tags/puzzles/api-puzzle-next.yaml @@ -12,7 +12,7 @@ get: security: - OAuth2: ["puzzle:read"] parameters: - - in: path + - in: query name: angle required: false description: | @@ -21,7 +21,7 @@ get: Available themes are listed in [the lichess source code](https://github.com/lichess-org/lila/blob/master/modules/puzzle/src/main/PuzzleTheme.scala). schema: type: string - - in: path + - in: query name: difficulty required: false description: The desired puzzle difficulty, relative to the authenticated user puzzle rating, or 1500 if anonymous.