You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MarekBodingerBA
changed the title
[BUG] Description
[BUG] typescript-axios generates any instead of AxiosRequestConfig for factory interface
Jul 3, 2023
Bug Report Checklist
Description
typescript-axios
generates correctoptions
type in functional programming interface but usesany
in factory interface although the latter calls the former.openapi-generator version
"@openapitools/openapi-generator-cli": "^2.6.0"
OpenAPI declaration file content or url
https://nest-forms-backend.staging.bratislava.sk/api-json
Steps to reproduce
Suggest a fix
Generate
AxiosRequestConfig
type instead ofany
in factory interface.Probably this line needs to be fixed: https://github.com/OpenAPITools/openapi-generator/blob/ba0c73e16427f40994e3a53a014548f8ffdba431/modules/openapi-generator/src/main/resources/typescript-axios/apiInner.mustache#L281C1-L281C1
The text was updated successfully, but these errors were encountered: