git.iko.soy/typeable/openapi3
on master help sign in
Bump version and update changelog
commitddbca2944c2d23453af2f8f1d2912cea9c7fff49 authorNickolay Kudasov <nickolay.kudasov@gmail.com> dateTue 17 Oct 2017, 14:08 (9 years ago) parente2d1f94
2 files changed+12−1
CHANGELOG.md+11 swagger2.cabal+1−1
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+
1122.1.6
213-----
314
swagger2.cabal+1−1
@@ -1,5 +1,5 @@
11name: swagger2
2−version: 2.1.6
2+version: 2.2
33synopsis: Swagger 2.0 data model
44description:
55 This library is inteded to be used for decoding and encoding Swagger 2.0 API