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

Swagger module makes it impossible to send data with other content/mime types than json, yamlrpc, FormUrlEncoded or MultipartFormData #2497

Closed
omusil24 opened this Issue Nov 23, 2017 · 2 comments

Comments

Projects
None yet
1 participant
@omusil24
Contributor

omusil24 commented Nov 23, 2017

everything else leads to ACCEPT-ERROR being thrown in the SwaggerSchema::processResponseIntern

@omusil24 omusil24 added this to the 0.8.13.1 milestone Nov 23, 2017

@omusil24

This comment has been minimized.

Show comment
Hide comment
@omusil24

omusil24 Nov 23, 2017

Contributor

Also, sending Accept: */* header results in the same limitation.

Contributor

omusil24 commented Nov 23, 2017

Also, sending Accept: */* header results in the same limitation.

@omusil24 omusil24 self-assigned this Nov 23, 2017

omusil24 added a commit that referenced this issue Nov 24, 2017

omusil24 added a commit that referenced this issue Nov 27, 2017

davidnich added a commit that referenced this issue Nov 27, 2017

refs #2497 fixed content-type tests, updated docs for processRequest*…
…() to reflect the fact that the Content-Type key in the header hash will be ignored

@davidnich davidnich closed this in 036fd0c Nov 27, 2017

@omusil24 omusil24 added the fixed label Nov 28, 2017

davidnich added a commit that referenced this issue Nov 28, 2017

omusil24 added a commit that referenced this issue Nov 28, 2017

Merge pull request #2514 from qorelanguage/bugfix/2497_Swagger_fixes
refs #2497 fixed response value processing for content-types that can…

@omusil24 omusil24 removed the fixed label Nov 30, 2017

@omusil24 omusil24 reopened this Nov 30, 2017

@omusil24

This comment has been minimized.

Show comment
Hide comment
@omusil24

omusil24 Nov 30, 2017

Contributor

This has been fixed only for responses. The same thing happens with requests.

Contributor

omusil24 commented Nov 30, 2017

This has been fixed only for responses. The same thing happens with requests.

@omusil24 omusil24 changed the title from Swagger module makes it impossible to return data with other content/mime types than json, yamlrpc, FormUrlEncoded or MultipartFormData to Swagger module makes it impossible to send data with other content/mime types than json, yamlrpc, FormUrlEncoded or MultipartFormData Nov 30, 2017

davidnich added a commit that referenced this issue Nov 30, 2017

@omusil24 omusil24 closed this in 950ec84 Nov 30, 2017

@omusil24 omusil24 added the fixed label Nov 30, 2017

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