Sergey S. Volkov
Sergey S. Volkov
You can do any kind of manipulations with custom templates using `--templates` option
@amankkg Can you show result ts code which you want to have ? Also I need part of your swagger schema
Hello @rudism can you share part of swagger schema with this problematic enums?
Hello @q389491729, what version of swagger schema are you using ?
Hello @vincentvanderweele! Currently library is parsing field `format`. But I decided to not add `Date` instance for `string/date-time` because it can be difficult for serialization. If you have interest how...
Hello @vincentvanderweele I don't know what's better, add parser for `string/date-time` format or if user decide for yourself (probably `--date-time` option) needs to parse date-time format or not What do...
Anyway, someone who currently wants to use Date instances instead of date strings just can customize it with `onParseSchema` hook And update templates to formatting Date instances
It is only possible if you customize eta templates. And I suppose also with using --single-http-client
Hello @muratoner ! You can use `--templates` option to expand your Api class and add several your own endpoints Also you can use `onInit` hook
Hello @ClementValot can you reproduce this problem with using swagger-typescript-api `10.0.1`?