Skip to content

Commit 64120b9

Browse files
Allow extensions in the paths section. (#1684)
1 parent 435640f commit 64120b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.generator/src/generator/openapi.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ def models(spec):
219219
name_to_schema = {}
220220

221221
for path in spec["paths"]:
222+
if path == "x-merge-override":
223+
continue
222224
for method in spec["paths"][path]:
223225
operation = spec["paths"][path][method]
224226

@@ -288,6 +290,8 @@ def apis(spec):
288290
operations = {}
289291

290292
for path in spec["paths"]:
293+
if path == "x-merge-override":
294+
continue
291295
for method in spec["paths"][path]:
292296
operation = spec["paths"][path][method]
293297
tag = operation.get("tags", [None])[0]

0 commit comments

Comments
 (0)