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