diff --git a/.github/workflows/generate-swagger-html.yml b/.github/workflows/generate-swagger-html.yml index 8dab6fc..41f8e8b 100644 --- a/.github/workflows/generate-swagger-html.yml +++ b/.github/workflows/generate-swagger-html.yml @@ -18,14 +18,10 @@ jobs: - name: Install dependencies run: | - npm install -g @apidevtools/swagger-cli - npm install -g redoc-cli - - - name: Bundle OpenAPI file - run: swagger-cli bundle eudamed_api_openapi3_1.yaml --outfile swagger.yaml --type yaml + npm install -g @redocly/cli - name: Generate HTML - run: redoc-cli bundle swagger.yaml --output index.html + run: redocly build-docs eudamed_api_openapi_3_1.yml --output index.html - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 diff --git a/eudamed_api_openapi_3_1.yaml b/eudamed_api_openapi_3_1.yml similarity index 100% rename from eudamed_api_openapi_3_1.yaml rename to eudamed_api_openapi_3_1.yml