From 1404b3def6f22123c5a6fc9ffd74fbed5adf10fa Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 6 Nov 2026 17:03:52 +0000 Subject: [PATCH] Raise orderBookOrders limit max to 500 Co-Authored-By: Hasan Bal --- lighter/api/order_api.py | 6 +++--- openapi.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lighter/api/order_api.py b/lighter/api/order_api.py index ef51c3f..795efe6 100644 --- a/lighter/api/order_api.py +++ b/lighter/api/order_api.py @@ -3101,7 +3101,7 @@ def _order_book_details_serialize( async def order_book_orders( self, market_id: StrictInt, - limit: Annotated[int, Field(le=250, strict=True, ge=1)], + limit: Annotated[int, Field(le=500, strict=True, ge=1)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3172,7 +3172,7 @@ async def order_book_orders( async def order_book_orders_with_http_info( self, market_id: StrictInt, - limit: Annotated[int, Field(le=250, strict=True, ge=1)], + limit: Annotated[int, Field(le=500, strict=True, ge=1)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3243,7 +3243,7 @@ async def order_book_orders_with_http_info( async def order_book_orders_without_preload_content( self, market_id: StrictInt, - limit: Annotated[int, Field(le=250, strict=True, ge=1)], + limit: Annotated[int, Field(le=500, strict=True, ge=1)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], diff --git a/openapi.json b/openapi.json index 74746ea..0a93873 100644 --- a/openapi.json +++ b/openapi.json @@ -1793,7 +1793,7 @@ "type": "integer", "format": "int64", "minimum": 1, - "maximum": 250 + "maximum": 500 } } ],