Skip to content

Commit

Permalink
Fix documentation generation
Browse files Browse the repository at this point in the history
  • Loading branch information
phavekes committed Nov 14, 2023
1 parent 8862d1b commit 3980c76
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ 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 15
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
Expand Down

0 comments on commit 3980c76

Please sign in to comment.