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
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
I am using the openapi-cli tool to generate client code for typescript-nestjs application. But I have an issues with the typing of enums. They seem to be defined as string but the generated code types them as enum. Might not be a bug, but rather my lack of knowledge.
Bug Report Checklist
Description
I am using the openapi-cli tool to generate client code for typescript-nestjs application. But I have an issues with the typing of enums. They seem to be defined as string but the generated code types them as enum. Might not be a bug, but rather my lack of knowledge.
openapi-generator version
7.10.0
OpenAPI declaration file content or url
Link to file
Generation Details
openapi-generator-cli generate -g typescript-nestjs -i assets/swagger.yml -o --skip-validate-spec
i had to use --skip-validate-spec, because there are some issues on the swagger definition. It's not mine it's a decleration file i got.
Steps to reproduce
use above commands to generate a client -> type of enum is declared as enum instead of string
The text was updated successfully, but these errors were encountered: