Skip to content

Releases: elysiajs/elysia-openapi

1.4.11

25 Sep 00:43
070919e

Choose a tag to compare

What's Changed

Improvement:

  • add embedSpec option to embed spec into documentation page
  • add data-configuration for adding custom Scalar configuration

Full Changelog: 1.4.10...1.4.11

1.4.10

21 Sep 19:23
ae8f8b1

Choose a tag to compare

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.getBuiltinModule to import native node module conditionally
  • type gen: fromTypes now accept direct declaration
  • export fromTypes from index
  • add test case for type gen, and OpenAPI schema

Bug fix:

  • #226 accept operationId
  • #230 do not inline Response if is Cloudflare Worker

New Contributors

Full Changelog: 1.4.9...1.4.10

1.4.9

21 Sep 05:16
01b4d6a

Choose a tag to compare

What's changed

Bug fix:

  • type gen: match special, ad non-english character

Full Changelog: 1.4.8...1.4.9

1.4.8

20 Sep 22:23
ae3807a

Choose a tag to compare

What's changed

Improvement:

  • type gen: handle array delimiter correctly

Full Changelog: 1.4.7...1.4.8

1.4.7

20 Sep 21:39
c0b16e6

Choose a tag to compare

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

20 Sep 17:59
8169471

Choose a tag to compare

What's changed

Bug fix:

  • type gen: handle inline 200 response schema assignment

Full Changelog: 1.4.5...1.4.6

1.4.5

19 Sep 22:10
ef764db

Choose a tag to compare

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

19 Sep 21:08
128cff3

Choose a tag to compare

What's changed

Improvement:

  • cast exclude.methods to 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 options method by default

Full Changelog: 1.4.3...1.4.4

1.4.3

18 Sep 13:53
0d9fa40

Choose a tag to compare

What's changed

Improvement:

  • unwrap model reference into parameter schema
  • add warning for standard schema without toJSONSchema method
  • remove Provider from 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

1.4.2

13 Sep 18:11
170355f

Choose a tag to compare

What's changed

Bug fix:

  • remove xsschema from dependencies

Full Changelog: 1.4.1...1.4.2