Skip to content

Releases: asteasolutions/zod-to-openapi

v4.6.2

03 May 18:39
Compare
Choose a tag to compare
  • Fixed vulnerability in yaml by upgrading openapi3ts and yaml itself.
  • Note: It is possible that some types in the usage of .openapi might have changed!

Full Changelog: v4.6.0...v4.6.2

v4.6.0

19 Apr 14:01
Compare
Choose a tag to compare

What's Changed

  • Fixed nested description not being used in the result schema (#104)
  • Added support for ZodPipeline (#115)

Full Changelog: v4.5.3...v4.6.0

v4.5.3

03 Apr 08:08
Compare
Choose a tag to compare

What's Changed

  • Enhanced the MissingParameterDataError with route information (#113)

Full Changelog: v4.5.2...v4.5.3

v4.5.2

31 Mar 10:19
Compare
Choose a tag to compare

What's Changed

  • Use inner zod schema description when generating components instead of only .openapi (#104)

Full Changelog: v4.5.1...v4.5.2

v4.5.1

27 Mar 14:59
Compare
Choose a tag to compare

What's Changed

  • Exported the already existing ZodMediaTypeObject, ZodContentObject and ZodRequestBody types

Full Changelog: v4.5.0...v4.5.1

v4.5.0

20 Mar 10:46
Compare
Choose a tag to compare

What's Changed

  • added support for length (#106 )
  • added support for tuples (#107 )

Full Changelog: v4.4.3...v4.5.0

v4.4.3

17 Mar 10:51
Compare
Choose a tag to compare

What's Changed

  • Fixed 'head', 'options', and 'trace' missing from type definitions of route methods

Full Changelog: v4.4.2...v4.4.3

v4.4.2

08 Mar 14:08
Compare
Choose a tag to compare

What's Changed

  • Preserve multiple examples in responses passed by .openapi

Full Changelog: v4.4.1...v4.4.2

v4.4.1

01 Mar 07:32
Compare
Choose a tag to compare

What's Changed

  • #96 Fixed registered parameters not appearing under #/component/parameters and hence not being referenced.
    • Note: the generated document was still valid, but the underlying definitions were inlined instead of referenced using $ref

Full Changelog: v4.4.0...v4.4.1

v4.4.0

28 Feb 08:05
Compare
Choose a tag to compare

What's Changed

  • #94 Added support for zod's .describe method

Full Changelog: v4.3.0...v4.4.0