Skip to content

Commit 4c2edbb

Browse files
CRoberto1926holgerhagen
authored andcommitted
Closes #2650: Adapt verify docs scripts to OpenAPI/Swagger
1 parent 9b49244 commit 4c2edbb

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

ci/verify_docs_alive.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ set -e # fail fast
33
set -x
44
BASE_URL=https://taskana.azurewebsites.net/taskana
55

6-
test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/rest/rest-api.html")"
7-
test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/rest/simplehistory-rest-api.html")"
8-
test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/rest/routing-rest-api.html")"
6+
test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/api-docs")"
7+
test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/swagger-ui/index.html")"
98
for module in taskana-core taskana-spring; do
109
test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/java/$module/index.html")"
1110
done

ci/verify_docs_jar.sh

-3
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,5 @@ verifyDocs "$REL/../lib/taskana-spring/target/apidocs" "/static/docs/java/taskan
2121
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/java/taskana-core/index.html)"
2222
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/java/taskana-spring/index.html)"
2323
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/java/taskana-cdi/pro/taskana/common/internal/package-summary.html)"
24-
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/rest/rest-api.html)"
25-
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/rest/simplehistory-rest-api.html)"
26-
test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/rest/routing-rest-api.html)"
2724
set +x
2825
echo "the jar file '$JAR_FILE_LOCATION' contains documentation"

0 commit comments

Comments
 (0)