diff --git a/get-started/azure-auth/cli/src/Client/GetUserApiClient.cs b/get-started/azure-auth/cli/src/Client/GetUserApiClient.cs
index 6cb23a5fb..038eaa933 100644
--- a/get-started/azure-auth/cli/src/Client/GetUserApiClient.cs
+++ b/get-started/azure-auth/cli/src/Client/GetUserApiClient.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using GetUserClient.ApiClient.Me;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions;
@@ -19,7 +20,7 @@ namespace GetUserClient.ApiClient
///
/// The main entry point of the SDK, exposes the configuration and the fluent API.
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class GetUserApiClient : BaseCliRequestBuilder
{
///
@@ -58,3 +59,4 @@ public Command BuildRootCommand()
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/azure-auth/cli/src/Client/Me/MeRequestBuilder.cs b/get-started/azure-auth/cli/src/Client/Me/MeRequestBuilder.cs
index b16e7eb9b..031e547bc 100644
--- a/get-started/azure-auth/cli/src/Client/Me/MeRequestBuilder.cs
+++ b/get-started/azure-auth/cli/src/Client/Me/MeRequestBuilder.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using GetUserClient.ApiClient.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
@@ -18,7 +19,7 @@ namespace GetUserClient.ApiClient.Me
///
/// Builds and executes requests for operations under \me
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class MeRequestBuilder : BaseCliRequestBuilder
{
/// A
@@ -77,3 +78,4 @@ public RequestInformation ToGetRequestInformation(Action
+#pragma warning disable CS0618
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
using System.Collections.Generic;
@@ -6,7 +7,7 @@
using System;
namespace GetUserClient.ApiClient.Models
{
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
#pragma warning disable CS1591
public partial class User : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
@@ -71,3 +72,4 @@ public virtual void Serialize(ISerializationWriter writer)
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/azure-auth/cli/src/Client/kiota-lock.json b/get-started/azure-auth/cli/src/Client/kiota-lock.json
index d0fe603e3..ed4823c4a 100644
--- a/get-started/azure-auth/cli/src/Client/kiota-lock.json
+++ b/get-started/azure-auth/cli/src/Client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "GetUserApiClient",
"clientNamespaceName": "GetUserClient.ApiClient",
"language": "CLI",
diff --git a/get-started/azure-auth/dotnet/src/Client/GetUserApiClient.cs b/get-started/azure-auth/dotnet/src/Client/GetUserApiClient.cs
index 6cae762ba..eeb69a7d7 100644
--- a/get-started/azure-auth/dotnet/src/Client/GetUserApiClient.cs
+++ b/get-started/azure-auth/dotnet/src/Client/GetUserApiClient.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using GetUserClient.ApiClient.Me;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions;
@@ -15,7 +16,7 @@ namespace GetUserClient.ApiClient
///
/// The main entry point of the SDK, exposes the configuration and the fluent API.
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class GetUserApiClient : BaseRequestBuilder
{
/// The me property
@@ -44,3 +45,4 @@ public partial class GetUserApiClient : BaseRequestBuilder
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/azure-auth/dotnet/src/Client/Me/MeRequestBuilder.cs b/get-started/azure-auth/dotnet/src/Client/Me/MeRequestBuilder.cs
index cfa56264f..175b650af 100644
--- a/get-started/azure-auth/dotnet/src/Client/Me/MeRequestBuilder.cs
+++ b/get-started/azure-auth/dotnet/src/Client/Me/MeRequestBuilder.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using GetUserClient.ApiClient.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
@@ -13,7 +14,7 @@ namespace GetUserClient.ApiClient.Me
///
/// Builds and executes requests for operations under \me
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class MeRequestBuilder : BaseRequestBuilder
{
///
@@ -76,9 +77,10 @@ public RequestInformation ToGetRequestInformation(Action
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class MeRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/azure-auth/dotnet/src/Client/Models/User.cs b/get-started/azure-auth/dotnet/src/Client/Models/User.cs
index d6d514def..e11fb50e7 100644
--- a/get-started/azure-auth/dotnet/src/Client/Models/User.cs
+++ b/get-started/azure-auth/dotnet/src/Client/Models/User.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
using System.Collections.Generic;
@@ -6,7 +7,7 @@
using System;
namespace GetUserClient.ApiClient.Models
{
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
#pragma warning disable CS1591
public partial class User : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
@@ -71,3 +72,4 @@ public virtual void Serialize(ISerializationWriter writer)
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/azure-auth/dotnet/src/Client/kiota-lock.json b/get-started/azure-auth/dotnet/src/Client/kiota-lock.json
index a357e43e0..e3b5318f4 100644
--- a/get-started/azure-auth/dotnet/src/Client/kiota-lock.json
+++ b/get-started/azure-auth/dotnet/src/Client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "GetUserApiClient",
"clientNamespaceName": "GetUserClient.ApiClient",
"language": "CSharp",
diff --git a/get-started/azure-auth/go/client/kiota-lock.json b/get-started/azure-auth/go/client/kiota-lock.json
index 163d6c5cc..d2a311a4a 100644
--- a/get-started/azure-auth/go/client/kiota-lock.json
+++ b/get-started/azure-auth/go/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "GraphApiClient",
"clientNamespaceName": "getuser/client",
"language": "Go",
diff --git a/get-started/azure-auth/java/app/src/main/java/getuserclient/apiclient/kiota-lock.json b/get-started/azure-auth/java/app/src/main/java/getuserclient/apiclient/kiota-lock.json
index d4241aa99..8e95f3bb5 100644
--- a/get-started/azure-auth/java/app/src/main/java/getuserclient/apiclient/kiota-lock.json
+++ b/get-started/azure-auth/java/app/src/main/java/getuserclient/apiclient/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../../../../../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "GetUserApiClient",
"clientNamespaceName": "getuserclient.apiclient",
"language": "Java",
diff --git a/get-started/azure-auth/php/client/kiota-lock.json b/get-started/azure-auth/php/client/kiota-lock.json
index 32c91a957..35c0fdc10 100644
--- a/get-started/azure-auth/php/client/kiota-lock.json
+++ b/get-started/azure-auth/php/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "GraphApiClient",
"clientNamespaceName": "GetUser\\Client",
"language": "PHP",
diff --git a/get-started/azure-auth/python/client/kiota-lock.json b/get-started/azure-auth/python/client/kiota-lock.json
index a04a49d9c..754d598bc 100644
--- a/get-started/azure-auth/python/client/kiota-lock.json
+++ b/get-started/azure-auth/python/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "GetUserApiClient",
"clientNamespaceName": "client",
"language": "Python",
diff --git a/get-started/azure-auth/ruby/client/kiota-lock.json b/get-started/azure-auth/ruby/client/kiota-lock.json
index 1edd2fd34..cbf731214 100644
--- a/get-started/azure-auth/ruby/client/kiota-lock.json
+++ b/get-started/azure-auth/ruby/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "GetUserApiClient",
"clientNamespaceName": "GetUser",
"language": "Ruby",
diff --git a/get-started/azure-auth/typescript/client/getUserApiClient.ts b/get-started/azure-auth/typescript/client/getUserApiClient.ts
index a843a5990..c0d0136f7 100644
--- a/get-started/azure-auth/typescript/client/getUserApiClient.ts
+++ b/get-started/azure-auth/typescript/client/getUserApiClient.ts
@@ -27,7 +27,7 @@ export function createGetUserApiClient(requestAdapter: RequestAdapter) {
registerDefaultDeserializer(JsonParseNodeFactory);
registerDefaultDeserializer(TextParseNodeFactory);
registerDefaultDeserializer(FormParseNodeFactory);
- if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === "") {
+ if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === null || requestAdapter.baseUrl === "") {
requestAdapter.baseUrl = "https://graph.microsoft.com/v1.0";
}
const pathParameters: Record = {
diff --git a/get-started/azure-auth/typescript/client/kiota-lock.json b/get-started/azure-auth/typescript/client/kiota-lock.json
index 4149b6737..6eeed5b99 100644
--- a/get-started/azure-auth/typescript/client/kiota-lock.json
+++ b/get-started/azure-auth/typescript/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "GetUserApiClient",
"clientNamespaceName": "ApiSdk",
"language": "TypeScript",
diff --git a/get-started/azure-auth/typescript/client/models/index.ts b/get-started/azure-auth/typescript/client/models/index.ts
index 40283ca53..987f1c01a 100644
--- a/get-started/azure-auth/typescript/client/models/index.ts
+++ b/get-started/azure-auth/typescript/client/models/index.ts
@@ -29,10 +29,12 @@ export function deserializeIntoUser(user: Partial | undefined = {}) : Reco
* @param writer Serialization writer to use to serialize this model
*/
// @ts-ignore
-export function serializeUser(writer: SerializationWriter, user: Partial | undefined = {}) : void {
- writer.writeStringValue("displayName", user.displayName);
- writer.writeStringValue("id", user.id);
- writer.writeAdditionalData(user.additionalData);
+export function serializeUser(writer: SerializationWriter, user: Partial | undefined | null = {}) : void {
+ if (user) {
+ writer.writeStringValue("displayName", user.displayName);
+ writer.writeStringValue("id", user.id);
+ writer.writeAdditionalData(user.additionalData);
+ }
}
export interface User extends AdditionalDataHolder, Parsable {
/**
@@ -42,11 +44,11 @@ export interface User extends AdditionalDataHolder, Parsable {
/**
* The displayName property
*/
- displayName?: string;
+ displayName?: string | null;
/**
* The id property
*/
- id?: string;
+ id?: string | null;
}
/* tslint:enable */
/* eslint-enable */
diff --git a/get-started/quickstart/cli/src/Client/Models/Post.cs b/get-started/quickstart/cli/src/Client/Models/Post.cs
index 05f5ed0d8..aded5d2b2 100644
--- a/get-started/quickstart/cli/src/Client/Models/Post.cs
+++ b/get-started/quickstart/cli/src/Client/Models/Post.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
using System.Collections.Generic;
@@ -6,7 +7,7 @@
using System;
namespace KiotaPostsCLI.Client.Models
{
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
#pragma warning disable CS1591
public partial class Post : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
@@ -79,3 +80,4 @@ public virtual void Serialize(ISerializationWriter writer)
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/quickstart/cli/src/Client/Posts/Item/PostItemRequestBuilder.cs b/get-started/quickstart/cli/src/Client/Posts/Item/PostItemRequestBuilder.cs
index d06ab7b47..a650fac8f 100644
--- a/get-started/quickstart/cli/src/Client/Posts/Item/PostItemRequestBuilder.cs
+++ b/get-started/quickstart/cli/src/Client/Posts/Item/PostItemRequestBuilder.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using KiotaPostsCLI.Client.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
@@ -18,7 +19,7 @@ namespace KiotaPostsCLI.Client.Posts.Item
///
/// Builds and executes requests for operations under \posts\{post-id}
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostItemRequestBuilder : BaseCliRequestBuilder
{
///
@@ -212,3 +213,4 @@ public RequestInformation ToPatchRequestInformation(global::KiotaPostsCLI.Client
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/quickstart/cli/src/Client/Posts/PostsRequestBuilder.cs b/get-started/quickstart/cli/src/Client/Posts/PostsRequestBuilder.cs
index b3f77d6e8..5eeb8bd12 100644
--- a/get-started/quickstart/cli/src/Client/Posts/PostsRequestBuilder.cs
+++ b/get-started/quickstart/cli/src/Client/Posts/PostsRequestBuilder.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using KiotaPostsCLI.Client.Models;
using KiotaPostsCLI.Client.Posts.Item;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -19,7 +20,7 @@ namespace KiotaPostsCLI.Client.Posts
///
/// Builds and executes requests for operations under \posts
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostsRequestBuilder : BaseCliRequestBuilder
{
///
@@ -173,7 +174,7 @@ public RequestInformation ToPostRequestInformation(global::KiotaPostsCLI.Client.
///
/// Get posts
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostsRequestBuilderGetQueryParameters
{
/// Filter results by title
@@ -192,3 +193,4 @@ public partial class PostsRequestBuilderGetQueryParameters
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/quickstart/cli/src/Client/PostsClient.cs b/get-started/quickstart/cli/src/Client/PostsClient.cs
index 67b26f200..fd607373b 100644
--- a/get-started/quickstart/cli/src/Client/PostsClient.cs
+++ b/get-started/quickstart/cli/src/Client/PostsClient.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using KiotaPostsCLI.Client.Posts;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions;
@@ -19,7 +20,7 @@ namespace KiotaPostsCLI.Client
///
/// The main entry point of the SDK, exposes the configuration and the fluent API.
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostsClient : BaseCliRequestBuilder
{
///
@@ -67,3 +68,4 @@ public Command BuildRootCommand()
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/quickstart/cli/src/Client/kiota-lock.json b/get-started/quickstart/cli/src/Client/kiota-lock.json
index 8cb3f121b..a4336309b 100644
--- a/get-started/quickstart/cli/src/Client/kiota-lock.json
+++ b/get-started/quickstart/cli/src/Client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "PostsClient",
"clientNamespaceName": "KiotaPostsCLI.Client",
"language": "CLI",
diff --git a/get-started/quickstart/dotnet/src/Client/Models/Post.cs b/get-started/quickstart/dotnet/src/Client/Models/Post.cs
index d15d4fcbd..2472f6125 100644
--- a/get-started/quickstart/dotnet/src/Client/Models/Post.cs
+++ b/get-started/quickstart/dotnet/src/Client/Models/Post.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
using System.Collections.Generic;
@@ -6,7 +7,7 @@
using System;
namespace KiotaPosts.Client.Models
{
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
#pragma warning disable CS1591
public partial class Post : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
@@ -79,3 +80,4 @@ public virtual void Serialize(ISerializationWriter writer)
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/quickstart/dotnet/src/Client/Posts/Item/PostItemRequestBuilder.cs b/get-started/quickstart/dotnet/src/Client/Posts/Item/PostItemRequestBuilder.cs
index fd1b51241..2410b7b11 100644
--- a/get-started/quickstart/dotnet/src/Client/Posts/Item/PostItemRequestBuilder.cs
+++ b/get-started/quickstart/dotnet/src/Client/Posts/Item/PostItemRequestBuilder.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using KiotaPosts.Client.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
@@ -13,7 +14,7 @@ namespace KiotaPosts.Client.Posts.Item
///
/// Builds and executes requests for operations under \posts\{post-id}
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostItemRequestBuilder : BaseRequestBuilder
{
///
@@ -160,7 +161,7 @@ public RequestInformation ToPatchRequestInformation(global::KiotaPosts.Client.Mo
/// Configuration for the request such as headers, query parameters, and middleware options.
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
{
}
@@ -168,7 +169,7 @@ public partial class PostItemRequestBuilderDeleteRequestConfiguration : RequestC
/// Configuration for the request such as headers, query parameters, and middleware options.
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostItemRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
@@ -176,9 +177,10 @@ public partial class PostItemRequestBuilderGetRequestConfiguration : RequestConf
/// Configuration for the request such as headers, query parameters, and middleware options.
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
{
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/quickstart/dotnet/src/Client/Posts/PostsRequestBuilder.cs b/get-started/quickstart/dotnet/src/Client/Posts/PostsRequestBuilder.cs
index 2c931e612..bb1b67371 100644
--- a/get-started/quickstart/dotnet/src/Client/Posts/PostsRequestBuilder.cs
+++ b/get-started/quickstart/dotnet/src/Client/Posts/PostsRequestBuilder.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using KiotaPosts.Client.Models;
using KiotaPosts.Client.Posts.Item;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -14,7 +15,7 @@ namespace KiotaPosts.Client.Posts
///
/// Builds and executes requests for operations under \posts
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostsRequestBuilder : BaseRequestBuilder
{
/// Gets an item from the KiotaPosts.Client.posts.item collection
@@ -150,7 +151,7 @@ public RequestInformation ToPostRequestInformation(global::KiotaPosts.Client.Mod
///
/// Get posts
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostsRequestBuilderGetQueryParameters
{
/// Filter results by title
@@ -171,7 +172,7 @@ public partial class PostsRequestBuilderGetQueryParameters
/// Configuration for the request such as headers, query parameters, and middleware options.
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostsRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
@@ -179,9 +180,10 @@ public partial class PostsRequestBuilderGetRequestConfiguration : RequestConfigu
/// Configuration for the request such as headers, query parameters, and middleware options.
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostsRequestBuilderPostRequestConfiguration : RequestConfiguration
{
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/quickstart/dotnet/src/Client/PostsClient.cs b/get-started/quickstart/dotnet/src/Client/PostsClient.cs
index 8563b1a75..327e1e7b1 100644
--- a/get-started/quickstart/dotnet/src/Client/PostsClient.cs
+++ b/get-started/quickstart/dotnet/src/Client/PostsClient.cs
@@ -1,4 +1,5 @@
//
+#pragma warning disable CS0618
using KiotaPosts.Client.Posts;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions;
@@ -15,7 +16,7 @@ namespace KiotaPosts.Client
///
/// The main entry point of the SDK, exposes the configuration and the fluent API.
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class PostsClient : BaseRequestBuilder
{
/// The posts property
@@ -44,3 +45,4 @@ public partial class PostsClient : BaseRequestBuilder
}
}
}
+#pragma warning restore CS0618
diff --git a/get-started/quickstart/dotnet/src/Client/kiota-lock.json b/get-started/quickstart/dotnet/src/Client/kiota-lock.json
index 7a46180f2..7ec359dc2 100644
--- a/get-started/quickstart/dotnet/src/Client/kiota-lock.json
+++ b/get-started/quickstart/dotnet/src/Client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "PostsClient",
"clientNamespaceName": "KiotaPosts.Client",
"language": "CSharp",
diff --git a/get-started/quickstart/go/client/kiota-lock.json b/get-started/quickstart/go/client/kiota-lock.json
index 7aa496134..ca1ece8ff 100644
--- a/get-started/quickstart/go/client/kiota-lock.json
+++ b/get-started/quickstart/go/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "PostsClient",
"clientNamespaceName": "kiota_posts/client",
"language": "Go",
diff --git a/get-started/quickstart/java/app/src/main/java/kiotaposts/client/kiota-lock.json b/get-started/quickstart/java/app/src/main/java/kiotaposts/client/kiota-lock.json
index 85523e977..4e949dd22 100644
--- a/get-started/quickstart/java/app/src/main/java/kiotaposts/client/kiota-lock.json
+++ b/get-started/quickstart/java/app/src/main/java/kiotaposts/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../../../../../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "PostsClient",
"clientNamespaceName": "kiotaposts.client",
"language": "Java",
diff --git a/get-started/quickstart/php/client/kiota-lock.json b/get-started/quickstart/php/client/kiota-lock.json
index 569f6d122..ebe6db38b 100644
--- a/get-started/quickstart/php/client/kiota-lock.json
+++ b/get-started/quickstart/php/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "PostsApiClient",
"clientNamespaceName": "KiotaPosts\\Client",
"language": "PHP",
diff --git a/get-started/quickstart/python/client/kiota-lock.json b/get-started/quickstart/python/client/kiota-lock.json
index 941d34f40..467bd9f7d 100644
--- a/get-started/quickstart/python/client/kiota-lock.json
+++ b/get-started/quickstart/python/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.17.0",
+ "kiotaVersion": "1.18.0",
"clientClassName": "PostsClient",
"clientNamespaceName": "client",
"language": "Python",
diff --git a/get-started/quickstart/typescript/client/postsClient.ts b/get-started/quickstart/typescript/client/postsClient.ts
index 5e3a8f325..390ddebbb 100644
--- a/get-started/quickstart/typescript/client/postsClient.ts
+++ b/get-started/quickstart/typescript/client/postsClient.ts
@@ -27,7 +27,7 @@ export function createPostsClient(requestAdapter: RequestAdapter) {
registerDefaultDeserializer(JsonParseNodeFactory);
registerDefaultDeserializer(TextParseNodeFactory);
registerDefaultDeserializer(FormParseNodeFactory);
- if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === "") {
+ if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === null || requestAdapter.baseUrl === "") {
requestAdapter.baseUrl = "https://jsonplaceholder.typicode.com";
}
const pathParameters: Record = {