From 6dd11a14843619d7d7d44955d18d491bf3ff198f Mon Sep 17 00:00:00 2001 From: 0X-SquidSol Date: Thu, 9 Apr 2026 11:58:49 -0400 Subject: [PATCH] =?UTF-8?q?docs:=20fix=20funding=20history=20limit=20?= =?UTF-8?q?=E2=80=94=20spec=20said=201000,=20code=20caps=20at=20500?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The /funding/{slab}/history endpoint caps results at 500 rows (funding.ts:346, PERC-8178) but the OpenAPI spec documented max 1000. Clients requesting limit=800 would silently receive at most 500 results. Aligns the spec with the actual implementation. Co-Authored-By: Claude Opus 4.6 (1M context) --- openapi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 9fc22e8..6f0e974 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -468,11 +468,11 @@ paths: - $ref: '#/components/parameters/SlabAddress' - name: limit in: query - description: Maximum number of records to return (max 1000) + description: Maximum number of records to return (max 500) schema: type: integer default: 100 - maximum: 1000 + maximum: 500 - name: since in: query description: ISO timestamp to fetch records from