mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-22 00:08:27 +02:00
Swagger support (#749)
* r * fix * sw * x * s * . * . * . * CreateTypeFromJObject * . * . * f * c * . * . * . * . * . * . * ok * , * . * . * . * . * n * pact * fix * schema * null * fluent * r * -p * . * . * refs * .
This commit is contained in:
@@ -57,6 +57,7 @@ public class PactTests
|
||||
.WithHeader("Accept", "application/json")
|
||||
)
|
||||
.WithTitle("A GET request to retrieve the something")
|
||||
.WithGuid("23e2aedb-166c-467b-b9f6-9b0817cb1636")
|
||||
.RespondWith(
|
||||
Response.Create()
|
||||
.WithStatusCode(HttpStatusCode.OK)
|
||||
@@ -77,6 +78,7 @@ public class PactTests
|
||||
.WithBody(new JsonMatcher("{ \"Id\" : \"1\", \"FirstName\" : \"Totally\" }"))
|
||||
)
|
||||
.WithTitle("A Post request to add the something")
|
||||
.WithGuid("f3f8abe7-7d1e-4518-afa1-d295ce7dadfd")
|
||||
.RespondWith(
|
||||
Response.Create()
|
||||
.WithStatusCode(HttpStatusCode.RedirectMethod)
|
||||
|
||||
Reference in New Issue
Block a user