We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My proto file:
syntax = "proto3"; package my.proto.v1; import "google/api/annotations.proto"; import ... service MyService { rpc Create (MyRequest) returns (MyResponse) { option (google.api.http).get = "/api/my"; option (my.custom.option) = { value1: "A" value2: "B" }; } } message MyRequest { } message MyResponse { }
I'm getting syntax error on the custom option:
message: `Expected "'", ".", "/*", "//", "0", "\\"", "false", "inf", "nan", "true", [ \\r\\n\\t], [0-9], [1-9], [A-Za-z], or [\\-+] but "{" found.`,
The text was updated successfully, but these errors were encountered:
Also reproduced for less custom option, it seems to be with using an object under option
option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" };
Sorry, something went wrong.
No branches or pull requests
My proto file:
I'm getting syntax error on the custom option:
The text was updated successfully, but these errors were encountered: