Nancy.Swagger icon indicating copy to clipboard operation
Nancy.Swagger copied to clipboard

Utilize SwaggerPropertyAttribute's Required property for validation

Open khellang opened this issue 10 years ago • 0 comments

I've tried to set the SwaggerPropertyAttribute.Required to true for all values that are required by the spec. We should use these to validate the model before serializing it.

khellang avatar Aug 25 '14 21:08 khellang