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 2e9bfa3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 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
1 change: 1 addition & 0 deletions server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<relativePath>../pom.xml</relativePath>
</parent>


<artifactId>access-server</artifactId>
<packaging>jar</packaging>
<name>access-server</name>
Expand Down
Empty file added server/src/test.txt
Empty file.
Empty file added server/src/test1.txt
Empty file.

0 comments on commit 2e9bfa3

Please sign in to comment.