Skip to content

Commit

Permalink
Merge pull request #14 from traP-jp/update/openapi
Browse files Browse the repository at this point in the history
Update/openapi
  • Loading branch information
pirosiki197 authored Jun 15, 2024
2 parents dd9d37e + 2149181 commit b338899
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
9 changes: 7 additions & 2 deletions docs/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/GetTraQUsersResponse"

components:
schemas:
PostEventRequest:
Expand Down Expand Up @@ -146,13 +146,17 @@ components:
description: traQ ID
required:
- title
- description
- dateOptions
- targets
PostEventResponse:
type: object
properties:
id:
type: string
format: uuid
required:
- id
GetEventResponse:
type: object
properties:
Expand Down Expand Up @@ -210,12 +214,13 @@ components:
items:
type: object
properties:
userID:
traqID:
type: string
dateOptionIDs:
type: array
items:
type: string
format: uuid
GetTraQGroupsResponse:
type: object
properties:
Expand Down
12 changes: 6 additions & 6 deletions server/api/server.gen.go

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

0 comments on commit b338899

Please sign in to comment.