Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ][typescript-nestjs] Add optional AxiosRequestConfig parameter to service functions #20221

Open
GregoryMerlet opened this issue Dec 2, 2024 · 0 comments · May be fixed by #20222
Open

[REQ][typescript-nestjs] Add optional AxiosRequestConfig parameter to service functions #20221

GregoryMerlet opened this issue Dec 2, 2024 · 0 comments · May be fixed by #20222

Comments

@GregoryMerlet
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Sometimes for specific functions in a service we need to provide a specific request config.

Describe the solution you'd like

Just like what is done in the typescript-axios generator, add the possibility of providing additional axios request config for a specific function:

addPet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant