🐛 openapi: prepend basePath to all paths (#3642)
This commit is contained in:
parent
6c4aabd053
commit
b6b98410c1
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue