Reconcile OpenAPI settlement/RFQ/amend drift (v17.0.0) - #524
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.
Summary
Reconciles nightly Spec Drift Detection failures on main (Closes #522).
Upstream OpenAPI 3.31.0 content drift (same info.version) plus matching perps OpenAPI and AsyncAPI updates:
Market.settlement_bounds_type("default"/"floor", required). Livemarkets.list/markets.getcallers are unaffected; constructors/fixtures must pass the field.Market.settlement_floor,CreateRFQRequest.obscure_creator_id(+rfqs.create/create_rfqkwargs),AmendOrderV2Request.expiration_time, perpsAmendMarginOrderRequest.expiration_time(+orders.amendkwargs).Re-vendored specs:
openapi.yamldde105932d49e4ea6e197068b82741178ea87edbc991d8fd7676c101162c1c1easyncapi.yaml49ea4f5b4f35feba19ba2109e554f6bbcb0a1e123e58feb64e5cfd8182bc72e7perps_openapi.yamlbfeb993d2a270e9a319b61d520facacd624e72039c8fe79e45fded10f0578eb7Version bump to 17.0.0. See CHANGELOG and
docs/migration.md.Test plan
uv run ruff check .uv run mypy kalshi/uv run pytest tests/ --ignore=tests/integration -q(4603 passed, 3 skipped)Closes #522