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.
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.