[skip ci] Fixed the OpenAPI Generation code (#4275)

This commit is contained in:
Joe Milazzo
2025-12-13 07:19:39 -07:00
committed by GitHub
parent 9f8451292c
commit 079ee59616
+3 -2
View File
@@ -30,7 +30,8 @@ jobs:
run: dotnet restore
- name: Build project
run: dotnet build API/API.csproj --configuration Debug
run: dotnet build API/API.csproj --configuration Debug --output ./build-output
- name: Get Swashbuckle version
id: swashbuckle-version
@@ -45,7 +46,7 @@ jobs:
dotnet tool install Swashbuckle.AspNetCore.Cli --version ${{ steps.swashbuckle-version.outputs.VERSION }}
- name: Generate OpenAPI file
run: dotnet swagger tofile --output openapi.json API/bin/Debug/net10/API.dll v1
run: dotnet swagger tofile --output openapi.json ./build-output/API.dll v1
- name: Check for changes
id: git-check