Before Swagger JSON or YAML loaded.
Arguments: options object for $http(options)
Before swagger object parsed
Arguments: swagger object
Arguments: parserType, url, contentType, data, isTrustedSources, parseResult
Output: parseResult
Promise resolve: false or true