Changelog for autodocodec-openapi3-0.2.1.4
Changelog
[0.2.1.4] - 2024-07-29
- Non-orphan version of the
ToSchema
deriving.
[0.2.1.3] - 2024-07-26
- Support for
autodocodec >=0.4
.
[0.2.1.1] - 2022-07-21
Added
- Support for the
discriminatedUnionCodec
for discriminated unions inautodocodec-0.2.0.0
[0.2.1.0] - 2022-06-19
Changed
- When combining alternative enum schemas, combine the enum values into one enum if they have the same type. (#17)
- Set default value on the property level instead of object level to fix generation of invalid schemas caused by the default value not matching the type of the object schema
- The generated schema for Maps and HashMaps now has a
type`` of
"object"as well as
additionalProperties`
[0.2.0.0] - 2022-04-05
Changed
- Fixed an issue where, when using
named
and mutually recursive types, not all schemas would be declared when the top level type was declared withdeclareSchemaRef
from openapi3 (#16) - Fixed an issue where using
named
would declare a named schema, but would return an un-named schema, sometimes leading to duplicate schema definitions (#16) declareSpecificNamedSchemaRef
anddeclareSpecificSchemaRef
now work with anyMonadDeclare
, not just theDeclare
concrete monad (#16)- Added a type field when generating enum schema from
EqCodec
. This is required so that enum values are shown inswagger-ui
. (#15)
[0.1.0.0] - 2021-12-23
Added
disjointEitherCodec
now no longer generatesadditionalProperties = true
and usesoneOf
instead ofanyOf
.
Changed
- Now uses
nullable: true
instead ofanyOf
for maybe codecs.
[0.0.0.0] - 2021-11-19
First release.