feat!: remove GridContext.submit_strategy_questionnaire (/v1/record/questionnaire) - #585
Merged
Merged
Conversation
…ord/questionnaire) The strategy risk-disclosure questionnaire endpoint has been retired and is no longer submitted through the OpenAPI SDK. Remove the submit_strategy_questionnaire method and its SubmitStrategyQuestionnaireOptions type across all six SDK layers: - Rust core: grid/context.rs, blocking/grid.rs, grid/requests/mod.rs; deleted grid/requests/submit_strategy_questionnaire.rs - C: grid_context/context.rs (longbridge.h auto-regenerated by cbindgen) - C++: grid_context.hpp / grid_context.cpp - Java: JNI grid_context.rs + SdkNative.java + GridContext.java - Node.js: grid/context.rs (index.d.ts / index.js regenerated) - Python: grid/context.rs + openapi.pyi - Removed the call from the grid_trading example All other grid APIs (submit / replace / cancel / suspend / restart / list / detail / trigger_history / symbol_info) are unchanged. cargo build for all crates, clippy --all --all-features (0 errors), and cargo fmt --check pass.
hogan-yuan
added a commit
to longbridge/openapi-go
that referenced
this pull request
Sep 1, 2026
…stionnaire) (#121) Mirror of longbridge/openapi#585. Remove the retired `SubmitStrategyQuestionnaire` method (`POST /v1/record/questionnaire`) and its `jsontypes.SubmitStrategyQuestionnaire` request type. Other grid APIs unchanged; go build / go vet pass.
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.
Remove the retired strategy risk-disclosure questionnaire endpoint (
POST /v1/record/questionnaire): thesubmit_strategy_questionnairemethod andSubmitStrategyQuestionnaireOptionstype, across all six SDK layers (Rust core + blocking, C, C++, Java, Node.js, Python) and the grid_trading example.All other grid APIs are unchanged. cargo build (all crates), clippy --all --all-features (0 errors), and cargo fmt --check pass.