question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

clarification needed: hapi-swagger vs hapi-swaggered + hapi-swaggered-ui

See original GitHub issue

I have been a (mostly) very satisfied user of this module hapi-swagger. Many thanks to the chef, and to everyone else who has helped me on this forum over the past many months. I am very grateful for it all.

However, I just noticed hapi-swaggered and its companion hapi-swaggered-ui project (I am late to all parties). A recurring theme on this (hapi-swagger) project seems to be that the ui and its components are hard-coded in (hence, recently discovered incompatibles with the newest versions of Joi and handlebars etc.) and it is difficult to upgrade to Swagger 3.0 and, quite understandably, those who know how to do the upgrade are busy with other more important things.

So, my questions are thus:

  1. What are the non-obvious differences between hapi-swagger and hapi-swaggered + hapi-swaggered-ui?

  2. Why not merge the two projects and collaborate in order to benefit from the energies of the bigger user pool?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
punkishcommented, Feb 21, 2019

Another point of comparison, this time of the network traffic:

hapi-swagger (this project): 31 requests 2.95 MB hapi-swaggered-ui: 7 requests 1.38 MB

0reactions
robmcguinnesscommented, Apr 30, 2019

closing this since I’ve made updates to latest swagger ui in 636c2e06e87d9670f9ccabd1f197de39e5a647cc. Both hapi swagger ui libs provide similar features and the underlying core lib is the same swagger-ui-dist.

Read more comments on GitHub >

github_iconTop Results From Across the Web

clarification needed: hapi-swagger vs ...
So, my questions are thus: What are the non-obvious differences between hapi-swagger and hapi-swaggered + hapi-swaggered-ui ? Why not merge the ...
Read more >
How should I use Swagger with Hapi?
I would like to have a plugin that generates Hapi routes on-the-fly from Swagger definition (e.g. swagger-node/swagger-hapi or swaggerize-hapi).
Read more >
hapi-openapi vs hapi-swagger vs swagger-express vs ...
Comparing trends for .
Read more >
hapi-swaggered-ui
Easy swagger-ui (v3) drop-in plugin for hapi to be used with hapi-swaggered. Supports hapi 17.x and up For earlier versions check hapi-swaggered ......
Read more >
Using Swagger for API documentation | Firefox Ecosystem ...
Add the following code to create a Hapi server object. const Hapi = require('@hapi/hapi'); const HapiSwagger = require(' ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found