[Snyk] Security upgrade System.Text.Json from 6.0.3 to 6.0.10 #18
Annotations
11 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
src/TBC.OpenAPI.SDK.ExchangeRates/ExchangeRatesClient.cs#L110
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
src/TBC.OpenAPI.SDK.ExchangeRates/Models/GetCommercialRatesResponse.cs#L16
Change 'CommercialRatesList' to be read-only by removing the property setter
|
src/TBC.OpenAPI.SDK.ExchangeRates/Models/GetCommercialRatesResponse.cs#L16
Change 'List<CommercialRate>' in 'GetCommercialRatesResponse.CommercialRatesList' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>'
|
src/TBC.OpenAPI.SDK.ExchangeRates/Models/GetCommercialRatesResponse.cs#L16
Change 'CommercialRatesList' to be read-only by removing the property setter
|
src/TBC.OpenAPI.SDK.ExchangeRates/Models/GetCommercialRatesResponse.cs#L16
Change 'List<CommercialRate>' in 'GetCommercialRatesResponse.CommercialRatesList' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>'
|
src/TBC.OpenAPI.SDK.ExchangeRates/Interfaces/IExchangeRatesClient.cs#L9
In virtual/interface member IExchangeRatesClient.ConvertCommercialRate(decimal, string, string, CancellationToken), rename parameter to so that it no longer conflicts with the reserved language keyword 'To'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member.
|
src/TBC.OpenAPI.SDK.ExchangeRates/Interfaces/IExchangeRatesClient.cs#L9
In virtual/interface member IExchangeRatesClient.ConvertCommercialRate(decimal, string, string, CancellationToken), rename parameter to so that it no longer conflicts with the reserved language keyword 'To'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member.
|
src/TBC.OpenAPI.SDK.ExchangeRates/Interfaces/IExchangeRatesClient.cs#L11
In virtual/interface member IExchangeRatesClient.GetOfficialRatesByDate(IEnumerable<string>, string, CancellationToken), rename parameter date so that it no longer conflicts with the reserved language keyword 'Date'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member.
|
src/TBC.OpenAPI.SDK.ExchangeRates/Interfaces/IExchangeRatesClient.cs#L11
In virtual/interface member IExchangeRatesClient.GetOfficialRatesByDate(IEnumerable<string>, string, CancellationToken), rename parameter date so that it no longer conflicts with the reserved language keyword 'Date'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member.
|
src/TBC.OpenAPI.SDK.ExchangeRates/Interfaces/IExchangeRatesClient.cs#L12
In virtual/interface member IExchangeRatesClient.ConvertOfficialRates(decimal, string, string, CancellationToken), rename parameter to so that it no longer conflicts with the reserved language keyword 'To'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member.
|
This job succeeded
Loading