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
withHeaderfor 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
nullto disable provider - export
toOpenAPIto generate spec programmatically - (experimental) add
openapi/gento automatically generate OpenAPI spec from types
Breaking Changes:
- rename
@elysiajs/swaggerto@elysiajs/openapi - map all
swagger, andscalarprefix to respectiveswaggerandscalarproperties - rename
swaggerConfig, andscalarConfigtoswaggerandscalarrespectively - map
excludePaths,excludeMethods,excludeTags,excludeStaticFilesto property ofexcludes