Skip to content

Releases: elysiajs/elysia-openapi

1.3.5

02 Sep 20:18
e721283
Compare
Choose a tag to compare

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

02 Sep 19:39
29c5bc2
Compare
Choose a tag to compare

What's changed

Bug fix:

  • type generator: exclude unknown type

Full Changelog: 1.3.3...1.3.4

1.3.3

02 Sep 17:13
79afbdc
Compare
Choose a tag to compare

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

02 Sep 16:21
371c376
Compare
Choose a tag to compare

Hanami

Rewrote the entire codebase for better performance and code quality

Rename plugin name from Swagger to OpenAPI

Absolute Cinema

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, and scalar prefix to respective swagger and scalar properties
  • rename swaggerConfig, and scalarConfig to swagger and scalar respectively
  • map excludePaths, excludeMethods, excludeTags, excludeStaticFiles to property of excludes

1.3.1

27 Jun 21:23
eb790a2
Compare
Choose a tag to compare

1.3.1

Bug fix:

  • Using relative path for specPath

Full Changelog: 1.3.0...1.3.1

1.3.0

05 May 14:51
604db87
Compare
Choose a tag to compare

Full Changelog: 1.2.2...1.3.0

1.2.2

21 Feb 17:50
65b20fc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.2.1...1.2.2

1.2.1

19 Feb 13:15
4f51a40
Compare
Choose a tag to compare

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

Full Changelog: 1.2.0...1.2.1

1.2.0

23 Dec 15:29
ed00255
Compare
Choose a tag to compare

What's Changed

  • feat: add scalar elysia theme by @marclave in #173
  • support Elysia 1.2

Full Changelog: 1.1.6...1.2.0

1.1.6

16 Nov 22:34
9ed3168
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.5...1.1.6