Fixed some bugs

* Fixed bug with sync
* Made default list of game randomized
* Added get all games ordered
* Added air for live reload
This commit is contained in:
2022-04-23 11:40:54 +02:00
parent f9d6c24a97
commit 58ff8a64cc
7 changed files with 76 additions and 8 deletions

View File

@@ -182,6 +182,25 @@ paths:
example: ["God of War", "Final Fantasy VII"]
"500":
description: "Something went wrong on the server"
/music/all/order:
get:
tags:
- "Music"
summary: "Gets all games in order"
description: "Gets a ordered list of all games that is in the database"
operationId: "getAll"
responses:
"200":
description: "A list"
content:
application/json:
schema:
type: array
items:
type: string
example: [ "God of War", "Final Fantasy VII" ]
"500":
description: "Something went wrong on the server"
/music/all/random:
get:
tags: