Bump Microsoft.OpenApi from 1.6.14 to 1.6.15 in /src #7711
Annotations
10 warnings
Analyze Csharp:
src/IoTHub.Portal.Shared/Constants/CloudProviders.cs#L4
Rename namespace IoTHub.Portal.Shared.Constants so that it no longer conflicts with the reserved language keyword 'Shared'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Analyze Csharp:
src/IoTHub.Portal.Shared/Constants/CloudToDeviceMethods.cs#L6
Type 'CloudToDeviceMethods' is a static holder type but is neither static nor NotInheritable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1052)
|
Analyze Csharp:
src/IoTHub.Portal.Shared/Models/v1.0/IdeaRequest.cs#L4
Remove the underscores from namespace name 'IoTHub.Portal.Shared.Models.v1._0' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
Analyze Csharp:
src/IoTHub.Portal.Shared/Models/v1.0/IdeaRequest.cs#L4
Rename namespace IoTHub.Portal.Shared.Models.v1._0 so that it no longer conflicts with the reserved language keyword 'Shared'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Analyze Csharp:
src/IoTHub.Portal.Shared/Models/v1.0/IdeaResponse.cs#L8
Change the type of property 'IdeaResponse.Url' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056)
|
Analyze Csharp:
src/IoTHub.Portal.Shared/Models/v1.0/LoRaWAN/LoRaGatewayIDList.cs#L10
Change 'GatewayIds' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
Analyze Csharp:
src/IoTHub.Portal.Shared/Models/v1.0/LoRaWAN/LoRaGatewayIDList.cs#L10
Change 'List<string>' in 'LoRaGatewayIDList.GatewayIds' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
|
Analyze Csharp:
src/IoTHub.Portal.Shared/Models/v1.0/ConfigurationMetrics.cs#L4
Rename namespace IoTHub.Portal.Shared.Models.v10 so that it no longer conflicts with the reserved language keyword 'Shared'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Analyze Csharp:
src/IoTHub.Portal.Shared/Models/v1.0/EdgeModelSystemModule.cs#L16
Change 'EnvironmentVariables' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
Analyze Csharp:
src/IoTHub.Portal.Shared/Models/v1.0/EdgeModelSystemModule.cs#L16
Change 'List<IoTEdgeModuleEnvironmentVariable>' in 'EdgeModelSystemModule.EnvironmentVariables' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
|