Skip to content

Commit

Permalink
レスポンス修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Kubosaka committed Dec 26, 2024
1 parent 3621d13 commit 9f46fa0
Showing 1 changed file with 45 additions and 12 deletions.
57 changes: 45 additions & 12 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -637,9 +637,7 @@ paths:
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/divisionDetail"
$ref: "#/components/schemas/divisionDetails"
post:
tags:
- division
Expand Down Expand Up @@ -844,9 +842,7 @@ paths:
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/festivalItemDetail"
$ref: "#/components/schemas/festivalItemDetails"
post:
tags:
- festival_item
Expand Down Expand Up @@ -910,9 +906,7 @@ paths:
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/financialRecordDetail"
$ref: "#/components/schemas/financialRecordDetails"
post:
tags:
- financial_record
Expand Down Expand Up @@ -2045,7 +2039,16 @@ components:
financialRecordID:
type: integer
example: 1
divisionDetail:
divisionDetails:
type: object
properties:
total:
$ref: "#/components/schemas/total"
divisions:
type: array
items:
$ref: "#/components/schemas/divisionWithBalance"
divisionWithBalance:
type: object
properties:
id:
Expand Down Expand Up @@ -2085,7 +2088,16 @@ components:
memo:
type: string
example: ""
festivalItemDetail:
festivalItemDetails:
type: object
properties:
total:
$ref: "#/components/schemas/total"
festivalItems:
type: array
items:
$ref: "#/components/schemas/festivalItemWithBalance"
festivalItemWithBalance:
type: object
properties:
id:
Expand Down Expand Up @@ -2121,7 +2133,16 @@ components:
year_id:
type: integer
example: 1
financialRecordDetail:
financialRecordDetails:
type: object
properties:
total:
$ref: "#/components/schemas/total"
financialRecords:
type: array
items:
$ref: "#/components/schemas/financialRecordWithBalance"
financialRecordWithBalance:
type: object
properties:
id:
Expand Down Expand Up @@ -2234,6 +2255,18 @@ components:
remark:
type: string
example: ""
total:
type: object
properties:
budget:
type: integer
example: 100000
expense:
type: integer
example: 10000
balance:
type: integer
example: 90000
year_periods:
required:
- endedAt
Expand Down

0 comments on commit 9f46fa0

Please sign in to comment.