Annotate BaseUrl set with MemberNotNull to prevent CS8618. #659
Annotations
4 errors and 11 warnings
windows-latest
[xUnit.net 00:00:16.99] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET70Minimal", targetFramework: "net7.0", generatesCode: True) [FAIL]
|
windows-latest
[xUnit.net 00:00:33.68] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET80Minimal", targetFramework: "net8.0", generatesCode: True) [FAIL]
|
windows-latest
Target "Test" has thrown an exception
|
windows-latest
Process completed with exit code 1.
|
windows-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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
C:\Program Files\dotnet\sdk\8.0.101\Microsoft.Common.CurrentVersion.targets(2382,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "x86" and the processor architecture of the reference "D:\a\NSwag\NSwag\artifacts\bin\NSwag.AspNetCore.Launcher\release_net462\NSwag.AspNetCore.Launcher.exe", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [D:\a\NSwag\NSwag\src\NSwag.Console\NSwag.Console.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(67,64): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(133,64): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(201,64): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(284,64): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(108,67): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(190,67): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(266,92): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(324,92): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|