From 8be0829779bdc61d88446f40f7141d506f37fa20 Mon Sep 17 00:00:00 2001 From: Attila Sumi Date: Tue, 14 Nov 2017 21:21:29 +0100 Subject: [PATCH] generate responses in proper order --- APIBlueprintGenerator.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APIBlueprintGenerator.coffee b/APIBlueprintGenerator.coffee index 5110053..7100ddb 100644 --- a/APIBlueprintGenerator.coffee +++ b/APIBlueprintGenerator.coffee @@ -110,7 +110,7 @@ APIBlueprintGenerator = -> method: paw_request.method, path: @path(url), request: @request(paw_request), - response: paw_request.getAllExchanges().map (r) -> that.response(r), + response: paw_request.getAllExchanges().reverse().map (r) -> that.response(r), ) return