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

fix: adjust Question schema content #1285

Merged
merged 8 commits into from
Dec 17, 2024
10 changes: 4 additions & 6 deletions docs/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -674,29 +674,27 @@ components:
example: 1
question_id:
type: integer
description: |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logicは別PRなのでOK

質問を追加する場合はnull。
example: 1
created_at:
type: string
format: date-time
example: 2020-01-01T00:00:00+09:00
required:
- questionnaire_id
- question_id
- created_at
QuestionBase:
type: object
properties:
title:
type: string
description:
body:
type: string
is_required:
type: boolean
description: |
回答必須かどうか
required:
- title
- description
- body
- is_required
QuestionSettingsByType:
oneOf:
Expand Down
137 changes: 68 additions & 69 deletions openapi/spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 31 additions & 54 deletions openapi/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading