Skip to content

Commit

Permalink
Merge pull request #30 from youngeek-0410/fix/swagger-start-the-room
Browse files Browse the repository at this point in the history
Swagger の `/room/{room_id}/start` を変更
  • Loading branch information
GoRuGoo authored Dec 18, 2023
2 parents 3a620c4 + 9f18021 commit 0b73d27
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/hacku-2023-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ paths:
description: Room not found

/room/{room_id}/start:
get:
post:
summary: Start the room and distribute roles
parameters:
- name: room_id
Expand All @@ -125,6 +125,16 @@ paths:
description: Unique identifier of the room
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
user_id:
type: string
example: 0DF553D94DF68P
responses:
"200":
description: user information including user id, role, and candle
Expand Down

0 comments on commit 0b73d27

Please sign in to comment.