Skip to content

Commit 8ee1cb7

Browse files
committed
Fix wrong filename in utility tool
1 parent 944d0ae commit 8ee1cb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

download-openapi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ for v in v1 v2 v3 v4 v5 v6; do \
44
curl -s http://192.168.58.25/cgi-bin/mt/mt-data-api.cgi/${v}/ \
55
| jq '.servers[0].url = "https://example.com/mt/mt-data-api.cgi/v1"' \
66
| jq -S . > src/openapi/${v}.json; \
7-
perl json2yaml.pl ${f} > src/openapi/`basename ${f} json`yaml; \
7+
perl json2yaml.pl src/openapi/${v}.json > src/openapi/${v}.yaml; \
88
done

0 commit comments

Comments
 (0)