swagger2 v2.2 Release Notes
Release Date: 2017-10-17 // over 6 years ago-
- ๐ Treat unknown properties as validation errors in
validateToJSON
(see #126); - โ Add
validateJSON
andvalidateJSONWithPatternChecker
to validate JSONValue
againstSchema
without classes (see #126); - โ Add more
Schema
helpers (see #126):genericNameSchema
โ to give a custom schemaGeneric
-based name;genericDeclareNamedSchemaNewtype
โ to deriveNamedSchema
fornewtype
s;declareSchemaBoundedEnumKeyMapping
โ to derive more specificSchema
for maps withBounded
Enum
keys;
- โ Add a few tests with invalid
Schema
.
- ๐ Treat unknown properties as validation errors in