@microsoft.azure/autorest.testserver
Version:
This project contains a set of OpenAPI definitions and a server implementing the corresponding API. Use this to test compliance of AutoRest generators.
27 lines • 1.01 kB
JSON
{
"id" : "13388eb7-8099-4e4d-9361-1e6cc3bb07e1",
"name" : "complex_inheritance_valid",
"request" : {
"url" : "/complex/inheritance/valid",
"method" : "PUT",
"bodyPatterns" : [ {
"equalToJson" : "{\"id\": 2, \"name\": \"Siameeee\", \"color\": \"green\", \"hates\": [{\"id\": 1, \"name\": \"Potato\", \"food\": \"tomato\"}, {\"id\": -1, \"name\": \"Tomato\", \"food\": \"french fries\"}], \"breed\": \"persian\"}",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
} ]
},
"response" : {
"status" : 200,
"headers" : {
"X-Powered-By" : "Express",
"Vary" : "Origin",
"Access-Control-Allow-Credentials" : "true",
"Access-Control-Expose-Headers" : "x-ms-request-id,foo-request-id,Content-Type,value,Location,Azure-AsyncOperation,Retry-After",
"Date" : "Thu, 18 Oct 2018 17:39:21 GMT",
"Connection" : "keep-alive"
}
},
"uuid" : "13388eb7-8099-4e4d-9361-1e6cc3bb07e1",
"persistent" : true,
"insertionIndex" : 170
}