Skip to content

Commit 1246441

Browse files
committed
Fix OpenAPI doc not being processed alongside extensions
1 parent 3640ec8 commit 1246441

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ogc/bblocks/postprocess.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@ def do_postprocess(bblock: BuildingBlock, light: bool = False) -> bool:
313313
print(f"{e}: {e.__cause__}", file=sys.stderr)
314314
else:
315315
print(str(e), file=sys.stderr)
316-
elif building_block.openapi.exists:
316+
317+
if building_block.openapi.exists:
317318
openapi_contents = building_block.openapi.load_yaml()
318319

319320
if openapi_contents:

0 commit comments

Comments
 (0)