Skip to content

fix: Support status codes with no content (box/box-codegen#604) (#314) #457

fix: Support status codes with no content (box/box-codegen#604) (#314)

fix: Support status codes with no content (box/box-codegen#604) (#314) #457

Triggered via push November 19, 2024 12:51
Status Failure
Total duration 10m 20s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
.NET 6
Process completed with exit code 1.
.NET 6
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
.NET 6
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
.NET 6: Box.Sdk.Gen/Networking/NetworkSession.cs#L51
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'dict1' of type 'Dictionary<string, string?>' in 'Dictionary<string, string?> DictionaryUtils.MergeDictionaries<string, string>(Dictionary<string, string?> dict1, Dictionary<string, string?>? dict2)' due to differences in the nullability of reference types.
.NET 6: Box.Sdk.Gen/Networking/NetworkSession.cs#L51
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'dict2' of type 'Dictionary<string, string?>' in 'Dictionary<string, string?> DictionaryUtils.MergeDictionaries<string, string>(Dictionary<string, string?> dict1, Dictionary<string, string?>? dict2)' due to differences in the nullability of reference types.
.NET 6: Box.Sdk.Gen/Networking/NetworkSession.cs#L51
Argument of type 'Dictionary<string, string?>' cannot be used for parameter 'additionalHeaders' of type 'Dictionary<string, string>' in 'NetworkSession.NetworkSession(Dictionary<string, string>? additionalHeaders = null, BaseUrls? baseUrls = null)' due to differences in the nullability of reference types.
.NET 6: Box.Sdk.Gen/Box/Oauth/BoxOAuth.cs#L33
Possible null reference argument for parameter 'value' in 'void Dictionary<string, string>.Add(string key, string value)'.
.NET 6: Box.Sdk.Gen/Box/Oauth/BoxOAuth.cs#L33
Possible null reference argument for parameter 'value' in 'void Dictionary<string, string>.Add(string key, string value)'.
.NET 6: Box.Sdk.Gen/Box/Oauth/BoxOAuth.cs#L33
Possible null reference argument for parameter 'value' in 'void Dictionary<string, string>.Add(string key, string value)'.
.NET 6: Box.Sdk.Gen/Box/Oauth/BoxOAuth.cs#L33
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'map' of type 'Dictionary<string, string?>' in 'Dictionary<string, string> Utils.PrepareParams(Dictionary<string, string?> map)' due to differences in the nullability of reference types.
.NET 6: Box.Sdk.Gen/Box/DeveloperTokenAuth/BoxDeveloperTokenAuth.cs#L48
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
.NET 6: Box.Sdk.Gen/Box/JwtAuth/BoxJwtAuth.cs#L49
Possible null reference argument for parameter 'value' in 'void Dictionary<string, object>.Add(string key, object value)'.
.NET 6: Box.Sdk.Gen/Box/JwtAuth/BoxJwtAuth.cs#L50
Possible null reference argument for parameter 'subject' in 'JwtSignOptions.JwtSignOptions(JwtAlgorithm algorithm, string audience, string subject, string issuer, string jwtid, string keyid)'.