Skip to content
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

Merged
merged 16 commits into from
Mar 23, 2015
Merged

Feature/spec converter #309

merged 16 commits into from
Mar 23, 2015

Conversation

fehguy
Copy link
Contributor

@fehguy fehguy commented Mar 22, 2015

No description provided.

@@ -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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see #308

@fehguy
Copy link
Contributor Author

fehguy commented Mar 22, 2015

@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) {
Copy link
Contributor Author

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

fehguy added a commit that referenced this pull request Mar 23, 2015
@fehguy fehguy merged commit fa2d538 into develop_2.0 Mar 23, 2015
@fehguy fehguy deleted the feature/spec-converter branch June 6, 2015 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant