Closed bmleight closed 7 years ago
Hey, thanks for catching this. Do you mind updating this so that the "swagger" dependency is removed? I think I added swagger instead of hapi-swagger.
@mattboutet to your knowledge the swagger package isn't required for hapi-swagger, right? 95% sure that was just a typo on my part.
hapi-Swagger isn't peer-dependent on Swagger, so it's totally fine to axe Swagger and leave it as just hapi-Swagger
Beauteous!
I tested it and everything! Anything to my confusion with the route swagger is served on (/swagger
vs /documentation
)? I guess I'm wondering if this should be pointed out in the docs somewhere, or if I'm just n3wbing out?
Probably makes sense to add this to the docs around that flavor. It moved because we used to override the default.
Found this while doing some stuff for kegbot. Hopefully I'm submitting it right. Also, just to note, swagger moving from /swagger to /documentation confused me longer than it should have.