-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi Zaid,
I have an API definition which contains a model with an required property with the datatype nullable string.
Hawaii generates the type as string. I expect it to be a string option.
Hawaii/src/OperationParameters.fs
Line 138 in 9b117d2
required = parameter.Required || not nullable |
As I understand it correct, this line is responsible if a type is optional or not.
Maybe the following replacement is an option?
parameter.Required && not nullable
Maybe there is an reason for only checking the required property?
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels