RicoSuter/NSwag

Feature: Generate default values for optional properties

Open

#481 opened on Dec 16, 2016

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C# (1,189 forks)batch import
help wantedproject: NJsonSchema.CodeGeneration.TypeScripttype: enhancement

Repository metrics

Stars
 (6,291 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi,

Currently default value are handled only for required properties. Do you think it would be possible to do the same for optional properties which have a default value defined ?

Thanks a lot.

Contributor guide