openapi-generator/modules/swagger-codegen
Adrian Moos eab9c72a42 represent swagger enums as union of literal types (#6233)
* represent swagger enums as union of literal types

enabling their easy use in angular templates, structural subtyping
among enums (in particular, different instances of the same enum
are now mutually assignable), improving type safety by preventing
incorrect widening, and permitting numeric enum values
(albeit without descriptive names)

Fixes #6206, #5146, #3500

* update samples

* restore blank lines at end of file

* fix typo
2017-10-07 21:42:46 +08:00
..
src represent swagger enums as union of literal types (#6233) 2017-10-07 21:42:46 +08:00
.gitignore Typescript Property Renaming Fix (#4264) 2017-02-05 22:54:00 +08:00
pom.xml Strip package name from the class name (#6293) 2017-08-14 17:02:45 +08:00