cyclosproject / ng-openapi-gen

An OpenAPI 3.0 codegen for Angular
MIT License
397 stars 132 forks source link

Bug: nullable dictionary with nullable value is generated wrong #322

Open vadym-kriuchkov opened 5 months ago

vadym-kriuchkov commented 5 months ago

Hi. This json: image is generated into this typescript: image

what I expect is image

Interestingly - if only value is nullable, but dictionary itself is not - everything is generated fine. Or if dictionary is nullable, but value is not - same, everything is fine. However when both of them are nullable - only value nullability is being taken into account.