Generate strongly typed C# and TypeScript client codes from Open API / Swagger definitions supporting jQuery, Angular, AXIOS, Fetch API, Aurelia and Angular Strictly Typed Forms
MIT License
64
stars
13
forks
source link
Use specified value type for dictionary properties. #40
The generator seems to not take the value type for the dictionaries defined in the spec into account. Take the following example:
It produces the following class where the value type of the
Dictionaries
is alwaysobject
whereas it should bestring
,int
, andobject
respectively.I have used the following settings:
With this PR, it produces the dictionaries with the correct types specified in the spec as follows: