Skip to content

1.3.2 - Hanami

Compare
Choose a tag to compare
@SaltyAom SaltyAom released this 02 Sep 16:21
· 22 commits to main since this release
371c376

Hanami

Rewrote the entire codebase for better performance and code quality

Rename plugin name from Swagger to OpenAPI

Absolute Cinema

Feature

Feature:

  • add withHeader for adding custom headers to response schema
  • better performance in general especially with OpenAPI generation process
  • spread all possible path for optional params
  • provider can be null to disable provider
  • export toOpenAPI to generate spec programmatically
  • (experimental) add openapi/gen to automatically generate OpenAPI spec from types

Breaking Changes:

  • rename @elysiajs/swagger to @elysiajs/openapi
  • map all swagger, and scalar prefix to respective swagger and scalar properties
  • rename swaggerConfig, and scalarConfig to swagger and scalar respectively
  • map excludePaths, excludeMethods, excludeTags, excludeStaticFiles to property of excludes