File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,8 @@ azure-functions-functionapp-deploy: ## deploy Azure Functions App
140140# ---
141141.PHONY : generate-openapi-spec
142142generate-openapi-spec : # # generate OpenAPI spec
143- poetry run python main.py generate-openapi-spec
143+ cd backend \
144+ && poetry run python main.py generate-openapi-spec
144145
145146.PHONY : generate-openapi-client
146147generate-openapi-client : # # generate OpenAPI client
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def backend(
4242
4343@app .command ()
4444def generate_openapi_spec (
45- path : Annotated [str , typer .Option (help = "Output file path" )] = "./specs/openapi.json" ,
45+ path : Annotated [str , typer .Option (help = "Output file path" )] = ".. /specs/openapi.json" ,
4646 debug : Annotated [bool , typer .Option (help = "Enable debug mode" )] = False ,
4747):
4848 import json
You can’t perform that action at this time.
0 commit comments