Skip to content

[Client Generation] Fix required handling for formdata properties #753

[Client Generation] Fix required handling for formdata properties

[Client Generation] Fix required handling for formdata properties #753

Re-run triggered October 7, 2024 16:30
Status Failure
Total duration 6m 17s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 5 warnings
macos-latest
[xUnit.net 00:00:00.43] NSwag.Generation.AspNetCore.Tests.Parameters.HeaderParametersTests.When_complex_query_parameters_are_nullable_and_set_to_null_they_are_optional_in_spec [FAIL]
macos-latest
[xUnit.net 00:00:00.55] NSwag.Generation.AspNetCore.Tests.Parameters.FormDataTests.WhenOperationHasFormDataComplex_ThenItIsInRequestBody [FAIL]
macos-latest
[xUnit.net 00:00:00.60] NSwag.Generation.AspNetCore.Tests.Parameters.FormDataTests.WhenOperationHasFormDataFile_ThenItIsInRequestBody [FAIL]
macos-latest
[xUnit.net 00:00:00.66] NSwag.Generation.AspNetCore.Tests.Parameters.QueryParametersTests.When_simple_query_parameters_are_nullable_and_set_to_null_they_are_optional_in_spec [FAIL]
macos-latest
[xUnit.net 00:00:00.67] NSwag.Generation.AspNetCore.Tests.Parameters.QueryParametersTests.When_simple_query_parameter_has_BindRequiredAttribute_then_it_is_required [FAIL]
macos-latest
[xUnit.net 00:00:00.37] NSwag.Generation.AspNetCore.Tests.Parameters.QueryParametersTests.When_simple_query_parameters_are_nullable_and_set_to_null_they_are_optional_in_spec [FAIL]
macos-latest
[xUnit.net 00:00:00.38] NSwag.Generation.AspNetCore.Tests.Parameters.QueryParametersTests.When_simple_query_parameter_has_BindRequiredAttribute_then_it_is_required [FAIL]
macos-latest
[xUnit.net 00:00:00.48] NSwag.Generation.AspNetCore.Tests.Parameters.FormDataTests.WhenOperationHasFormDataComplex_ThenItIsInRequestBody [FAIL]
macos-latest
[xUnit.net 00:00:00.51] NSwag.Generation.AspNetCore.Tests.Parameters.FormDataTests.WhenOperationHasFormDataFile_ThenItIsInRequestBody [FAIL]
macos-latest
Target "Test" has thrown an exception
ubuntu-latest
[xUnit.net 00:00:01.82] NSwag.Generation.AspNetCore.Tests.Parameters.HeaderParametersTests.When_complex_query_parameters_are_nullable_and_set_to_null_they_are_optional_in_spec [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.91] NSwag.Generation.AspNetCore.Tests.Parameters.QueryParametersTests.When_simple_query_parameters_are_nullable_and_set_to_null_they_are_optional_in_spec [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.94] NSwag.Generation.AspNetCore.Tests.Parameters.QueryParametersTests.When_simple_query_parameter_has_BindRequiredAttribute_then_it_is_required [FAIL]
ubuntu-latest
[xUnit.net 00:00:02.04] NSwag.Generation.AspNetCore.Tests.Parameters.FormDataTests.WhenOperationHasFormDataComplex_ThenItIsInRequestBody [FAIL]
ubuntu-latest
[xUnit.net 00:00:02.09] NSwag.Generation.AspNetCore.Tests.Parameters.FormDataTests.WhenOperationHasFormDataFile_ThenItIsInRequestBody [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.55] NSwag.Generation.AspNetCore.Tests.Parameters.QueryParametersTests.When_simple_query_parameters_are_nullable_and_set_to_null_they_are_optional_in_spec [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.58] NSwag.Generation.AspNetCore.Tests.Parameters.QueryParametersTests.When_simple_query_parameter_has_BindRequiredAttribute_then_it_is_required [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.69] NSwag.Generation.AspNetCore.Tests.Parameters.FormDataTests.WhenOperationHasFormDataComplex_ThenItIsInRequestBody [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.78] NSwag.Generation.AspNetCore.Tests.Parameters.FormDataTests.WhenOperationHasFormDataFile_ThenItIsInRequestBody [FAIL]
ubuntu-latest
Target "Test" has thrown an exception
windows-latest
[xUnit.net 00:00:04.99] NSwag.Generation.AspNetCore.Tests.Parameters.FormDataTests.WhenOperationHasFormDataComplex_ThenItIsInRequestBody [FAIL]
windows-latest
[xUnit.net 00:00:04.99] NSwag.Generation.AspNetCore.Tests.Parameters.HeaderParametersTests.When_complex_query_parameters_are_nullable_and_set_to_null_they_are_optional_in_spec [FAIL]
windows-latest
[xUnit.net 00:00:04.99] NSwag.Generation.AspNetCore.Tests.Parameters.QueryParametersTests.When_simple_query_parameters_are_nullable_and_set_to_null_they_are_optional_in_spec [FAIL]
windows-latest
[xUnit.net 00:00:05.01] NSwag.Generation.AspNetCore.Tests.Parameters.QueryParametersTests.When_simple_query_parameter_has_BindRequiredAttribute_then_it_is_required [FAIL]
windows-latest
[xUnit.net 00:00:05.04] NSwag.Generation.AspNetCore.Tests.Parameters.FormDataTests.WhenOperationHasFormDataFile_ThenItIsInRequestBody [FAIL]
windows-latest
[xUnit.net 00:00:03.07] NSwag.Generation.AspNetCore.Tests.Parameters.QueryParametersTests.When_simple_query_parameters_are_nullable_and_set_to_null_they_are_optional_in_spec [FAIL]
windows-latest
[xUnit.net 00:00:03.08] NSwag.Generation.AspNetCore.Tests.Parameters.FormDataTests.WhenOperationHasFormDataComplex_ThenItIsInRequestBody [FAIL]
windows-latest
[xUnit.net 00:00:03.08] NSwag.Generation.AspNetCore.Tests.Parameters.QueryParametersTests.When_simple_query_parameter_has_BindRequiredAttribute_then_it_is_required [FAIL]
windows-latest
[xUnit.net 00:00:03.09] NSwag.Generation.AspNetCore.Tests.Parameters.FormDataTests.WhenOperationHasFormDataFile_ThenItIsInRequestBody [FAIL]
windows-latest
Target "Test" has thrown an exception
macos-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
windows-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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.400\Microsoft.Common.CurrentVersion.targets(2412,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]