@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.
31 lines • 1.11 kB
JSON
{
"id" : "c7de6f66-b595-43d6-9a6f-d5fd5c14badf",
"name" : "lro_put_201_created_failed_200",
"request" : {
"url" : "/lro/put/201/created/failed/200",
"method" : "PUT",
"bodyPatterns" : [ {
"equalToJson" : "{\"location\": \"West US\"}",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
} ]
},
"response" : {
"status" : 201,
"base64Body" : "eyAicHJvcGVydGllcyI6IHsgInByb3Zpc2lvbmluZ1N0YXRlIjogIkNyZWF0ZWQifSwgImlkIjogIjEwMCIsICJuYW1lIjogImZvbyIgfQ==",
"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 21:54:56 GMT",
"Connection" : "keep-alive"
}
},
"uuid" : "c7de6f66-b595-43d6-9a6f-d5fd5c14badf",
"persistent" : true,
"scenarioName" : "scenario-failed-200",
"requiredScenarioState" : "scenario-failed-200-2",
"newScenarioState" : "scenario-failed-200-3",
"insertionIndex" : 673
}