I have an enum in my swagger scheme which looks like the following:
- name: shipmentType
in: query
required: false
type: integer
format: int32
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
After generating the typescript-angular client with swagger codegen (2.4.17), the generated enum looks like the following picture:
is there any way to make the generator use the typescript enum type instead of creating a custom object?