Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

申請回答のitemsが配列になっていなかったのを修正 #239

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions schema/form-answer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ schemas:
format: uuid
type:
$ref: "./form.yml#/schemas/FormItemType"
value: { }
value: {}
required:
- item_id
- type
Expand Down Expand Up @@ -296,7 +296,9 @@ schemas:
form_title:
type: string
items:
$ref: "#/schemas/FormAnswerItem"
type: array
items:
$ref: "#/schemas/FormAnswerItem"
created_at:
type: string
format: date-time
Expand All @@ -322,15 +324,19 @@ schemas:
type: string
format: uuid
items:
$ref: "#/schemas/FormAnswerItem"
type: array
items:
$ref: "#/schemas/FormAnswerItem"
required:
- form_id
- items
UpdateFormAnswer:
type: object
properties:
items:
$ref: "#/schemas/FormAnswerItem"
type: array
items:
$ref: "#/schemas/FormAnswerItem"
required:
- items
CreatedFormAnswer:
Expand All @@ -340,4 +346,4 @@ schemas:
type: string
format: uuid
required:
- id
- id