git.iko.soy/typeable/swagger2
on master help sign in
Update changelog
047a3fbNickolay Kudasov
CHANGELOG.md+3−2
@@ -1,11 +1,12 @@
1−* Minor changes:
1+* Minor changes (see [#36](https://github.com/GetShopTV/swagger2/pull/36)):
2 * Change default `ToSchema` instance for unit data types (i.e. types with one nullable constructor like `data Unit = Unit`):
2 * Change default `ToSchema` instance for unit data types (i.e. types with one nullable constructor like `data Unit = Unit`):
3 now these types are treated like sum types with only one alternative;
3 now these types are treated like sum types with only one alternative;
4 * Add generic `ToParamSchema` instance for unit data types;
4 * Add generic `ToParamSchema` instance for unit data types;
5 * Add `items: []` to schema for `()` (making it a valid schema).
5 * Add `items: []` to schema for `()` (making it a valid schema).
6
6
7* Fixes:
7* Fixes:
8− * `items: []` is not omitted from `Schema` JSON.
8+ * Do not omit `items: []` from `Schema` JSON;
9+ * Do not generate unused definitions for nested `newtype`s (see [#38](https://github.com/GetShopTV/swagger2/pull/38)).
9
10
101.1.1
111.1.1
11---
12---