File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ for spec_path in \
3636 spec=$( basename " $spec_path " | sed ' s/.yaml//' | sed ' s/.json//' )
3737
3838 for library in hyper reqwest; do
39- ags =" generate --template-dir modules/openapi-generator/src/main/resources/rust
40- --input-spec $spec_path
41- --generator-name rust
42- --output samples/client/petstore/rust/$library /$spec
43- --additional-properties packageName=${spec} -${library}
44- --library=$library $@ "
45- java ${JAVA_OPTS} -jar ${executable} ${ags}
39+ args =" generate --template-dir modules/openapi-generator/src/main/resources/rust
40+ --input-spec $spec_path
41+ --generator-name rust
42+ --output samples/client/petstore/rust/$library /$spec
43+ --additional-properties packageName=${spec} -${library}
44+ --library=$library $@ "
45+ java ${JAVA_OPTS} -jar ${executable} ${args} || exit 1
4646 done
4747done
You can’t perform that action at this time.
0 commit comments