Fork me on GitHub

Hmm. In spec-tools I'm trying to get a default value populated if that key has not been given but it doesn't seem to work. Apparently this works only if the give has been given but it has a nil value?


Not a huge deal but would be more nice to define that in the spec and not do manual processing step


should (= (ring.swagger.json-schema/field schema.core/Num {}) (ring.swagger.json-schema/field schema.core/Num {:description "an integer"})) return true or false?


I'm running into an issue when utilizing the update function with schema-tools where FieldSchema types are equivalent even though they have different meta-data