Skip to content

Commit

Permalink
fix: update publishing spec request method
Browse files Browse the repository at this point in the history
  • Loading branch information
junjie-w committed Dec 24, 2024
1 parent 4bb5110 commit 9bf3c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/push-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
run: |
cd apps/${{ github.event.inputs.api-name }}
RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \
RESPONSE=$(curl -s -w "\n%{http_code}" -X PUT \
"https://api.swaggerhub.com/apis/${{ env.USERNAME }}/sample-${{ github.event.inputs.api-name }}/${{ github.event.inputs.api-version }}" \
-H "Authorization: ${SWAGGERHUB_API_KEY}" \
-H "Content-Type: application/json" \
Expand Down

0 comments on commit 9bf3c26

Please sign in to comment.