From 50c67ff528b7692868032d7c54cd0d82df60a3b0 Mon Sep 17 00:00:00 2001 From: Michal Strug Date: Fri, 13 Dec 2024 13:50:49 +0100 Subject: [PATCH] Updated openapi definition --- crates/driver/openapi.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/crates/driver/openapi.yml b/crates/driver/openapi.yml index 9b4a6bd812..f30f735d70 100644 --- a/crates/driver/openapi.yml +++ b/crates/driver/openapi.yml @@ -130,7 +130,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Solution" + $ref: "#/components/schemas/SolutionWithDeadline" responses: "200": description: Execution accepted. @@ -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: