Skip to content

Commit e8f2e9c

Browse files
committed
Add v6 to tools
1 parent 026a663 commit e8f2e9c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

download-openapi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
for v in v1 v2 v3 v4 v5; do \
3+
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; \

redoc-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
for v in v1 v2 v3 v4 v5; do \
3+
for v in v1 v2 v3 v4 v5 v6; do \
44
npx redoc-cli build src/openapi/${v}.json \
55
--template src/openapi/data-api-redoc.hbs \
66
--disableGoogleFont \

0 commit comments

Comments
 (0)