Skip to content

Commit

Permalink
Merge pull request #125 from GiganticMinecraft/addAnswerId
Browse files Browse the repository at this point in the history
commentのpropertyにanswer_idを追加
  • Loading branch information
rito528 authored Dec 14, 2023
2 parents 2834986 + 1b39e70 commit 15b96f8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions schema/types/forms/components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ components:
minItems: 1
items:
$ref: "#/components/schemas/question"
answer_id:
description: 回答のID
type: integer
minimum: 0
example: 0
answer:
description: 質問に対する回答
type: object
Expand Down Expand Up @@ -200,6 +205,8 @@ components:
readOnly: true
allOf:
- $ref: "#/components/schemas/comment_id"
answer_id:
$ref: "#/components/schemas/answer_id"
content:
$ref: "#/components/schemas/comment_content"
comment_for_edit:
Expand Down

0 comments on commit 15b96f8

Please sign in to comment.