git.iko.soy/typeable/openapi3
on master help sign in
Update changelog
0b69e89Nickolay Kudasov
CHANGELOG.md+8−3
@@ -1,6 +1,11 @@
1+* Minor changes:
1−* 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`):
2− * 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;
3−* 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).
6+
7+* Fixes:
8+ * `items: []` is not omitted from `Schema` JSON.
4
9
51.1.1
101.1.1
6---
11---