Skip to content

Commit

Permalink
🩹 TeamでGitHubを設定・取得できるようにする (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikura-hamu authored Jan 3, 2025
1 parent 64cd55a commit 7868596
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion openapi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ paths:
patch:
tags: ["teams"]
summary: "チーム情報更新"
description: "チーム情報やメンバーを更新します"
description: |
チーム情報やメンバー、GitHub IDを更新します、指定されたフィールドのみを変更します。
operationId: "patchTeam"
security:
- TeamAuth: []
Expand Down Expand Up @@ -741,6 +742,12 @@ components:
type: "array"
items:
$ref: "#/components/schemas/UserId"
githubIds:
description: "チームに所属させる部員のGitHub ID"
maxItems: 3
type: "array"
items:
$ref: "#/components/schemas/GitHubId"

NewBenchmark:
content:
Expand Down Expand Up @@ -886,6 +893,10 @@ components:
type: "string"
example: "team1"
description: "チーム名"
GitHubId:
type: "string"
example: "ikura-hamu"
description: "GitHubのID"
Team:
type: "object"
description: "チーム"
Expand All @@ -900,6 +911,12 @@ components:
type: "array"
items:
$ref: "#/components/schemas/UserId"
githubIds:
description: "チームに所属している部員のGitHub ID"
maxItems: 3
type: "array"
items:
$ref: "#/components/schemas/GitHubId"
createdAt:
type: "string"
format: "date-time"
Expand Down

0 comments on commit 7868596

Please sign in to comment.