From 1f813d06507ce6ac6e8bcf22d9aa4682a89568a2 Mon Sep 17 00:00:00 2001 From: Peter Havekes Date: Wed, 4 Oct 2023 14:38:13 +0200 Subject: [PATCH] Change the openapi json generation --- .github/workflows/doc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 84459e15..d388291f 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -66,7 +66,7 @@ jobs: if: steps.changes.outputs.server == 'true' - name: Generate openapi.json - run: mvn verify -DskipTests=true + run: cd server && mvn spring-boot:run & && sleep 10 && curl -q http://localhost:8080/ui/api-docs -o server/target/openapi.json && pkill -f java if: steps.changes.outputs.server == 'true' - name: Test api-specs with redoc-cli