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

The asCurl method doesn't allow to set content type for response and request #504

Closed
iushankin opened this issue Jun 24, 2015 · 1 comment
Assignees
Milestone

Comments

@iushankin
Copy link
Contributor

This method doesn't allow to set custom content type:

Operation.prototype.asCurl = function (args) {
  var obj = this.execute(args, {mock: true});

https://github.com/swagger-api/swagger-js/blob/develop_2.0/lib/types/operation.js#L810-L811

@webron webron modified the milestones: v2.1.1, v2.1.2 Jun 24, 2015
fehguy added a commit that referenced this issue Jul 23, 2015
Fixed #504: The `asCurl` method doesn't allow to set content type for response and request
@fehguy
Copy link
Contributor

fehguy commented Jul 23, 2015

this was handled in #505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants