-
Notifications
You must be signed in to change notification settings - Fork 0
feat: イベント作成・更新エンドポイントの実装 #238
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
base: master
Are you sure you want to change the base?
Changes from all commits
923fa58
272db3c
75a152c
d638eff
4edf67e
3cba0f2
ca05894
438c38c
43bdbd2
e0d19b6
7813636
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,7 @@ | |
|
|
||
| ```sh | ||
| make build | ||
| # ubuntuの場合はsudo権限が必要 | ||
| ``` | ||
|
|
||
| ## 実行 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| required: | ||
| - name | ||
| - description | ||
| - calendar_view | ||
| properties: | ||
| name: | ||
| type: string | ||
| x-oapi-codegen-extra-tags: | ||
| validate: required | ||
| ja: イベント名 | ||
| description: | ||
| type: string | ||
| x-oapi-codegen-extra-tags: | ||
| validate: required | ||
| ja: 説明 | ||
| calendar_view: | ||
| type: boolean | ||
| x-oapi-codegen-extra-tags: | ||
| validate: required | ||
| ja: カレンダー表示 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| type: object | ||
| required: | ||
| - event_id | ||
newt239 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - name | ||
| - description | ||
| - calendar_view | ||
| properties: | ||
| event_id: | ||
| type: string | ||
| format: uuid | ||
| x-oapi-codegen-extra-tags: | ||
| ja: イベントID | ||
| name: | ||
| type: string | ||
| x-oapi-codegen-extra-tags: | ||
| ja: イベント名 | ||
| description: | ||
| type: string | ||
| x-oapi-codegen-extra-tags: | ||
| ja: 説明 | ||
| calendar_view: | ||
| type: boolean | ||
| x-oapi-codegen-extra-tags: | ||
| ja: カレンダー表示 | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. このファイルは必要なさそうに見えます。api直下にあるのは不自然なファイルなので、削除してもらえると |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| package api | ||
|
|
||
| type ReqPostEvent struct { | ||
| Name string `json:"name"` | ||
| Description string `json:"description"` | ||
| StartDate string `json:"start_date"` | ||
| EndDate string `json:"end_date"` | ||
| Tags []string `json:"tags"` | ||
| FinishDate string `json:"finish_date"` | ||
| } | ||
|
|
||
| type ResPostEvent struct { | ||
| EventID string `json:"event_id"` | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good!