File tree Expand file tree Collapse file tree
tools/deployment-cli-tools/ch_cli_tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ def generate_model(base_path=ROOT):
4242 lib_path = f"{ base_path } /libraries/models"
4343
4444 # Generate model stuff: use python-flask generator
45- command = f"java -jar { CODEGEN } generate -i { base_path } /libraries/models/api/openapi.yaml -g python-flask -o {
46- lib_path } --skip-validate-spec -c { base_path } /libraries/models/api/config.json"
45+ command = f"java -jar { CODEGEN } generate -i { base_path } /libraries/models/api/openapi.yaml -g python-flask -o \
46+ { lib_path } --skip-validate-spec -c { base_path } /libraries/models/api/config.json"
4747 os .system (command )
4848
4949 # Generate docs: use python generator
5050 tmp_path = f"{ lib_path } /tmp"
51- command = f"java -jar { CODEGEN } generate -i { base_path } /libraries/models/api/openapi.yaml -g python -o {
52- tmp_path } --skip-validate-spec -c { base_path } /libraries/models/api/config.json"
51+ command = f"java -jar { CODEGEN } generate -i { base_path } /libraries/models/api/openapi.yaml -g python -o \
52+ { tmp_path } --skip-validate-spec -c { base_path } /libraries/models/api/config.json"
5353 os .system (command )
5454 try :
5555 source_dir = join (tmp_path , "docs/models" )
You can’t perform that action at this time.
0 commit comments