Releases: krakenjs/swaggerize-express
Releases · krakenjs/swaggerize-express
3.0.0 Alpha 2
app._api
isapp.api
.api
andsetHost
are now on theparent
, not the middleware.- fixed a bug in generator that occurred when
parameters
orproduces
was missing.
2.0.0 Release Candidate 2
basePath
pathname is used as mountpath
for routes, while resourcePath
is used as a collection reference for documentation.
3.0.0 Alpha 1
- Swagger 2.0 compatible.
docspath
defaults to/api-docs
.setUrl
is nowsetHost
and is used to sethost
andport
in theapi
.
2.0.0 Release Candidate 1
- 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
andoptions.handlers
should now be located under an arrayoptions.resources
. - BREAKING CHANGE:
app._api
property returns an object containinglisting
andresources
.
See: (Swagger File Structure)[https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#42-file-structure].
1.0.0
1.0.0 Release Candidate 4
Fixed issue related to #18 and expressjs/body-parser#44.
1.0.0 Release Candidate 3
Fixed issue with longer paths causing generator failures.
1.0.0 Release Candidate 2
Improved tests generation and bug fixes.
1.0.0 Release Candidate 1
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
isoptions.docspath
and defaults to/
.
Alpha 6
WARNING: Breaking changes!
- Removed output validation.
- Reverted to standard express handlers.
- Middleware capability.