WIP: GoDaddy Contributions

Corrected generateModelDefinition() to scan for model references in remote accepts, returns, errors, and nested models
Changed addRoute() to honor X-Forwarded-Host
UI/UX cleanup for SwaggerUI
	Add support for toggling Model and Schema, instead of just expanding
	Added guard against null mockSignature
	Added support for toggling Model and Schema, and added support for primitives in StatusCodeView
	Changed to hide the message-bar when no message
	Changed to use defaultValue, if present, for sampleValue
	Changed to use relative path for images/throbber.gif for mounting into apps at different levels
	Collapse and label responseModel description by default
	Correct description of collections of object and nested
	Corrected to avoid showing invalid Model and Model Schema is missing or void
	Corrected to load images relative to swaggerRoot, for nested context root
	Corrected to work when loading resources from file://
	Ensure Response Content Type is shown regardless of Response Class
	Omit divs for info.title and info.description if they're absent
	Removed 'Implementation Notes' label since it's just noise, widened Resource expansion anchor to full label
Yeah that sounds good. Any other value than 1.2 would be wrong here.
On Oct 13, 2014 3:36 PM, "Miroslav Bajtoš" <notifications@github.com> wrote:

> In lib/class-helper.js:
>
> > @@ -23,7 +23,7 @@ var classHelper = module.exports = {
> >     */
> >    generateAPIDoc: function(aClass, opts) {
> >      return {
> > -      apiVersion: opts.version,
> > +      apiVersion: opts.version || '1',
> >        swaggerVersion: opts.swaggerVersion,
>
> While we are at fixing version numbers, I am proposing to fill 1.2 as
> swaggerVersion and deprecate the setting opts.swaggerVersion. It's the
> loopback explorer who decided what Swagger version it is supporting, not
> the user of this module.
>
> @STRML <https://github.com/STRML> @raymondfeng
> <https://github.com/raymondfeng> any objections?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/strongloop/loopback-explorer/pull/52/files#r18769348>.
>