mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-15 23:03:55 +01:00
* Add "AddUrl" to WireMockContainerBuilder to support grpc * fix * fix for windows * wip * fix ! * change some example code
31 lines
546 B
Protocol Buffer
31 lines
546 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "ExampleIntegrationTest.Lookup";
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
package Policy;
|
|
|
|
service PolicyService {
|
|
rpc GetVersion (GetVersionRequest) returns (GetVersionResponse);
|
|
}
|
|
|
|
message GetVersionRequest {
|
|
Client Client = 1;
|
|
|
|
}
|
|
message GetVersionResponse {
|
|
string Version = 1;
|
|
google.protobuf.Timestamp DateHired = 2;
|
|
Client Client = 3;
|
|
}
|
|
|
|
message Client {
|
|
string CorrelationId = 1;
|
|
enum Clients {
|
|
Unknown = 0;
|
|
Other = 1;
|
|
Test = 2;
|
|
}
|
|
Clients ClientName = 2;
|
|
} |