Releases: elysiajs/elysia-openapi
Releases · elysiajs/elysia-openapi
1.3.5
What's changed
Bug fix:
- type generator: merge references with existing response status
- type generator: handle union type
Full Changelog: 1.3.4...1.3.5
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
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
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