Skip to content

Commit

Permalink
Revert routes change for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ddugovic committed Jul 13, 2024
1 parent d31cb81 commit 50fb63c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ GET /player controllers.User.list
GET /player/top/:nb/:perfKey controllers.User.topNb(nb: Int, perfKey: String)
GET /player/top/week controllers.User.topWeek
GET /player/online controllers.User.online
GET /api/player/autocomplete controllers.User.autocomplete
GET /player/autocomplete controllers.User.autocomplete

GET /dasher controllers.Dasher.get

Expand Down
4 changes: 2 additions & 2 deletions public/doc/lishogi-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2364,9 +2364,9 @@ paths:
schema:
$ref: '#/components/schemas/Crosstable'

/api/player/autocomplete:
/player/autocomplete:
get:
operationId: apiPlayerAutocomplete
operationId: playerAutocomplete
summary: Autocomplete usernames
description: |
Provides autocompletion options for an incomplete username.
Expand Down

0 comments on commit 50fb63c

Please sign in to comment.