From a07780dbabcc2cdf8f41c9b00d1e0b03bb492f40 Mon Sep 17 00:00:00 2001 From: Lukas Lihotzki Date: Tue, 4 Jan 2022 19:31:09 +0100 Subject: [PATCH] dump-swagger.py: include untagged operations (#3326) --- scripts/dump-swagger.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/dump-swagger.py b/scripts/dump-swagger.py index 4b4922ff..68a9356a 100755 --- a/scripts/dump-swagger.py +++ b/scripts/dump-swagger.py @@ -98,10 +98,9 @@ for filename in os.listdir(cs_api_dir): path = (basePath + path).replace('%CLIENT_MAJOR_VERSION%', major_version) 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 print("Generating %s" % output_file)