-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 73-create-realtime-pong
- Loading branch information
Showing
35 changed files
with
1,093 additions
and
624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,5 @@ uvicorn==0.30.1 | |
channels==4.1.0 | ||
channels_redis==4.2.0 | ||
websockets==12.0.0 | ||
ruff==0.5.2 | ||
pillow==10.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: ruff | ||
on: push | ||
jobs: | ||
ruff: | ||
name: syntax-check-python | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: chartboost/ruff-action@v1 | ||
with: | ||
args: 'format --check' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ paths: | |
schema: | ||
type: string | ||
description: 認証トークンとリフレッシュトークン | ||
example: JWTTOKEN=jwttoken; JWTREFRESH=refresh-jwttoken Secure; HttpOnly | ||
example: JWTTOKEN=jwttoken; JWTREFRESH=refresh-jwttoken Secure; HttpOnly | ||
content: | ||
"application/json": | ||
schema: | ||
|
@@ -86,6 +86,29 @@ paths: | |
$ref: "#/components/schemas/postTokenVerifyResponse" | ||
"401": | ||
$ref: "#/components/responses/badRequest" | ||
/pong/api/v1/users/{uuid}: | ||
get: | ||
summary: ユーザー情報取得 | ||
description: ユーザー情報取得 | ||
parameters: | ||
- name: uuid | ||
in: path | ||
description: ユーザーのUUID | ||
required: true | ||
schema: | ||
type: string | ||
example: b4cf1ef4-1cab-490b-a32c-f6528f95c796 | ||
responses: | ||
"200": | ||
description: ユーザー情報取得成功 | ||
content: | ||
"application/json": | ||
schema: | ||
$ref: "#/components/schemas/getUserResponse" | ||
"400": | ||
$ref: "#/components/responses/badRequest" | ||
"404": | ||
$ref: "#/components/responses/notFoundError" | ||
components: | ||
responses: | ||
badRequest: | ||
|
@@ -180,6 +203,22 @@ components: | |
type: string | ||
description: ユーザーのUUID | ||
example: b4cf1ef4-1cab-490b-a32c-f6528f95c796 | ||
getUserResponse: | ||
type: object | ||
description: ユーザー情報取得成功 | ||
properties: | ||
uuid: | ||
type: string | ||
description: ユーザーのUUID | ||
example: b4cf1ef4-1cab-490b-a32c-f6528f95c796 | ||
name: | ||
type: string | ||
description: ユーザー名 | ||
example: ユーザー名 | ||
email: | ||
type: string | ||
description: メールアドレス | ||
example: [email protected] | ||
errorMessage: | ||
type: object | ||
properties: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
from django.contrib import admin | ||
|
||
# Register your models here. |
Oops, something went wrong.