* Add test * To run the workflow * Fix import * Format * Add warning * Fix indentation * Test deprecated method * More test * Format * Add import if needed --------- Co-authored-by: Adrien Vannson <adrien.vannson@gardacp.com>
22 lines
399 B
Protocol Buffer
22 lines
399 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package deprecated;
|
|
|
|
// Some documentation about the Test message.
|
|
message Test {
|
|
Message message = 1 [deprecated=true];
|
|
int32 value = 2;
|
|
}
|
|
|
|
message Message {
|
|
option deprecated = true;
|
|
string value = 1;
|
|
}
|
|
|
|
message Empty {}
|
|
|
|
service TestService {
|
|
rpc func(Empty) returns (Empty);
|
|
rpc deprecated_func(Empty) returns (Empty) { option deprecated = true; };
|
|
}
|