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
syntax = "proto3"; package myservice; message DoSomethingRequest { } message DoSomethingResponse { } service MyService { rpc DoSomething(DoSomethingRequest) returns (DoSomethingResponse) { option (google.api.http) = { get: "/v1/dosomething" }; }; }
Running:
pbjs -t json ./my-service.proto
Error:
Error: illegal token '}', ';' expected (line 15)
I've tried a variety of combinations of } and ; and it doesn't seem to work. The official compiler compiles this fine, though.
}
;
The text was updated successfully, but these errors were encountered:
Doing this fixes it:
option (google.api.http) = { get: "/v1/dosomething" };;
Sorry, something went wrong.
38d867f
No branches or pull requests
Running:
Error:
I've tried a variety of combinations of
}
and;
and it doesn't seem to work. The official compiler compiles this fine, though.The text was updated successfully, but these errors were encountered: