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 use nswag to generate typescript model from swagger json. I found an issue when enum string contains invalid characters which are unable to map to enum keys.
"enum": [
"Test1",
"Test2",
"Test1,Test2",
],
And result of typescript model doesn't transpile to js due to an invalid key in enum property (has comma in this case).
I use nswag to generate typescript model from swagger json. I found an issue when enum string contains invalid characters which are unable to map to enum keys.
And result of typescript model doesn't transpile to js due to an invalid key in enum property (has comma in this case).
The typescript version I use is 3.2 and nswag version is 12.0.15.
Thanks
The text was updated successfully, but these errors were encountered: