mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-24 01:38:53 +02:00
Fix google protobuf WellKnownTypes: Empty, Duration and Timestamp (#1231)
* Fix google protobuf WellKnownTypes: Timestamp and Duration * Fix protobuf Empty * . * small refactor * 006 * fix * policy * --- * <PackageReference Include="ProtoBufJsonConverter" Version="0.7.0" />
This commit is contained in:
40
test/WireMock.Net.Tests/Grpc/policy.proto
Normal file
40
test/WireMock.Net.Tests/Grpc/policy.proto
Normal file
@@ -0,0 +1,40 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option csharp_namespace = "NarrowIntegrationTest.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;
|
||||
QMS = 1;
|
||||
BillingCenter = 2;
|
||||
PAS = 3;
|
||||
Payroll = 4;
|
||||
Portal = 5;
|
||||
SFO = 6;
|
||||
QuoteAndBind = 7;
|
||||
LegacyConversion = 8;
|
||||
BindNow = 9;
|
||||
PaymentPortal = 10 ;
|
||||
PricingEngine = 11;
|
||||
}
|
||||
Clients ClientName = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user