Rico Suter
Rico Suter
What is the "format" and "type" in the spec?
You can configure this: 
[JsonProperty("photoUrls", Required = Required.AllowNull)] => required + nullable [JsonProperty("photoUrls", Required = Required.Always)] => required + not nullable https://www.newtonsoft.com/json/help/html/T_Newtonsoft_Json_Required.htm
> "Required" enumeration: I noticed there's no distinction between Always, Default, etc. there's still a red asterisk. Is there any way to distinguish it graphically? I think you need to...
Ideally: - You'd have a single class Foo in your web app and mark the props somehow - From this class we'd create two schemas in the spec, e.g. FooCreate,...
Maybe you need to use Todo.GetAllAsync, etc.?
Thanks for the PR. I didn't have time to look into it yet, as it is a pretty big change... hope I'll get to it soon.
@all it would be great if anyone has time to review this PR!
See https://github.com/RSuter/NSwag/wiki/Templates
You can use your own templates via cli... i'm open to improve the existing ones, as long as they don't break existing users (ie. they dont change the public api)....