@@ -1,6 +1,11 @@
1−* Change default `ToSchema` instance for unit data types (i.e. types with one nullable constructor like `data Unit = Unit`):
2− * Now these types are treated like sum types with only one alternative;
3−* Add generic `ToParamSchema` instance for unit data types.
1+* Minor changes:
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;
4+ * Add generic `ToParamSchema` instance for unit data types;
5+ * Add `items: []` to schema for `()` (making it a valid schema).
6+
7+* Fixes:
8+ * `items: []` is not omitted from `Schema` JSON.
49
5101.1.1
611---