Skip to content

Conversation

@xdtdaniel
Copy link

feat AIP-127: Add comment that multiple binding allows mixed POST and GET

@xdtdaniel xdtdaniel requested a review from a team as a code owner July 6, 2023 21:21
@xdtdaniel xdtdaniel requested review from alin04 and jskeet July 6, 2023 21:21
@toumorokoshi toumorokoshi requested review from noahdietz and removed request for alin04 July 6, 2023 22:44
@toumorokoshi
Copy link
Contributor

Moving Angie off and adding @noahdietz since he has context and valid concerns.

body: "book"
}
additional_bindings: {
get: "/v1/books:Create"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

regardless of whether we allow GET / POST mappings, we definitely shouldn't add this example - this is a Create RPC, and creates must use POST along with map to a resource pattern: https://google.aip.dev/133#guidance

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