Skip to content

Commit

Permalink
Merge pull request #154 from sohosai/feature/fix-schema
Browse files Browse the repository at this point in the history
スキーマの修正
  • Loading branch information
arata-nvm authored Apr 7, 2024
2 parents e9ab10b + bb90996 commit c133d11
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions schema/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ tags:
description: 実委人のみが利用可能

paths:
/health:
get:
summary: サーバーの状態を確認する
responses:
200:
description: OK

/projects:
$ref: "./project.yml#/paths/~1projects"
/projects/export:
Expand Down
4 changes: 2 additions & 2 deletions schema/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ schemas:
example: そぽたん焼き
category:
$ref: "#/components/ProjectCategory"
attribute:
attributes:
type: array
items:
$ref: "#/components/ProjectAttribute"
Expand All @@ -314,7 +314,7 @@ schemas:
- index
- title
- category
- attribute
- attributes
- owner_id
- owner_name
- owner_email
Expand Down

0 comments on commit c133d11

Please sign in to comment.