- Preliminary OpenAPI 3 support
- Don't set undefined parameters on request in
routeExt
(#180) - Update enjoi and @hapi/joi to Joi 17 (#176)
- Removed left over console.log file
- Fixed
unknown
being used on all joi schemas as opposed to just objects
- [BREAKING] Upgraded hapi support to v19 and other dependencies (#173)
- Reduced package size
- Support api level security definitions #162
- Better cors support #159
- Fixes #156
- Fixes #153
- Fixes #152
- Addresses #149: allow ignoring basePath for api docs path.
- Version bump for NPM security audit
- Vendor extensions are now stripped from the API docs end point (option
docs.stripExtensions
). - Bumped to Enjoi 4.x.
- Allow override of payload options via
x-hapi-options
(#137).
- Allow auth in doc options to be
false
(#134).
- Resolves #123, fixing array format support in parameters.
- Resolves #125, correcting
date-time
format.
- Allow registering multiple of this plugin.
- Fixes issue #117 (breaking on empty description).
- Renamed to hapi-openapi.
- Dropped version down to 1.0.0.
- Fixes trailing spaces #104.
- Fixes empty base path #106.
- Fixes no operation parameters #108.
- Adds support for API as object instead of file path #102
- [BREAKING] x-* attribute support renamed to x-hapi-*.
- New support for
x-hapi-options
on operations.
- Updated to file validation which addresses #68.
- Upgraded
enjoi
.
- Added support for output validation (optional).
- Fixed YAML parsing for api-docs route.
- Fixed #72 - allow single item arrays.
- x-auth attribute support.
- basedir is not an option (officially).
- x-handler attribute support.
- Add tags and description to routes based on API spec.
- Don't restrict auth types.
- Add route meta data from API spec.
docspath
option is nowdocs
and is an object.
- [BREAKING] Migrated to Hapi 17 and Node 8.
- [BREAKING] Severed from
swaggerize-routes
- this module is now standalone. - [BREAKING]
server.plugins.swagger.api
is nowserver.plugins.swagger.getApi()
. - [BREAKING]
handlers
object doesn't namespace http methods using$
anymore. Assumption is verb is last in object path. - [BREAKING] Currently does not work with the
swaggerize-generator
. - Routes will specify what they allow based on api spec.