MIT licensed by Tom Sydney Kerckhove
Maintained by [email protected]
This version can be pinned in stack with:autodocodec-openapi3-0.2.0.0@sha256:bbda6ce6c94e7534f64ba75c380687c3378432ed785ba6bef1582874eae2e873,1128

Module documentation for 0.2.0.0

Changes

Changelog

[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 with declareSchemaRef 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 and declareSpecificSchemaRef now work with any MonadDeclare, not just the Declare concrete monad (#16)
  • Added a type field when generating enum schema from EqCodec. This is required so that enum values are shown in swagger-ui.

[0.1.0.0] - 2021-12-23

Added

  • disjointEitherCodec now no longer generates additionalProperties = true and uses oneOf instead of anyOf.

Changed

  • Now uses nullable: true instead of anyOf for maybe codecs.

[0.0.0.0] - 2021-11-19

First release.