Releases: elysiajs/elysia-openapi
Releases · elysiajs/elysia-openapi
1.3.4
1.3.3
What's changed
Bug fix:
- type generator: collapse path when trying to access from dist
Full Changelog: 1.3.2...1.3.3
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
1.3.1
1.3.0
Full Changelog: 1.2.2...1.3.0
1.2.2
What's Changed
- Fix path issue in Scalar config by @bhaleraosaurabh in #185
New Contributors
- @bhaleraosaurabh made their first contribution in #185
Full Changelog: 1.2.1...1.2.2
1.2.1
What's Changed
Bug fix:
- prevent failed to fetch spec from URL error by @jimmy-guzman in #154
- elysia#1063 Using t.Ref as response schema results in invalid OpenAPI specification
- handle unfold recursive Ref to schema
New Contributors
- @jimmy-guzman made their first contribution in #154
Full Changelog: 1.2.0...1.2.1
1.2.0
1.1.6
What's Changed
- Add type check in cloneHook by @Huliiiiii in #156
New Contributors
- @Huliiiiii made their first contribution in #156
Full Changelog: 1.1.5...1.1.6