diff --git a/scripts/dump-swagger.py b/scripts/dump-swagger.py index c799e100..e221f976 100755 --- a/scripts/dump-swagger.py +++ b/scripts/dump-swagger.py @@ -156,10 +156,9 @@ for filename in os.listdir(cs_api_dir): basePath = api['basePath'] for path, methods in api["paths"].items(): for method, spec in methods.items(): - if "tags" in spec.keys(): - if path not in output["paths"]: - output["paths"][path] = {} - output["paths"][path][method] = spec + if path not in output["paths"]: + output["paths"][path] = {} + output["paths"][path][method] = spec edit_links(output, base_url)