Skip to content

chore: Update .codegen.json with commit hash of codegen and openapi spec #477

chore: Update .codegen.json with commit hash of codegen and openapi spec

chore: Update .codegen.json with commit hash of codegen and openapi spec #477

Triggered via pull request November 25, 2024 11:13
Status Failure
Total duration 11m 1s
Artifacts

build.yml

on: pull_request
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/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)'.
.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/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/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.