Skip to content

Commit 140fabe

Browse files
Allow extensions in the paths section. (#2031)
1 parent 467ec30 commit 140fabe

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
@@ -209,6 +209,8 @@ def models(spec):
209209
name_to_schema = {}
210210

211211
for path in spec["paths"]:
212+
if path == "x-merge-override":
213+
continue
212214
for method in spec["paths"][path]:
213215
operation = spec["paths"][path][method]
214216

@@ -347,6 +349,8 @@ def apis(spec):
347349
operations = {}
348350

349351
for path in spec["paths"]:
352+
if path == "x-merge-override":
353+
continue
350354
for method in spec["paths"][path]:
351355
operation = spec["paths"][path][method]
352356
tag = operation.get("tags", [None])[0]

0 commit comments

Comments
 (0)