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 request: custom content type per service and rpc #302

Closed
c4milo opened this issue Jan 17, 2017 · 1 comment
Closed

Feature request: custom content type per service and rpc #302

c4milo opened this issue Jan 17, 2017 · 1 comment

Comments

@c4milo
Copy link

c4milo commented Jan 17, 2017

We would like to version services and individual operations through their content-type and accept headers. For this, we would need a way of declaring Swagger's produces and consumes in the protobuf file. Any thoughts?

@achew22
Copy link
Collaborator

achew22 commented Jan 17, 2017

@c4milo, seems like an interesting idea. To do this you will have to modify the upstream proto that this project implements. We have decided that we don't want to modify it locally to prevent an accidental fork from the spec.

If you decide to open a dialogue on googleapis/googleapis about this please add me on the issue. I would love to see how things play out.

I'm going to close this until the upstream proto is changed.

@achew22 achew22 closed this as completed Jan 17, 2017
@tamalsaha tamalsaha mentioned this issue Mar 30, 2017
1 task
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

No branches or pull requests

2 participants