swagger-server
swagger-server copied to clipboard
How to customize the validation logic to include support for nullable fields?
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.