Repository navigation
feat: reconcile spec drift #561 (22.5.0) - #562
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #561
Reconciles Spec Drift run 40870823940 (core OpenAPI 3.35.0 + perps). Additive; bumps to 22.5.0 (also ships test-only #560).
Changes
subaccount_typeoptional onMarginPosition,MarginSubaccountBalance,MarginRiskPosition,MarginFundingHistoryEntry(spec-required →server_omits_despite_requiredexclusions, likeMarginMarket.halt_sources)./portfolio/positions/{ticker}/exit_trigger→portfolio.exit_triggers/set_exit_trigger/cancel_exit_trigger/portfolio/credit_history→portfolio.credit_history/credit_history_all/portfolio/events/orders/with_exit_trigger→orders.create_with_exit_trigger/margin/markets/schedules→perps.markets.schedulesmarket_lifecycle_v2→PerpsWebSocket.subscribe_market_lifecycle.kalshi/_generatedregenerated (no hand edits).Blast radius (manual; GitNexus unavailable)
_generatedonly adds code (checked for removed defs/classes/fields).None, so older payloads still parse; model equality/serialization of existing callers gains oneNonekey at most.PerpsChannelenum gains a member; exhaustivematchusers could see a new value._generatedregeneration only affects internal contract tests.Gates
-W error::UserWarning): 930 passed