Skip to content

Seal private/internal types and make methods static when applicable #787

Seal private/internal types and make methods static when applicable

Seal private/internal types and make methods static when applicable #787

Triggered via pull request November 21, 2024 20:04
Status Cancelled
Total duration 6m 1s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 30 warnings
ubuntu-latest
[xUnit.net 00:00:24.72] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET90", targetFramework: "net9.0", generatesCode: False) [FAIL]
ubuntu-latest
Target "Test" has thrown an exception
ubuntu-latest
Process completed with exit code 255.
windows-latest
Canceling since a higher priority waiting request for 'pr @ lahma:static-and-sealed' exists
windows-latest
The operation was canceled.
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.ConsoleCore/NSwag.ConsoleCore.csproj : warning NU1903: Package 'System.Text.Json' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-8g4q-xg66-9fp4 [/Users/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.ConsoleCore/NSwag.ConsoleCore.csproj : warning NU1903: Package 'System.Text.Json' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hh2w-p6rv-4g7w [/Users/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.ConsoleCore/NSwag.ConsoleCore.csproj : warning NU1903: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [/Users/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.ConsoleCore.Tests/NSwag.ConsoleCore.Tests.csproj : warning NU1903: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [/Users/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwag.Commands.csproj : warning NU1903: Package 'System.Net.Http' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-7jgj-8wvc-jh57 [/Users/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwag.Commands.csproj : warning NU1903: Package 'System.Text.Json' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-8g4q-xg66-9fp4 [/Users/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwag.Commands.csproj : warning NU1903: Package 'System.Text.Json' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hh2w-p6rv-4g7w [/Users/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwag.Commands.csproj : warning NU1903: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [/Users/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests/NSwag.Generation.AspNetCore.Tests.csproj : warning NU1903: Package 'System.Net.Http' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-7jgj-8wvc-jh57 [/Users/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests/NSwag.Generation.AspNetCore.Tests.csproj : warning NU1903: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [/Users/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.ConsoleCore.Tests/NSwag.ConsoleCore.Tests.csproj : warning NU1903: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [/home/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwag.Commands.csproj : warning NU1903: Package 'System.Net.Http' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-7jgj-8wvc-jh57 [/home/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.ConsoleCore/NSwag.ConsoleCore.csproj : warning NU1903: Package 'System.Text.Json' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-8g4q-xg66-9fp4 [/home/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.ConsoleCore/NSwag.ConsoleCore.csproj : warning NU1903: Package 'System.Text.Json' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hh2w-p6rv-4g7w [/home/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwag.Commands.csproj : warning NU1903: Package 'System.Text.Json' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-8g4q-xg66-9fp4 [/home/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwag.Commands.csproj : warning NU1903: Package 'System.Text.Json' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hh2w-p6rv-4g7w [/home/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwag.Commands.csproj : warning NU1903: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [/home/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.ConsoleCore/NSwag.ConsoleCore.csproj : warning NU1903: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [/home/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore/NSwag.Generation.AspNetCore.csproj : warning NU1903: Package 'Microsoft.AspNetCore.Http' 1.0.4 has a known high severity vulnerability, https://github.com/advisories/GHSA-hxrm-9w7p-39cc [/home/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.AspNetCore/NSwag.AspNetCore.csproj : warning NU1903: Package 'Microsoft.AspNetCore.Http' 1.0.4 has a known high severity vulnerability, https://github.com/advisories/GHSA-hxrm-9w7p-39cc [/home/runner/work/NSwag/NSwag/src/NSwag.NoInstaller.slnf]
windows-latest
D:\a\NSwag\NSwag\src\NSwagStudio.Installer\NSwagStudio.Installer.wixproj : warning NU1503: Skipping restore for project 'D:\a\NSwag\NSwag\src\NSwagStudio.Installer\NSwagStudio.Installer.wixproj'. The project file may be invalid or missing targets required for restore. [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.Generation.AspNetCore\NSwag.Generation.AspNetCore.csproj : warning NU1903: Package 'Microsoft.AspNetCore.Http' 1.0.4 has a known high severity vulnerability, https://github.com/advisories/GHSA-hxrm-9w7p-39cc [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.AspNetCore\NSwag.AspNetCore.csproj : warning NU1903: Package 'Microsoft.AspNetCore.Http' 1.0.4 has a known high severity vulnerability, https://github.com/advisories/GHSA-hxrm-9w7p-39cc [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.Generation.AspNetCore.Tests\NSwag.Generation.AspNetCore.Tests.csproj : warning NU1903: Package 'System.Net.Http' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-7jgj-8wvc-jh57 [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.Generation.AspNetCore.Tests\NSwag.Generation.AspNetCore.Tests.csproj : warning NU1903: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.ConsoleCore.Tests\NSwag.ConsoleCore.Tests.csproj : warning NU1903: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.ConsoleCore\NSwag.ConsoleCore.csproj : warning NU1903: Package 'System.Text.Json' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-8g4q-xg66-9fp4 [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.ConsoleCore\NSwag.ConsoleCore.csproj : warning NU1903: Package 'System.Text.Json' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hh2w-p6rv-4g7w [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.ConsoleCore\NSwag.ConsoleCore.csproj : warning NU1903: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.Commands\NSwag.Commands.csproj : warning NU1903: Package 'System.Net.Http' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-7jgj-8wvc-jh57 [D:\a\NSwag\NSwag\src\NSwag.sln]