FunctionMonkey
FunctionMonkey copied to clipboard
OpenAPI: how to get string marked as Required
Firstly, I'm still on version 3.0.17 and will be here for a while on this project. I do want to upgrade, just it's not the correct time for this project.
I have a delete command that has a string of SerialNumber that I want to be marked in the OpenAPI as required and I can't make it so.
I tried: [Required] [Key] Fluent validator of NotNull & NotEmpty [JsonProperty(Required = Required.Always)]
I've been through the code and am at a loss.
What am I missing?
Hi Arry,
3.0.17 is too old for that.
This was merged in with #102 into v4.0.56-beta.4. #142 would bring more OpenAPI functionality, but not merged in right now.
Cheers, Markus