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