From 131d1caf1abf93e21ceabfa2c71fc13eae5ea29e Mon Sep 17 00:00:00 2001 From: fritzschoff Date: Wed, 29 May 2024 16:02:26 +0100 Subject: [PATCH] docs: updated api --- src/routes/v3/base/sc-pool-apy-history.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/routes/v3/base/sc-pool-apy-history.js b/src/routes/v3/base/sc-pool-apy-history.js index 2664a45..77069c2 100644 --- a/src/routes/v3/base/sc-pool-apy-history.js +++ b/src/routes/v3/base/sc-pool-apy-history.js @@ -16,17 +16,19 @@ setInterval(fetchDataFromPostgres, cacheTime < 30000 ? 30000 : cacheTime); /** * @openapi - * /v3/Base/sc-pool-apy: + * /v3/Base/sc-pool-apy-history: * get: * tags: * - v3 - * description: Returns current APY for Spartan Council Pool on Base. + * description: Returns historical APY for Spartan Council Pool on Base. * responses: * 200: * description: Successful response. * content: * application/json: - * schema: + * schema: + * type: array + * items: * type: object * properties: * timestamp: