Prevent ugly error on missing type

See https://github.com/wordnik/swagger-ui/pull/650

What we should probably do is log an error somehow and ignore the parameter, but I don't really see a way to do that gracefully the way the code is structured.