Skip to content

Commit 803bb94

Browse files
committed
fix: register FetchOrderBookParams in OpenAPI TYPE_REF_MAP
The generator needs the type in TYPE_REF_MAP to enumerate its properties as query parameters. Without this, since/until/side were silently dropped from the generated docs.
1 parent 5841fb3 commit 803bb94

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [2.43.3] - 2026-05-22
6+
7+
### Fixed
8+
9+
- **Docs**: Register `FetchOrderBookParams` in `TYPE_REF_MAP` so the OpenAPI generator emits `side`, `since`, `until` as query parameters on the fetchOrderBook endpoint.
10+
511
## [2.43.2] - 2026-05-22
612

713
### Fixed

core/scripts/generate-openapi.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -937,6 +937,7 @@ const TYPE_REF_MAP = {
937937
MarketFilterParams: 'MarketFilterParams',
938938
EventFetchParams: 'EventFetchParams',
939939
OHLCVParams: 'OHLCVParams',
940+
FetchOrderBookParams: 'FetchOrderBookParams',
940941
HistoryFilterParams: 'HistoryFilterParams',
941942
TradesParams: 'TradesParams',
942943
CreateOrderParams: 'CreateOrderParams',

0 commit comments

Comments
 (0)