Skip to content

Releases: krakenjs/swaggerize-express

3.0.0 Alpha 2

30 Sep 21:20
Compare
Choose a tag to compare
3.0.0 Alpha 2 Pre-release
Pre-release
  • app._api is app.api.
  • api and setHost are now on the parent, not the middleware.
  • fixed a bug in generator that occurred when parameters or produces was missing.

2.0.0 Release Candidate 2

24 Sep 20:33
Compare
Choose a tag to compare
Pre-release

basePath pathname is used as mountpath for routes, while resourcePath is used as a collection reference for documentation.

3.0.0 Alpha 1

24 Sep 21:57
Compare
Choose a tag to compare
3.0.0 Alpha 1 Pre-release
Pre-release
  • Swagger 2.0 compatible.
  • docspath defaults to /api-docs.
  • setUrl is now setHost and is used to set host and port in the api.

2.0.0 Release Candidate 1

12 Sep 20:14
Compare
Choose a tag to compare
Pre-release
  • Enable multiple resources and a resource listing document (under options.listing) as per Swagger specification.
  • options.docspath defaults to /api-docs
  • BREAKING CHANGE: options.api and options.handlers should now be located under an array options.resources.
  • BREAKING CHANGE: app._api property returns an object containing listing and resources.

See: (Swagger File Structure)[https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#42-file-structure].

1.0.0

12 Sep 19:35
Compare
Choose a tag to compare

Better schema validation error output.

1.0.0 Release Candidate 4

05 Sep 18:09
Compare
Choose a tag to compare
Pre-release

Fixed issue related to #18 and expressjs/body-parser#44.

1.0.0 Release Candidate 3

04 Sep 01:27
Compare
Choose a tag to compare
Pre-release

Fixed issue with longer paths causing generator failures.

1.0.0 Release Candidate 2

02 Sep 23:58
Compare
Choose a tag to compare
Pre-release

Improved tests generation and bug fixes.

1.0.0 Release Candidate 1

27 Aug 21:21
Compare
Choose a tag to compare
Pre-release

swaggerize-express has been trimmed down and some core functionality moved to swaggerize-builder to pave the way for additional framework support.

API Changes:

  • options.docs is options.docspath and defaults to /.

Alpha 6

23 Aug 13:48
Compare
Choose a tag to compare
Alpha 6 Pre-release
Pre-release

WARNING: Breaking changes!

  • Removed output validation.
  • Reverted to standard express handlers.
  • Middleware capability.