aboutsummaryrefslogtreecommitdiffhomepage
path: root/openapi.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'openapi.yaml')
-rw-r--r--openapi.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/openapi.yaml b/openapi.yaml
index a19a673..fe1e4fa 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -5,6 +5,7 @@ info:
paths:
/login:
post:
+ operationId: postLogin
summary: User login
requestBody:
required: true
@@ -49,6 +50,7 @@ paths:
- message
/token:
get:
+ operationId: getToken
summary: Get a short-lived access token
parameters:
- in: header
@@ -83,6 +85,7 @@ paths:
- message
/games:
get:
+ operationId: getGames
summary: List games
parameters:
- in: query
@@ -135,6 +138,7 @@ paths:
- message
/games/{game_id}:
get:
+ operationId: getGame
summary: Get a game
parameters:
- in: path
@@ -197,6 +201,7 @@ paths:
- message
/admin/users:
get:
+ operationId: adminGetUsers
summary: List all users
parameters:
- in: header
@@ -244,6 +249,7 @@ paths:
- message
/admin/games:
get:
+ operationId: adminGetGames
summary: List games
parameters:
- in: header
@@ -291,6 +297,7 @@ paths:
- message
/admin/games/{game_id}:
get:
+ operationId: adminGetGame
summary: Get a game
parameters:
- in: path
@@ -352,6 +359,7 @@ paths:
required:
- message
put:
+ operationId: adminPutGame
summary: Update a game
parameters:
- in: path