Skip to content

feat!: remove GridContext.submit_strategy_questionnaire (/v1/record/questionnaire) - #585

Merged
hogan-yuan merged 1 commit into
mainfrom
feat/remove-questionnaire-endpoint
Sep 1, 2026
Merged

feat!: remove GridContext.submit_strategy_questionnaire (/v1/record/questionnaire)#585
hogan-yuan merged 1 commit into
mainfrom
feat/remove-questionnaire-endpoint

Conversation

@hogan-yuan

@hogan-yuan hogan-yuan commented Sep 1, 2026

Copy link
Copy Markdown
Member

Remove the retired strategy risk-disclosure questionnaire endpoint (POST /v1/record/questionnaire): the submit_strategy_questionnaire method and SubmitStrategyQuestionnaireOptions type, 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.

…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.
@hogan-yuan
hogan-yuan merged commit 0e013a6 into main Sep 1, 2026
56 checks passed
@hogan-yuan
hogan-yuan deleted the feat/remove-questionnaire-endpoint branch September 1, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant