File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ def operation_specs(specs):
267
267
for version , spec in specs .items ():
268
268
by_operation [version ] = {}
269
269
for path in spec ["paths" ]:
270
- if path == "x-merge-override" :
270
+ if path . startswith ( "x-" ) :
271
271
continue
272
272
for method , operation in spec ["paths" ][path ].items ():
273
273
by_operation [version ][operation ["operationId" ]] = openapi .Operation (
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ def models(spec):
219
219
name_to_schema = {}
220
220
221
221
for path in spec ["paths" ]:
222
- if path == "x-merge-override" :
222
+ if path . startswith ( "x-" ) :
223
223
continue
224
224
for method in spec ["paths" ][path ]:
225
225
operation = spec ["paths" ][path ][method ]
@@ -290,7 +290,7 @@ def apis(spec):
290
290
operations = {}
291
291
292
292
for path in spec ["paths" ]:
293
- if path == "x-merge-override" :
293
+ if path . startswith ( "x-" ) :
294
294
continue
295
295
for method in spec ["paths" ][path ]:
296
296
operation = spec ["paths" ][path ][method ]
You can’t perform that action at this time.
0 commit comments