Skip to content

Releases: casantosmu/tyex

v0.10.0

19 Feb 02:10
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • openapi() now returns a middleware instead of an object. You need to use it like app.use('/openapi', app.openapi({...})) instead of const spec = app.openapi({...})

Features

  • Support defining routes without OpenAPI definition (e.g. app.get('/path', handler))
  • Add Nullable utility for TypeBox schemas
  • Convert openapi() to express middleware
  • Export Tyex type for better type inference

Bug Fixes

  • Correct ESM default export
  • Remove openapi3-ts dependency in favor of internal types