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 \
36
36
spec=$( basename " $spec_path " | sed ' s/.yaml//' | sed ' s/.json//' )
37
37
38
38
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
46
46
done
47
47
done
You can’t perform that action at this time.
0 commit comments