From 3b4ab96fed82bec974a12a9897f3502e0dc1b8ab Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Mon, 22 Apr 2024 15:35:59 +0200 Subject: [PATCH] feat(impl):[#500] publish swagger ui in github pages --- .github/workflows/publish-documentation.yaml | 5 ----- docs/src/docs/api-specification/api-specification.adoc | 5 ----- docs/src/docs/api-specification/api.adoc | 5 ----- docs/src/docs/api-specification/index.html | 10 ---------- docs/src/docs/index.adoc | 3 --- 5 files changed, 28 deletions(-) delete mode 100644 docs/src/docs/api-specification/api-specification.adoc delete mode 100644 docs/src/docs/api-specification/api.adoc delete mode 100644 docs/src/docs/api-specification/index.html diff --git a/.github/workflows/publish-documentation.yaml b/.github/workflows/publish-documentation.yaml index 4f033ec979..dc3ea64e2f 100644 --- a/.github/workflows/publish-documentation.yaml +++ b/.github/workflows/publish-documentation.yaml @@ -45,11 +45,6 @@ jobs: key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - - name: Build API documentation with Maven - run: | - mvn clean package -pl irs-common,irs-models,irs-policy-store,irs-testing,irs-edc-client,irs-registry-client,irs-api -DskipTests --batch-mode - cp irs-api/target/generated-sources/openapi/index.html docs/src/docs/api-specification/index.html - - name: Build with Maven env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any diff --git a/docs/src/docs/api-specification/api-specification.adoc b/docs/src/docs/api-specification/api-specification.adoc deleted file mode 100644 index d12cda4300..0000000000 --- a/docs/src/docs/api-specification/api-specification.adoc +++ /dev/null @@ -1,5 +0,0 @@ -= API specification - -:toc: - -include::api.adoc[leveloffset=1] \ No newline at end of file diff --git a/docs/src/docs/api-specification/api.adoc b/docs/src/docs/api-specification/api.adoc deleted file mode 100644 index 6b3235b426..0000000000 --- a/docs/src/docs/api-specification/api.adoc +++ /dev/null @@ -1,5 +0,0 @@ -= OpenAPI Specification - -++++ -include::index.html[] -++++ diff --git a/docs/src/docs/api-specification/index.html b/docs/src/docs/api-specification/index.html deleted file mode 100644 index bb1634c9d5..0000000000 --- a/docs/src/docs/api-specification/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - IRS API - - -

IRS API

-

This will be automatically generated when workflow "publish-documentation.yaml" is executed.

- - diff --git a/docs/src/docs/index.adoc b/docs/src/docs/index.adoc index 941ce300b3..787214f3f2 100644 --- a/docs/src/docs/index.adoc +++ b/docs/src/docs/index.adoc @@ -3,9 +3,6 @@ == Administration Guide xref:administration/administration-guide.adoc[] -== API-Documentation -xref:api-specification/api-specification.adoc[OpenApi specification] - == Swagger-UI xref:swagger-ui/index.adoc[Swagger-UI]