Skip to content

v0.10.0

Latest
Compare
Choose a tag to compare
@casantosmu casantosmu released this 19 Feb 02:10

⚠ 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