blob: 8ddce09e5699f20567d80442892ee0bf2aa725a7 [file] [log] [blame]
syntax = "proto3";
/// message comment
message TestMessage {
/// field comment
string testField = 1;
/// map field comment
map<string, string> testMap = 2;
/// oneof field comment
oneof testOneof {
/// oneof string comment
string testOneofString = 3;
/// oneof bool comment
bool testOneofBool = 4;
}
}
/// service comment
service TestService {
/// method comment
rpc testMethod(TestMessage) returns (TestMessage) {}
}
/// enum comment
enum TestEnum {
/// enum value comment
VALUE = 1;
}