1.3.2 - Hanami
Hanami
Rewrote the entire codebase for better performance and code quality
Rename plugin name from Swagger to OpenAPI

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
, andscalar
prefix to respectiveswagger
andscalar
properties - rename
swaggerConfig
, andscalarConfig
toswagger
andscalar
respectively - map
excludePaths
,excludeMethods
,excludeTags
,excludeStaticFiles
to property ofexcludes