🐛 openapi: prepend basePath to all paths (#3642)

pull/977/head
Alexandre Franke 3 years ago committed by GitHub
parent 6c4aabd053
commit b6b98410c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -155,6 +155,7 @@ for filename in os.listdir(cs_api_dir):
basePath = api['basePath']
for path, methods in api["paths"].items():
path = basePath + path
for method, spec in methods.items():
if path not in output["paths"]:
output["paths"][path] = {}

Loading…
Cancel
Save