From b6b98410c18c1cedad2c8c755a372df2388316e2 Mon Sep 17 00:00:00 2001 From: Alexandre Franke Date: Wed, 19 Jan 2022 15:39:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20openapi:=20prepend=20basePath=20?= =?UTF-8?q?to=20all=20paths=20(#3642)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/dump-swagger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/dump-swagger.py b/scripts/dump-swagger.py index e221f976..bbd4035e 100755 --- a/scripts/dump-swagger.py +++ b/scripts/dump-swagger.py @@ -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] = {}