diff --git a/threescale_api_crd/resources.py b/threescale_api_crd/resources.py index ae5288b..c50109a 100644 --- a/threescale_api_crd/resources.py +++ b/threescale_api_crd/resources.py @@ -2284,7 +2284,7 @@ def load_openapi(entity, spec): if "url" in spec: url = spec["url"] entity["url"] = url - res = requests.get(urli, timeout=60) + res = requests.get(url, timeout=60) if url.endswith(".yaml") or url.endswith(".yml"): entity["body"] = json.dumps( yaml.load(res.content, Loader=yaml.SafeLoader)