chore(codegen): regen _endpoints.py from datamaxi-backend openapi#122
Merged
Conversation
Regenerated via datamaxi-codegen `make update-python` off
datamaxi-backend@main (717057c82; openapi last modified by #7613
1c1fef5dd, which excludes front-api routes from the data-api spec).
Real registry changes vs origin/main:
- Remove front-api endpoints front_header + front_premium_tags
(/api/v1/front/*, now excluded from openapi.yaml per backend #7613).
- Add premium params token_include / token_exclude.
- funding_rate_history page/limit str->int (defaults 1 / 10).
- premium.base required->False + BTC default.
- ticker.conversion_base default USDT + enum [USD, USDT].
- required-flag corrections: cex_announcement.market->False,
cex_candle_symbols.exchange->True, forex.symbol->True,
ticker.market->True (3 endpoints).
- token limit default 100->10.
Formatting: black-clean emitter output (enum 'x'->"x", empty
params {}) from datamaxi-codegen #22.
f225986 to
e6257ba
Compare
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
Regenerated
datamaxi/_endpoints.pyfromdatamaxi-backend@main(717057c82; openapi last modified by backend #76131c1fef5dd, which excludes front-api routes from the data-api spec) via datamaxi-codegenmake update-python. Rebuilt against the current spec so the registry fully matches the live backend implementation.Real registry changes (vs
main)front_header+front_premium_tags(/api/v1/front/*, no longer inopenapi.yamlper backend #7613)token_include,token_excludeonpremiumfunding_rate_historypage/limitstr→int(defaults1/10)premium.baserequired→False+BTCdefault;ticker.conversion_basedefaultUSDT+ enum[USD, USDT];token.limitdefault100→10required-flag corrections:cex_announcement.market→False;cex_candle_symbols.exchange→True;forex.symbol→True;ticker.market→True(3 ticker endpoints)Formatting
'x'→"x", emptyparams {}) — datamaxi-codegen Unify candle data #22.Tests / verification
py_compileOK; registry imports (49 endpoints).pytest -m "not integration"→ 113 passed, 11 skipped (112 integration deselected).front_*endpoints.Known limitation
keysort options) exceeds 88 cols and is not wrapped by the emitter — known codegen gap._endpoints.pyis excluded fromblackin this repo, so non-blocking.