openapi3 v2.2.1 Release Notes
-
- โ Add
Semigroup
instances - GHC-8.4 compatibility
- ๐ `Schema (NonEmpty a) instance (see #141)
- ๐ Fix optional property for unary records (see #142)
- โ Add
fromAesonOptions
helper (see #146) - ๐ Fix non-termination when using
datatypeNameModifier
with recursive data types (see #132)
2.2
- ๐ Treat unknown properties as validation errors in
validateToJSON
(see #126); - โ Add
validateJSON
andvalidateJSONWithPatternChecker
to validate JSONValue
againstSchema
without classes (see #126); - โ Add more
Schema
helpers (see #126):genericNameSchema
โ to give a custom schemaGeneric
-based name;genericDeclareNamedSchemaNewtype
โ to deriveNamedSchema
fornewtype
s;declareSchemaBoundedEnumKeyMapping
โ to derive more specificSchema
for maps withBounded
Enum
keys;
- โ Add a few tests with invalid
Schema
.
- โ Add