Skip to content

Commit

Permalink
Updated openapi definition
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrug committed Dec 13, 2024
1 parent df9ca2b commit 50c67ff
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions crates/driver/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/Solution"
$ref: "#/components/schemas/SolutionWithDeadline"
responses:
"200":
description: Execution accepted.
Expand Down Expand Up @@ -526,7 +526,19 @@ components:
gas:
type: integer
Solution:
description: Request to the settle and reveal endpoint.
description: Request to the reveal endpoint.
type: object
properties:
solutionId:
description: Id of the solution that should be executed.
type: integer
example: 123
auctionId:
description: Auction ID in which the specified solution ID is competing.
type: integer
example: 123
SolutionWithDeadline:
description: Request to the settle endpoint.
type: object
properties:
solutionId:
Expand Down

0 comments on commit 50c67ff

Please sign in to comment.