-
Using `hapi-swaggered-ui` with `hapi` v9.0.3 results with an error on startup:
`Error: Plugin hapi-swaggered-ui missing dependency vision in connection: http://0.0.0.0:8081`
solution: install `visi…
-
Hapi lets you run different endpoints on different connections (see https://github.com/danielb2/blipp) but currently hapi-swagger only supports routes added to the server (as far as i could see).
Wou…
a-c-m updated
9 years ago
-
This module uses `Hoek.deepEqual`, which wasn't introduced until Hoek 2.7.0. A peer dependency included Hoek 2.4.0 in my project, and hapi-swagger used it (which did seem odd?), possibly because this…
-
According to this hapi 9.0.0 release, they removed inert, vision.
for full release notes, https://github.com/hapijs/hapi/issues/2682.
I think you just need add inert and vision in your package depen…
-
I'm curious why you removed the `defaultTags` option in https://github.com/z0mt3c/hapi-swaggered-ui/commit/33f40013ea3f9a587d43429a2d6c37a65b1c33d8 ? That configuration setting is referenced in https:…
-
Specific case: Hapi appears to not set status code to 200 automatically (apparently the other frameworks do). Since swagger-tools validator relies on statusCode being set (`swagger-validator.js:224:41…
-
-
If an endpoint has a payload validation schema then we can generate a sample request payload to display (Instead of adding mock data, it could be { "item": "string", "item2": 100 }
If the endpoint al…
-
It'd be really nice if there was a way to validate the API responses against the swagger.json file to ensure that the handlers are returning the documented responses. I guess Hapi's onPreResponse exte…
-
Hi! I was just wondering if there will be support for 9.X as I'd like to upgrade my system but it crashes because of issues around caching and changes in hapi.