git.iko.soy/typeable/swagger2
on master help sign in
Bump version and update changelog
ddbca29Nickolay Kudasov
CHANGELOG.md+11
@@ -1,3 +1,14 @@
1+2.2
2+---
3+
4+* Treat unknown properties as validation errors in `validateToJSON`;
5+* Add `validateJSON` and `validateJSONWithPatternChecker` to validate JSON `Value` against `Schema` without classes;
6+* Add more `Schema` helpers:
7+ * `genericNameSchema` — to give a custom schema `Generic`-based name;
8+ * `genericDeclareNamedSchemaNewtype` — to derive `NamedSchema` for `newtype`s;
9+ * `declareSchemaBoundedEnumKeyMapping` — to derive more specific `Schema` for maps with `Bounded` `Enum` keys;
10+* Add a few tests with invalid `Schema`.
11+
12.1.6
122.1.6
2-----
13-----
3
14
swagger2.cabal+1−1
@@ -1,5 +1,5 @@
1name: swagger2
1name: swagger2
2−version: 2.1.6
2+version: 2.2
3synopsis: Swagger 2.0 data model
3synopsis: Swagger 2.0 data model
4description:
4description:
5 This library is inteded to be used for decoding and encoding Swagger 2.0 API
5 This library is inteded to be used for decoding and encoding Swagger 2.0 API