diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-01 21:07:37 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-01 21:07:37 +0900 |
| commit | 5e6775c9c1efbbd3b08363ffda421a5996dc7143 (patch) | |
| tree | 7f23d867ffc0548c129e8a52bbb6c52b13f37584 /openapi.yaml | |
| parent | 0ad7b9e54615eedfffa41709900d8e86814d2471 (diff) | |
| download | phperkaigi-2025-albatross-5e6775c9c1efbbd3b08363ffda421a5996dc7143.tar.gz phperkaigi-2025-albatross-5e6775c9c1efbbd3b08363ffda421a5996dc7143.tar.zst phperkaigi-2025-albatross-5e6775c9c1efbbd3b08363ffda421a5996dc7143.zip | |
refactor: specify `operationId` in OpenAPI spec
Diffstat (limited to 'openapi.yaml')
| -rw-r--r-- | openapi.yaml | 8 |
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 |
