====test==== A dynamic XML response can be generated from the schema when "application/xml" Accept header is provided and a dynamic response is forced. ====spec==== swagger: "2.0" paths: /todos: get: produces: - application/xml responses: 200: description: Get Todo Items schema: type: object properties: title: type: string description: type: string priority: type: integer ====server==== mock -p 4010 ${document} ====command==== curl -i http://localhost:4010/todos -H "accept: application/xml" -H "prefer: dynamic=true" ====expect-loose==== HTTP/1.1 200 OK enimid dolore90439782