From a4bc67ff8e9e27235212a5a4ad1c472214b97df1 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sat, 3 Jun 2023 23:08:10 +0100 Subject: [PATCH] Update swagger.yml --- .github/workflows/swagger.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swagger.yml b/.github/workflows/swagger.yml index 2952c5b1..ee4c180e 100644 --- a/.github/workflows/swagger.yml +++ b/.github/workflows/swagger.yml @@ -31,6 +31,6 @@ jobs: - name: Upload Swagger Documentation to SwaggerHub run: | - curl -X POST -H "Authorization: ${SWAGGERHUB_API_KEY}" -H "Content-Type: application/json" -d @./SwaggerDoc.json "https://api.swaggerhub.com/apis/Frooodle/Stirling-PDF/${{ steps.versionNumber.outputs.versionNumber }}?isPrivate=false&force=true" + curl -X PUT -H "Authorization: ${SWAGGERHUB_API_KEY}" -H "Content-Type: application/json" -d @./SwaggerDoc.json "https://api.swaggerhub.com/apis/Frooodle/Stirling-PDF/${{ steps.versionNumber.outputs.versionNumber }}?isPrivate=false&force=true" env: SWAGGERHUB_API_KEY: ${{ secrets.SWAGGERHUB_API_KEY }}