Repository navigation
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
Regenerates
docs/api/openapi.yamlviapython scripts/export_openapi.pyso the committed OpenAPI specification matches the current Flask-Smorest route and schema definitions onmain(following recent refactors and endpoint additions in437b01eand13f2bca), resolving theOpenAPI CIdrift failure (docs/api/openapi.yaml is out of date).Related issue
OpenAPI CIfailure onmain(run #39092211864)Changes
docs/api/openapi.yaml:ai_decision_filterfield fromStrategyCreateRequestschema (removed in13f2bca)./api/backtest/jobs,/api/backtest/jobs/{job_id}, and/api/backtest/jobs/{job_id}/cancelinternal strategy endpoints./api/indicator/preview-imageand/api/indicator/preview-images/{filename}indicator preview endpoints.postApiIndicatorCodeQualityHints(runtimeCheckparameter) andQuickTrade(tp_price/sl_pricedescriptions).Test plan
python scripts/export_openapi.pyoutput with zero diffpytest backend_api_python/tests/test_openapi.py)API documentation (if routes/schemas changed)
docs/api/openapi.yaml(cd backend_api_python && python scripts/export_openapi.py)docs/agent/agent-openapi.jsonif/api/agent/v1routes changed (no/api/agent/v1changes)ai_decision_filterwas already removed fromStrategyCreateRequestin13f2bca