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

protoc-gen-openapi: Handle google.api.HttpBody #306

Merged
merged 1 commit into from
Feb 19, 2022

Conversation

morphar
Copy link
Collaborator

@morphar morphar commented Feb 11, 2022

google.api.HttpBody is another special case, that is handled explicitly by Envoy.

The behavior has been tested with Envoy.

GET requests with google.api.HttpBody as request param, will actually read POST data and pass it along.
This can not allowed in OpenAPI though.

In OpenAPI, the response is defined as Content Type /.

google.api.HttpBody is another special case, that is handled explicitly by Envoy.

The behavior has been tested with Envoy.

GET requests with google.api.HttpBody as request param, will actually read POST data and pass it along.
This can not allowed in OpenAPI though.

In OpenAPI, the response is defined as Content Type */*.
@morphar morphar requested a review from a team as a code owner February 11, 2022 04:21
@timburks timburks merged commit 3334dd9 into google:master Feb 19, 2022
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.

2 participants