Skip to content

Fixed OpenAPI specs for Post|PutPatch requests that have variables in… #288

Fixed OpenAPI specs for Post|PutPatch requests that have variables in…

Fixed OpenAPI specs for Post|PutPatch requests that have variables in… #288

Triggered via push August 6, 2024 21:02
Status Failure
Total duration 5m 44s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 23 warnings
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenAnyReadModel ► WhenComplete_ThenNoAlert: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az653-181_2024-08-06_21_06_56.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1" Diagnostics: // /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule020 ► WhenIsNotPublic_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az653-181_2024-08-06_21_06_56.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2" Diagnostics: // /0/Test0.cs(8,16): warning SAASAPP020: Class 'AClass' should be 'public' VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP020).WithSpan(8, 16, 8, 22).WithArguments("AClass"), // /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule021 ► WhenMissingEntityNameAttribute_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az653-181_2024-08-06_21_06_56.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2" Diagnostics: // /0/Test0.cs(7,14): warning SAASAPP021: Class 'AClass' must use the '[EntityNameAttribute]' VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP021).WithSpan(7, 14, 7, 20).WithArguments("AClass"), // /0/Test0.cs(9,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(9, 29, 9, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 ► WhenHasCtorAndIsParameterless_ThenNoAlert: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az653-181_2024-08-06_21_06_56.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1" Diagnostics: // /0/Test0.cs(15,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(15, 29, 15, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 ► WhenHasCtorAndNotParameterless_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az653-181_2024-08-06_21_06_56.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2" Diagnostics: // /0/Test0.cs(8,14): warning SAASAPP022: Class 'AClass' must have a public parameterless constructor, for serialization VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP022).WithSpan(8, 14, 8, 20).WithArguments("AClass"), // /0/Test0.cs(15,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(15, 29, 15, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 ► WhenHasCtorAndPrivate_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az653-181_2024-08-06_21_06_56.trx Error: System.InvalidOperationException : Context: Verifying exclusions in '#pragma warning disable' code Mismatch between number of diagnostics returned, expected "0" actual "1" Diagnostics: // /0/Test0.cs(16,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(16, 29, 16, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule023 ► WhenAnyPropertyHasNoSetter_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az653-181_2024-08-06_21_06_56.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2" Diagnostics: // /0/Test0.cs(10,29): warning SAASAPP023: Property 'AProperty' must have a 'public' getter and 'public' setter, for serialization VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP023).WithSpan(10, 29, 10, 38).WithArguments("AProperty"), // /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 ► WhenAnyPropertyIsNullable_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az653-181_2024-08-06_21_06_56.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2" Diagnostics: // /0/Test0.cs(10,20): warning SAASAPP024: Property 'AProperty' should be 'Optional<T>' not nullable VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP024).WithSpan(10, 20, 10, 29).WithArguments("AProperty"), // /0/Test0.cs(10,20): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 20, 10, 29).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 ► WhenAnyPropertyIsOptionalAndInitialized_ThenNoAlert: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az653-181_2024-08-06_21_06_56.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1" Diagnostics: // /0/Test0.cs(12,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 29, 12, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 ► WhenAnyPropertyIsOptionalAndNotInitialized_ThenNoAlert: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az653-181_2024-08-06_21_06_56.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1" Diagnostics: // /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule025 ► WhenAnyPropertyIsSupportedDictionaryOfPrimitive_ThenNoAlert: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az653-181_2024-08-06_21_06_56.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1" Diagnostics: // /0/Test0.cs(12,49): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 49, 12, 58).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
test
Process completed with exit code 1.
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, dorny/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
Test report summary exceeded limit of 65535 bytes and will be trimmed
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/Application.Resources.Shared/Ancillary.cs#L30
Property 'Attempts' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L7
Property 'AgainstId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L59
Property 'Data' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L9
Property 'AuditCode' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L32
Property 'Body' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L61
Property 'EventType' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L34
Property 'DeliveredAt' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L11
Property 'MessageTemplate' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L63
Property 'MetadataFullyQualifiedName' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Application.Resources.Shared/Ancillary.cs#L13
Property 'OrganizationId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
build: src/Domain.Events.Shared/Cars/Created.cs#L19
Property 'OrganizationId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
build: src/Domain.Events.Shared/Cars/ManufacturerChanged.cs#L18
Property 'Make' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
build: src/Domain.Events.Shared/Ancillary/Audits/Created.cs#L18
Property 'AgainstId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
build: src/Domain.Events.Shared/Cars/ManufacturerChanged.cs#L20
Property 'Model' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
build: src/Domain.Events.Shared/Ancillary/Audits/Created.cs#L20
Property 'AuditCode' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
build: src/Domain.Events.Shared/Cars/ManufacturerChanged.cs#L22
Property 'OrganizationId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
build: src/Domain.Events.Shared/Ancillary/Audits/Created.cs#L22
Property 'MessageTemplate' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
build: src/Domain.Events.Shared/Cars/OwnershipChanged.cs#L18
Property 'Managers' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
build: src/Domain.Events.Shared/Cars/ManufacturerChanged.cs#L24
Property 'Year' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
build: src/Domain.Events.Shared/Ancillary/Audits/Created.cs#L24
Property 'OrganizationId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO