Skip to content

Commit

Permalink
[AGORA-1930]πŸ’»πŸ€βœ¨ OAS fixups (#239)
Browse files Browse the repository at this point in the history
* πŸ’»πŸ€βœ¨ OAS fixups
  • Loading branch information
Flip-Liquid authored Apr 19, 2024
1 parent c205340 commit e8b5b18
Showing 1 changed file with 29 additions and 10 deletions.
39 changes: 29 additions & 10 deletions spec/oas_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ paths:
properties:
metadata:
$ref: '#/components/schemas/PageMetadata'
delegates:
votes:
type: array
items:
$ref: '#/components/schemas/Vote'
Expand Down Expand Up @@ -1200,7 +1200,7 @@ paths:
properties:
metadata:
$ref: '#/components/schemas/PageMetadata'
delegates:
votes:
type: array
items:
$ref: '#/components/schemas/Vote'
Expand Down Expand Up @@ -1240,7 +1240,14 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Delegation'
type: object
properties:
metadata:
$ref: '#/components/schemas/PageMetadata'
votes:
type: array
items:
$ref: '#/components/schemas/Delegation'
'400':
description: Bad Request
'401':
Expand Down Expand Up @@ -1279,7 +1286,14 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Delegation'
type: object
properties:
metadata:
$ref: '#/components/schemas/PageMetadata'
votes:
type: array
items:
$ref: '#/components/schemas/Delegation'
'400':
description: Bad Request
'401':
Expand Down Expand Up @@ -1321,7 +1335,7 @@ paths:
properties:
metadata:
$ref: '#/components/schemas/PageMetadata'
delegates:
votes:
type: array
items:
$ref: '#/components/schemas/Vote'
Expand Down Expand Up @@ -1394,7 +1408,7 @@ paths:
properties:
metadata:
$ref: '#/components/schemas/PageMetadata'
delegates:
proposalTypes:
type: array
items:
$ref: '#/components/schemas/ProposalTemplate'
Expand Down Expand Up @@ -1428,7 +1442,7 @@ paths:
properties:
metadata:
$ref: '#/components/schemas/PageMetadata'
delegates:
projects:
type: array
items:
$ref: '#/components/schemas/Project'
Expand Down Expand Up @@ -1559,7 +1573,7 @@ paths:
properties:
metadata:
$ref: '#/components/schemas/PageMetadata'
delegates:
ballots:
type: array
items:
$ref: '#/components/schemas/RetroFundingBallot'
Expand Down Expand Up @@ -1647,7 +1661,7 @@ paths:
properties:
metadata:
$ref: '#/components/schemas/PageMetadata'
delegates:
projects:
type: array
items:
$ref: '#/components/schemas/Project'
Expand Down Expand Up @@ -1833,7 +1847,12 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Comment'
type: object
properties:
comments:
type: array
items:
$ref: '#/components/schemas/Comment'
'400':
description: Bad Request
'401':
Expand Down

0 comments on commit e8b5b18

Please sign in to comment.