Skip to content

Commit 633c3db

Browse files
committed
app_factory
1 parent 1399d1c commit 633c3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/storage/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ openapi.json: .env
1212
@set -o allexport; \
1313
source $<; \
1414
set +o allexport; \
15-
python3 -c "import json; from $(APP_PACKAGE_NAME).main import *; print( json.dumps(app.openapi(), indent=2) )" > $@
15+
python3 -c "import json; from $(APP_PACKAGE_NAME).main import *; print( json.dumps(app_factory().openapi(), indent=2) )" > $@
1616

1717
# validates OAS file: $@
1818
$(call validate_openapi_specs,$@)

0 commit comments

Comments
 (0)