Skip to content

[Snyk] Security upgrade WireMock.Net from 1.4.41 to 1.5.47 #17

[Snyk] Security upgrade WireMock.Net from 1.4.41 to 1.5.47

[Snyk] Security upgrade WireMock.Net from 1.4.41 to 1.5.47 #17

Triggered via pull request January 26, 2024 14:41
Status Success
Total duration 35s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: 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.
build: src/TBC.OpenAPI.SDK.ExchangeRates/Models/GetCommercialRatesResponse.cs#L16
Change 'CommercialRatesList' to be read-only by removing the property setter
build: 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>'
build: src/TBC.OpenAPI.SDK.ExchangeRates/Models/GetCommercialRatesResponse.cs#L16
Change 'CommercialRatesList' to be read-only by removing the property setter
build: 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>'
build: 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.
build: 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.
build: 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.
build: 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.
build: 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.