diff --git a/src/GitHub/Models/CheckRun.cs b/src/GitHub/Models/CheckRun.cs index 17d8e49ff..02ab6d106 100644 --- a/src/GitHub/Models/CheckRun.cs +++ b/src/GitHub/Models/CheckRun.cs @@ -73,7 +73,7 @@ public class CheckRun : IAdditionalDataHolder, IParsable public string HtmlUrl { get; set; } #endif /// The id of the check. - public int? Id { get; set; } + public long? Id { get; set; } /// The name of the check. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -152,7 +152,7 @@ public virtual IDictionary> GetFieldDeserializers() {"external_id", n => { ExternalId = n.GetStringValue(); } }, {"head_sha", n => { HeadSha = n.GetStringValue(); } }, {"html_url", n => { HtmlUrl = n.GetStringValue(); } }, - {"id", n => { Id = n.GetIntValue(); } }, + {"id", n => { Id = n.GetLongValue(); } }, {"name", n => { Name = n.GetStringValue(); } }, {"node_id", n => { NodeId = n.GetStringValue(); } }, {"output", n => { Output = n.GetObjectValue(CheckRun_output.CreateFromDiscriminatorValue); } }, @@ -178,7 +178,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteStringValue("external_id", ExternalId); writer.WriteStringValue("head_sha", HeadSha); writer.WriteStringValue("html_url", HtmlUrl); - writer.WriteIntValue("id", Id); + writer.WriteLongValue("id", Id); writer.WriteStringValue("name", Name); writer.WriteStringValue("node_id", NodeId); writer.WriteObjectValue("output", Output); diff --git a/src/GitHub/Repos/Item/Item/Contents/Item/WithPathItemRequestBuilder.cs b/src/GitHub/Repos/Item/Item/Contents/Item/WithPathItemRequestBuilder.cs index 45b5a112b..31ae6078e 100644 --- a/src/GitHub/Repos/Item/Item/Contents/Item/WithPathItemRequestBuilder.cs +++ b/src/GitHub/Repos/Item/Item/Contents/Item/WithPathItemRequestBuilder.cs @@ -97,7 +97,6 @@ public async Task GetAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 404 status code - /// When receiving a 409 status code /// When receiving a 422 status code #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -113,7 +112,6 @@ public async Task PutAsync(WithPathPutRequestBody body, Action> { {"404", BasicError.CreateFromDiscriminatorValue}, - {"409", BasicError.CreateFromDiscriminatorValue}, {"422", ValidationError.CreateFromDiscriminatorValue}, }; return await RequestAdapter.SendAsync(requestInfo, FileCommit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); diff --git a/src/GitHub/Repos/Item/Item/Git/Blobs/BlobsRequestBuilder.cs b/src/GitHub/Repos/Item/Item/Git/Blobs/BlobsRequestBuilder.cs index a9fb7335f..006fdef06 100644 --- a/src/GitHub/Repos/Item/Item/Git/Blobs/BlobsRequestBuilder.cs +++ b/src/GitHub/Repos/Item/Item/Git/Blobs/BlobsRequestBuilder.cs @@ -54,7 +54,6 @@ public BlobsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// When receiving a 403 status code /// When receiving a 404 status code /// When receiving a 409 status code - /// When receiving a 422 status code #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(BlobsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -71,7 +70,6 @@ public async Task PostAsync(BlobsPostRequestBody body, Action(requestInfo, ShortBlob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } diff --git a/src/GitHub/kiota-lock.json b/src/GitHub/kiota-lock.json index aeeaf9445..8015df027 100644 --- a/src/GitHub/kiota-lock.json +++ b/src/GitHub/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "86C5D11D01116E2C1F2A835544126745671AC771F3A1AF1A01B9054F627A35ECF647D8D0084D5A4ACA4E89A7FF6FCCC2AE8134A146CA201FFDBC25D2B925E708", + "descriptionHash": "6CA137E1F68B10CB479F25A8C8834292DE7E77CD31EED411A6F07ADC2F822AE77386DA8282A349AA08AA0C97D296A957F77EF5F0BD685754B62676BE2E75A07A", "descriptionLocation": "../../../../../schemas/ghes-3.12.json", "lockFileVersion": "1.0.0", "kiotaVersion": "1.14.0",