-
Notifications
You must be signed in to change notification settings - Fork 45
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
feat: Add google.api.api_version annotation to echo.proto #1484
Changes from 4 commits
1378107
81c1a8c
28205f6
606c9cf
a377321
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,8 @@ service Echo { | |
// This service is meant to only run locally on the port 7469 (keypad digits | ||
// for "show"). | ||
option (google.api.default_host) = "localhost:7469"; | ||
// See https://github.com/aip-dev/google.aip.dev/pull/1331 | ||
option (google.api.api_version) = "moose"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok and just to make sure.....we don't want a "real" version here? I understand from generator/client perspective this is an opaque string, but there is something to be said about having good test data... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in a377321 |
||
|
||
// This method simply echoes the request. This method showcases unary RPCs. | ||
rpc Echo(EchoRequest) returns (EchoResponse) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link to AIP once aip-dev/google.aip.dev#1331 is merged