Created by: aiven-hh
Everything from options is already passed to Axios in https://github.com/OpenAPITools/openapi-generator/blob/c2c4ba5b06c2107ad466c20dfee7a8f191a25139/modules/openapi-generator/src/main/resources/typescript-axios/apiInner.mustache#L57 and later in https://github.com/OpenAPITools/openapi-generator/blob/c2c4ba5b06c2107ad466c20dfee7a8f191a25139/modules/openapi-generator/src/main/resources/typescript-axios/common.mustache#L124 so removing options.query
from being passed to setSearchParams
is fine because Axios can merge query params from path
(where setSearchParams
result ends up in) and from options
(where all othed params end up in). This also fixes the issue that options.query
does not actually exists and the correct parameter is options.params
which is now typed correctly (changed in https://github.com/OpenAPITools/openapi-generator/pull/10447).
PR checklist
-
Read the contribution guidelines. -
Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community. -
Run the following to build the project and update samples: ./mvnw clean package ./bin/generate-samples.sh ./bin/utils/export_docs_generators.sh
./bin/generate-samples.sh bin/configs/java*
. For Windows users, please run the script in Git BASH. -
File the PR against the correct branch: master
(5.3.0),6.0.x
-
If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.