Skip to content

Commit

Permalink
chore: remove payment requires status code
Browse files Browse the repository at this point in the history
  • Loading branch information
Phfollert committed Apr 24, 2024
1 parent 70c017b commit ef7425f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
7 changes: 3 additions & 4 deletions topsort-api-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Auction'
401:
$ref: '#/components/responses/UnauthorizedError'
400:
$ref: '#/components/responses/BadRequest'
402:
$ref: '#/components/responses/PaymentRequired'
401:
$ref: '#/components/responses/UnauthorizedError'


/events:
post:
Expand Down
6 changes: 2 additions & 4 deletions topsort-api-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,10 @@ paths:
error: false
- winners: []
error: false
401:
$ref: '#/components/responses/UnauthorizedError'
400:
$ref: '#/components/responses/BadRequest'
402:
$ref: '#/components/responses/PaymentRequired'
401:
$ref: '#/components/responses/UnauthorizedError'
/events:
post:
tags:
Expand Down

0 comments on commit ef7425f

Please sign in to comment.