From beacfd6ff7dace7d5a58a8c40e1952bfacd510d1 Mon Sep 17 00:00:00 2001 From: "Daniel J. B. Clarke" Date: Fri, 12 Oct 2018 11:38:27 -0400 Subject: [PATCH] Fixed get_spec_v2 --- pyswaggerclient/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyswaggerclient/fetch.py b/pyswaggerclient/fetch.py index 628a192..65bfc71 100644 --- a/pyswaggerclient/fetch.py +++ b/pyswaggerclient/fetch.py @@ -6,7 +6,7 @@ def get_spec_v2(spec_v2): # Use v2 spec as-is - return spec_2 + return spec_v2 def get_spec_v3(spec_v3): # Convert v3 spec to v2 with api-spec-converter