Additional properties not allowed: nullable swagger
I am using swagger 2.0 with node.js express 4.12.3 and mysql db. I have created following schema - Country: type: "object" properties: id: type: "integer" readOnly: true description: "Country Id" country: type: "string" description: "Country name" created_at: type: "string" readOnly: true format: "date-time" description: "Country record creation date" deleted_at: type: "string" format: "date-time" description: "Country record delete date" required: - country Here deleted_at field will be null and will not be present in db until the record is deleted. My express based nodejs server returns the