UNPKG

@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.

30 lines 992 B
{ "id" : "2873dcb5-1515-4c48-89f6-c8bb87d04cda", "name" : "complex_basic_valid", "request" : { "url" : "/complex/basic/valid?api-version=2016-02-29", "method" : "PUT", "bodyPatterns" : [ { "equalToJson" : "{\"id\": 2, \"name\": \"abc\", \"color\": \"Magenta\"}", "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" : "2873dcb5-1515-4c48-89f6-c8bb87d04cda", "persistent" : true, "scenarioName" : "scenario-basic-valid", "requiredScenarioState" : "Started", "newScenarioState" : "scenario-basic-valid-2", "insertionIndex" : 128 }