mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-22 16:58:58 +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:
@@ -1,32 +1,32 @@
|
||||
{
|
||||
"Consumer": {
|
||||
"Name": "Something API Consumer Get"
|
||||
"consumer": {
|
||||
"name": "Something API Consumer Get"
|
||||
},
|
||||
"Interactions": [
|
||||
"interactions": [
|
||||
{
|
||||
"ProviderState": "A GET request to retrieve the something",
|
||||
"Request": {
|
||||
"Headers": {
|
||||
"providerState": "A GET request to retrieve the something",
|
||||
"request": {
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"Method": "GET",
|
||||
"Path": "/tester",
|
||||
"Query": "q1=test&q2=ok"
|
||||
"method": "GET",
|
||||
"path": "/tester",
|
||||
"query": "q1=test&q2=ok"
|
||||
},
|
||||
"Response": {
|
||||
"Body": {
|
||||
"Id": "tester",
|
||||
"FirstName": "Totally",
|
||||
"LastName": "Awesome"
|
||||
"response": {
|
||||
"body": {
|
||||
"id": "tester",
|
||||
"firstName": "Totally",
|
||||
"lastName": "Awesome"
|
||||
},
|
||||
"Headers": {
|
||||
"headers": {
|
||||
"Content-Type": "application/json; charset=utf-8"
|
||||
},
|
||||
"Status": 200
|
||||
"status": 200
|
||||
}
|
||||
}
|
||||
],
|
||||
"Provider": {
|
||||
"Name": "Something API"
|
||||
"provider": {
|
||||
"name": "Something API"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user