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

response content-types #32

Closed
gcomesana opened this issue Mar 12, 2013 · 2 comments
Closed

response content-types #32

gcomesana opened this issue Mar 12, 2013 · 2 comments

Comments

@gcomesana
Copy link

Hi (again)
not sure if this is the right place to set the issue, but, what I have to do to describe the endpoints and being able to select the response content_type (actually, json or xml, jsonp later) from swagger-ui? I've seen the documentation(s, for grape and swagger) and I didn't find anything. Even trying

content_type :json, 'application/json'
content_type :xml, 'application/xml'

I didn't got anything. Using grape, grape-swagger with RoR 3.1.3
Cheers

w i l l y

@dblock
Copy link
Member

dblock commented Jul 14, 2014

@gcomesana Did you ever find anything about this? I think this is a feature request for grape-swagger.

@dblock
Copy link
Member

dblock commented Dec 14, 2014

Swagger-ui doesn't support this, that's really the first step. I don't think grape-swagger can do much about it ATM.

@dblock dblock closed this as completed Dec 14, 2014
LeFnord added a commit that referenced this issue Sep 6, 2023
* Improves rubocop config.

* Replaces grape 1.6 action job by grape 1.8.

* Removes 3.0 test in action.

* Bump actions/checkout from 3 to 4.

- closes #32
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

2 participants