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
What about enum generation from swagger Swashbuckle?
Enum example - ... "properties": { "EnumTest": { "enum": [ "Test", "Test2", ], "type": "string" } }...
Now swagger-ts-client miss enum types. Just generate properties as string type - propTest?: string;
What about enum generation from swagger Swashbuckle?
Enum example -
... "properties": { "EnumTest": { "enum": [ "Test", "Test2", ], "type": "string" } }...
Now
swagger-ts-client
miss enum types. Just generate properties as string type -propTest?: string;
For example it works in https://github.com/RSuter/NSwag/wiki/NSwagStudio but it's in c#.
It generates something this -
export enum EnumTest { Test = <any>"Test", Test2 = <any>"Test2", }
The text was updated successfully, but these errors were encountered: