Defaults the UI pointing at the configured basePath and endpoint.  Also allows you to disable the ui or directory listing functionality.
Remove debug console.log
Added protocol setting

Added protocol to settings for building docs request urls. Useful if a
load balancer is doing SSL termination so server requests are http but
external requests must be https.
Fixed comment.
Merge pull request #37 from jlewark/master

UI Configuration Improvments
Merge pull request #38 from ivorothschild/master

Added protocol to hapi-swagger settings
The .isJoi fix for >= 3.x of JOI
Merge branch 'master' of https://github.com/glennjones/hapi-swagger
Changed jsonPayload to payloadType and issue #36
Add tags parameter to generate specific documentation
Use the basePath from the settings in the endpoint

This change ensures that a client of hapi-swagger is able to configure
the API endpoint (including the protocol and host part at the
beginning). Actually it is possible to set the "endpoint" setting, but
because this is used as a path to a route, you are not able to set a
URL.
I think to use the bathPath is actually what a user expects and the
previous behaviour was a bug.
Merge pull request #40 from metaodi/generate-docs-for-tag

Add tags parameter to generate specific documentation
Merge pull request #42 from metaodi/endpoint-url-setting

Use the basePath from the settings in the endpoint
Support for tags to display a subset of endpoints
Updated for HAPI 5.x and JOI 4.x
Corrected backwards compatibility issue with JOI 3.x
Compatibility test
Updated for HAPI 6.x
Merge pull request #46 from glennjones/dev-hapi6

Dev hapi6
Corrected payload properties issue #47