-
-
Notifications
You must be signed in to change notification settings - Fork 231
Closed
Labels
Description
//option csharp_namespace = "NarrowTest";
package Policy;
service PolicyService { }
server
//.AddProtoDefinition(id, protoDefinitionText)
.Given(
Request
.Create()
.UsingPost()
.WithHttpVersion("2")
.WithPath("/NarrowTest.Policy.PolicyService/GetVersion")
)
.WithProtoDefinition(id)
.RespondWith(
Response
.Create()
.WithHeader("Content-Type", "application/grpc")
.WithTrailingHeader("grpc-status", "0")
.WithBodyAsProtoBuf(
protoDefinition,
"Policy.GetVersionResponse",
new { Version = "DevTr1" }
)
.WithTransformer()
);