Skip to content

feat: Add writer settings to enable collection sorting using a comparer #6676

feat: Add writer settings to enable collection sorting using a comparer

feat: Add writer settings to enable collection sorting using a comparer #6676

Triggered via pull request May 21, 2025 08:20
Status Failure
Total duration 1m 33s
Artifacts

ci-cd.yml

on: pull_request
Continuous Integration
40s
Continuous Integration
Validate Project for Trimming
1m 20s
Validate Project for Trimming
Validate performance of the library
0s
Validate performance of the library
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L704
Argument 1: cannot convert from 'System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiLink>' to 'System.Collections.Generic.Dictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiLink>'
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L703
Operator '??=' cannot be applied to operands of type 'IDictionary<string, IOpenApiLink>' and 'collection expressions'
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L700
Argument 1: cannot convert from 'System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiRequestBody>' to 'System.Collections.Generic.Dictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiRequestBody>'
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L699
Operator '??=' cannot be applied to operands of type 'IDictionary<string, IOpenApiRequestBody>' and 'collection expressions'
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L696
Argument 1: cannot convert from 'System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiResponse>' to 'System.Collections.Generic.Dictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiResponse>'
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L695
Operator '??=' cannot be applied to operands of type 'IDictionary<string, IOpenApiResponse>' and 'collection expressions'
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L692
Argument 1: cannot convert from 'System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiParameter>' to 'System.Collections.Generic.Dictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiParameter>'
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L691
Operator '??=' cannot be applied to operands of type 'IDictionary<string, IOpenApiParameter>' and 'collection expressions'
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L688
Argument 1: cannot convert from 'System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiSchema>' to 'System.Collections.Generic.Dictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiSchema>'
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L687
Operator '??=' cannot be applied to operands of type 'IDictionary<string, IOpenApiSchema>' and 'collection expressions'
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L704
Argument 1: cannot convert from 'System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiLink>' to 'System.Collections.Generic.Dictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiLink>'
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L703
Operator '??=' cannot be applied to operands of type 'IDictionary<string, IOpenApiLink>' and 'collection expressions'
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L700
Argument 1: cannot convert from 'System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiRequestBody>' to 'System.Collections.Generic.Dictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiRequestBody>'
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L699
Operator '??=' cannot be applied to operands of type 'IDictionary<string, IOpenApiRequestBody>' and 'collection expressions'
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L696
Argument 1: cannot convert from 'System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiResponse>' to 'System.Collections.Generic.Dictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiResponse>'
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L695
Operator '??=' cannot be applied to operands of type 'IDictionary<string, IOpenApiResponse>' and 'collection expressions'
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L692
Argument 1: cannot convert from 'System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiParameter>' to 'System.Collections.Generic.Dictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiParameter>'
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L691
Operator '??=' cannot be applied to operands of type 'IDictionary<string, IOpenApiParameter>' and 'collection expressions'
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L688
Argument 1: cannot convert from 'System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiSchema>' to 'System.Collections.Generic.Dictionary<string, Microsoft.OpenApi.Models.Interfaces.IOpenApiSchema>'
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L687
Operator '??=' cannot be applied to operands of type 'IDictionary<string, IOpenApiSchema>' and 'collection expressions'