@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.
24 lines • 1.07 kB
JSON
{
"id" : "00d6da94-4606-4602-935b-4e6727cff2e5",
"name" : "xml_root-list",
"request" : {
"url" : "/xml/root-list",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "<?xml version='1.0' encoding='UTF-8'?>\n<bananas>\n <banana>\n <name>Cavendish</name>\n <flavor>Sweet</flavor>\n <expiration>2018-02-28T00:40:00.123Z</expiration>\n </banana>\n <banana>\n <name>Plantain</name>\n <flavor>Savory</flavor>\n <expiration>2018-02-28T00:40:00.123Z</expiration>\n </banana>\n</bananas>",
"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",
"Content-Type" : "application/xml",
"Date" : "Thu, 18 Oct 2018 17:39:32 GMT",
"Connection" : "keep-alive"
}
},
"uuid" : "00d6da94-4606-4602-935b-4e6727cff2e5",
"persistent" : true,
"insertionIndex" : 626
}