diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index aadbb472..04577e01 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -66,7 +66,11 @@ jobs: if: steps.changes.outputs.server == 'true' - name: Generate openapi.json - run: cd server && mvn spring-boot:run & && sleep 15 && curl -q http://localhost:8080/ui/api-docs -o server/target/openapi.json && pkill -f java + run: | + cd server + mvn spring-boot:run & + sleep 20 && curl -q http://localhost:8080/ui/api-docs -o ./target/openapi.json + pkill -f java if: steps.changes.outputs.server == 'true' - name: Test api-specs with redoc-cli diff --git a/server/pom.xml b/server/pom.xml index 8a8728b6..2ae9d10f 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -10,6 +10,7 @@ ../pom.xml + access-server jar access-server diff --git a/server/src/test.txt b/server/src/test.txt new file mode 100644 index 00000000..e69de29b diff --git a/server/src/test1.txt b/server/src/test1.txt new file mode 100644 index 00000000..e69de29b diff --git a/server/src/test2.txt b/server/src/test2.txt new file mode 100644 index 00000000..e69de29b diff --git a/server/src/test3.txt b/server/src/test3.txt new file mode 100644 index 00000000..e69de29b