-
Notifications
You must be signed in to change notification settings - Fork 760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/spec converter #309
Conversation
@@ -31,6 +31,8 @@ describe('1.2 default success callback', function () { | |||
var petApi = sample.pet; | |||
|
|||
petApi.getPetById({petId: 1}); | |||
// TODO: enable when callback support is back https://github.com/swagger-api/swagger-js/issues/308 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see #308
@whitlockjc can you please take a look at this? Per comments, there are a few disabled tests. |
}; | ||
|
||
SwaggerSpecConverter.prototype.getAbsolutePath = function(docLocation, path) { | ||
if(path.indexOf('http://') === 0 || path.indexOf('https://') === 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function needs to remove double slashes and '.{format}' suffixes
No description provided.