@./SwaggerDoc.json

This commit is contained in:
Anthony Stirling 2023-06-03 23:01:14 +01:00
parent c526e18992
commit 1f5231d905
2 changed files with 2 additions and 2 deletions

View File

@ -40,6 +40,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 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"
env:
SWAGGERHUB_API_KEY: ${{ secrets.SWAGGERHUB_API_KEY }}

View File

@ -15,7 +15,7 @@ repositories {
openApi {
apiDocsUrl = "http://localhost:8080/v3/api-docs"
outputDir = file("/")
outputDir = file("$projectDir")
outputFileName = "SwaggerDoc.json"
}