swagger-server icon indicating copy to clipboard operation
swagger-server copied to clipboard

How to customize the validation logic to include support for nullable fields?

Open andregs opened this issue 8 years ago • 0 comments

Hi!

Is there a way to customize the validation logic to include support for nullable fields? I want to introduce a property like x-nullable: true in my definition and then write a validation function that accepts null values be stored & retrieved no matter what type my fields are.

Thanks.

andregs avatar Jan 04 '17 15:01 andregs