Releases: elysiajs/elysia-openapi
Releases · elysiajs/elysia-openapi
1.4.11
1.4.10
Improvement:
- #267 enum eupport for OpenAPI by @runyasak
- populate params from path when no schema is provided
- type gen: accept number as path segment
- when failed to convert type to OpenAPI, log the error and continue
- type gen: use
process.getBuiltinModuleto import native node module conditionally - type gen:
fromTypesnow accept direct declaration - export
fromTypesfrom index - add test case for type gen, and OpenAPI schema
Bug fix:
New Contributors
Full Changelog: 1.4.9...1.4.10
1.4.9
What's changed
Bug fix:
- type gen: match special, ad non-english character
Full Changelog: 1.4.8...1.4.9
1.4.8
What's changed
Improvement:
- type gen: handle array delimiter correctly
Full Changelog: 1.4.7...1.4.8
1.4.7
What's changed
Improvement:
- type gen: remove readonly from generated type to fix readonly tuple
Full Changelog: 1.4.6...1.4.7
1.4.6
What's changed
Bug fix:
- type gen: handle inline 200 response schema assignment
Full Changelog: 1.4.5...1.4.6
1.4.5
What's changed
Improvement:
- reference model now handle content type correctly
- type doesn't show up when body is primitive type
Bug fix:
- remove unintentional console.log
- reference model doesn't show up when using as response
Full Changelog: 1.4.4...1.4.5
1.4.4
What's changed
Improvement:
- cast
exclude.methodsto lowercase when checking for method exclusion - type generator: handle non-intersect routes eg. group/guard
Change:
- type generator: enable type error log
- type generator: do not remove temp files when debug is enabled
Bug fix:
- exclude
optionsmethod by default
Full Changelog: 1.4.3...1.4.4
1.4.3
What's changed
Improvement:
- unwrap model reference into parameter schema
- add warning for standard schema without
toJSONSchemamethod - remove
Providerfrom generic type to allow auto-completion - auto-completion for
mapJSONSchema - log error when failed to OpenAPI JSON
Full Changelog: 1.4.2...1.4.3