Skip to content

update api#155

Merged
lavrric merged 2 commits into
mainfrom
update-api-may
May 21, 2026
Merged

update api#155
lavrric merged 2 commits into
mainfrom
update-api-may

Conversation

@lavrric
Copy link
Copy Markdown
Contributor

@lavrric lavrric commented May 20, 2026

Updates the lighter api component of the sdk. New generation pipeline used to match the official docs more precisely.

lavrric and others added 2 commits May 20, 2026 20:12
…red fields in tests

The new OpenAPI spec drops OrderBookDepth/PriceLevel, but
lighter/paper_client/order_book.py and the paper-client tests still depend
on them. Restore the two model files (and their docs/__init__ exports) so
the paper client keeps working without changes.

Also patch test/paper_client/helpers.py for new required fields the regen
introduced on MarketConfig (rfq_enabled) and PerpsOrderBookDetail
(is_maker_fee_enabled, is_taker_fee_enabled, funding_clamp_small,
funding_clamp_big, base_interest_rate), which were hidden behind the
ImportError at pytest collection time.
@lavrric lavrric merged commit 1092937 into main May 21, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants