OpenAPITools / OpenAPITools/openapi-generator

Typescript Axios Generator Wrap Query Params as Object

Open
#16,116 4 comments 15 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Hi.
I am generating an SDK using the Typescript Axios Generator SDK generator, but for the endpoints that accept query parameters, the parameters are being treated as individual parameters instead of being wrapped in an object. Is there a way to wrap these parameters in an object?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the Typescript Axios Generator entry point and inspecting how query parameters are emitted in generated SDKs; done means query parameters for an endpoint can be wrapped in an object, with the resulting generated interface and request behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, typescript
Domain
api, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.