EasyP

Rpc Pascal Case

Categories:

  • MINIMAL
  • BASIC
  • DEFAULT

This rule checks that all RPC names are in PascalCase.

Examples

Bad

syntax = "proto3";

service foo_bar {
    rpc get_foo_bar (FooBarRequest) returns (FooBarResponse) {}
}

Good

syntax = "proto3";

service FooBar {
    rpc GetFooBar (FooBarRequest) returns (FooBarResponse) {}
}

On this page