dump-swagger.py: include untagged operations (#3326)

pull/3621/head
Lukas Lihotzki 2 years ago committed by Travis Ralston
parent 3be746c9d3
commit 4415e36a74

@ -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)

Loading…
Cancel
Save