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
I am using the typescript-axios preset to generate the API client. The generated code is using HTML escaping which is causing certain type annotations, particularly ones which use special characters, to not get recognized by Typescript in my client codebase.
Below is what the outputted client code looks like:
A Similar issue I have also encountered, I also notice in addition that, it is not even generating models with correct static typing everything defined as : anyunderneath it.
Description
I am using the typescript-axios preset to generate the API client. The generated code is using HTML escaping which is causing certain type annotations, particularly ones which use special characters, to not get recognized by Typescript in my client codebase.
Below is what the outputted client code looks like:
Swagger-codegen version
3.0.23
Swagger declaration file content or url
Command line used for generation
swagger-codegen generate -i docs/swagger.json -l typescript-axios -o ./generated
Steps to reproduce
Related issues/PRs
I could not find any.
The text was updated successfully, but these errors were encountered: