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 and validateJSONWithPatternChecker to validate JSON Value against Schema without classes (see #126);
    • โž• Add more Schema helpers (see #126):
      • genericNameSchema โ€” to give a custom schema Generic-based name;
      • genericDeclareNamedSchemaNewtype โ€” to derive NamedSchema for newtypes;
      • declareSchemaBoundedEnumKeyMapping โ€” to derive more specific Schema for maps with Bounded Enum keys;
    • โž• Add a few tests with invalid Schema.