mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-06 14:55:19 -04:00
[skip ci] Fixed the OpenAPI Generation code (#4275)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user