Suppose you have schema like below
(s/defschema House
{:bedroom s/Int
:bathroom s/Int
:parking s/Int
})
The dynamic generation of swagger docs will assign a default value of 0. How do I assign default value for bedroom, bathroom, and parking for swagger docs ?
We can achieve this using ring.swagger.json-schema. We can modify our schema using json-schema