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 @@ -311,7 +311,7 @@ def operation_specs(specs):
311
311
for version , spec in specs .items ():
312
312
by_operation [version ] = {}
313
313
for path in spec ["paths" ]:
314
- if path == "x-merge-override" :
314
+ if path . startswith ( "x-" ) :
315
315
continue
316
316
for method , operation in spec ["paths" ][path ].items ():
317
317
by_operation [version ][operation ["operationId" ]] = openapi .Operation (
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ def models(spec):
209
209
name_to_schema = {}
210
210
211
211
for path in spec ["paths" ]:
212
- if path == "x-merge-override" :
212
+ if path . startswith ( "x-" ) :
213
213
continue
214
214
for method in spec ["paths" ][path ]:
215
215
operation = spec ["paths" ][path ][method ]
@@ -349,7 +349,7 @@ def apis(spec):
349
349
operations = {}
350
350
351
351
for path in spec ["paths" ]:
352
- if path == "x-merge-override" :
352
+ if path . startswith ( "x-" ) :
353
353
continue
354
354
for method in spec ["paths" ][path ]:
355
355
operation = spec ["paths" ][path ][method ]
You can’t perform that action at this time.
0 commit comments