hapi-swaggered
hapi-swaggered copied to clipboard
Yet another hapi plugin providing swagger compliant API specifications based on routes and joi schemas to be used with swagger-ui.
Currently `joi.object.pattern` is not supported and leads to an empty model.
Hapi recently released a new version (v17, see the [release notes](https://github.com/hapijs/hapi/issues/3658)) which introduces many breaking changes. Will this plugin support the new version?
Could you show me some example how to group routes?
A microservice of mine was specifying version `^2.2.1` of this repo in its package.json which indicates that it should pull any version below `3.0.0`. The service had not been deployed...
http://swagger.io/specification/#swaggerObject
I have a route with joy validation. { method: 'GET', path : '/users/login_history/{historyLength?}', config: { description: 'Get login history for current user.', notes : 'Get login history for current user.',...
I tried to build a project which divide into several connections which contains API on each connection, and expect to have API documentation for it. And it's returned and error:...
As per spec https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#securityRequirementObject Would be quite nice to set that up by default by getting `scope` array parameter that's sometimes set in `config.auth` of a given route, especially when...
I define my response schema as follows: ``` javascript response: { schema: Joi.object().keys({ code: models.familyCode, familyName: models.name.required().description('Family name'), accessToken: models.accessToken, members: Joi.array(models.familyMember) }).meta({ className: 'Login output' }), status: { 400:...
First of all thank you for this module! I am really liking it so far but have run into one issue. I have the following schema ``` var firstObj =...