From 8a98e06892b21e9b6d092ac9f3025c2413d73da1 Mon Sep 17 00:00:00 2001 From: nicholaspai Date: Mon, 9 Sep 2024 20:13:56 +0200 Subject: [PATCH 1/2] fix(open-api): Fix limits ref --- api-docs-openapi.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/api-docs-openapi.yaml b/api-docs-openapi.yaml index b7d45c076..52a5476bd 100644 --- a/api-docs-openapi.yaml +++ b/api-docs-openapi.yaml @@ -169,13 +169,12 @@ paths: "quoteBlock": "19237525", "spokePoolAddress": "0xe35e9842fceaCA96570B734083f4a58e8F7C5f2A", "expectedFillTimeSec": "4", - "limits": - { + "limits": { "minDeposit": "7799819", "maxDeposit": "22287428516241", "maxDepositInstant": "201958902363", "maxDepositShortDelay": "2045367713809", - "recommendedDepositInstant": "201958902363", + "recommendedDepositInstant": "201958902363" } } "400": @@ -531,10 +530,6 @@ components: description: > The expected time (in seconds) for a fill to be made. Represents 75th percentile of the 7-day rolling average of times (updated daily). Times are dynamic by origin/destination token/chain for a given amount. example: "4" - limits: - type: object - properties: - $ref: '#/components/schemas/TransferLimits' TransferLimits: type: object properties: From 85b73a838da87ac2bd06ec3a41dd1d3912e8e558 Mon Sep 17 00:00:00 2001 From: nicholaspai Date: Wed, 11 Sep 2024 15:56:45 +0200 Subject: [PATCH 2/2] Update api-docs-openapi.yaml --- api-docs-openapi.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api-docs-openapi.yaml b/api-docs-openapi.yaml index 52a5476bd..a22d1992e 100644 --- a/api-docs-openapi.yaml +++ b/api-docs-openapi.yaml @@ -530,6 +530,8 @@ components: description: > The expected time (in seconds) for a fill to be made. Represents 75th percentile of the 7-day rolling average of times (updated daily). Times are dynamic by origin/destination token/chain for a given amount. example: "4" + limits: + $ref: '#/components/schemas/TransferLimits' TransferLimits: type: object properties: