Why are these properties nullable? #2230
-
|
I'm using NSwag with FastEndpoints in dotnet to generate the OpenAPI spec. This is the type in the JSON spec: The properties do not have I've been looking at the CLI options and the only setting related to nullable types is Sorry, this is my first time using OpenAPI... am I missing something very obvious here? Thanks for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
It's because there's no |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @waynesbrain for jumping in. |
Beta Was this translation helpful? Give feedback.
It's because there's no
required: []array that contains the property names in that schema.