|
| 1 | +// <auto-generated/> |
| 2 | +#pragma warning disable CS0618 |
| 3 | +using Microsoft.Kiota.Abstractions.Extensions; |
| 4 | +using Microsoft.Kiota.Abstractions; |
| 5 | +using Microsoft.Kiota.Serialization.Form; |
| 6 | +using Microsoft.Kiota.Serialization.Json; |
| 7 | +using Microsoft.Kiota.Serialization.Multipart; |
| 8 | +using Microsoft.Kiota.Serialization.Text; |
| 9 | +using Swashbuckle.AspNetCore.IntegrationTests.KiotaTests.Weatherforecast; |
| 10 | +using System.Collections.Generic; |
| 11 | +using System.IO; |
| 12 | +using System.Threading.Tasks; |
| 13 | +using System; |
| 14 | +namespace Swashbuckle.AspNetCore.IntegrationTests.KiotaTests |
| 15 | +{ |
| 16 | + /// <summary> |
| 17 | + /// The main entry point of the SDK, exposes the configuration and the fluent API. |
| 18 | + /// </summary> |
| 19 | + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] |
| 20 | + public partial class KiotaOpenApiClient : BaseRequestBuilder |
| 21 | + { |
| 22 | + /// <summary>The weatherforecast property</summary> |
| 23 | + public global::Swashbuckle.AspNetCore.IntegrationTests.KiotaTests.Weatherforecast.WeatherforecastRequestBuilder Weatherforecast |
| 24 | + { |
| 25 | + get => new global::Swashbuckle.AspNetCore.IntegrationTests.KiotaTests.Weatherforecast.WeatherforecastRequestBuilder(PathParameters, RequestAdapter); |
| 26 | + } |
| 27 | + /// <summary> |
| 28 | + /// Instantiates a new <see cref="global::Swashbuckle.AspNetCore.IntegrationTests.KiotaTests.KiotaOpenApiClient"/> and sets the default values. |
| 29 | + /// </summary> |
| 30 | + /// <param name="requestAdapter">The request adapter to use to execute the requests.</param> |
| 31 | + public KiotaOpenApiClient(IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}", new Dictionary<string, object>()) |
| 32 | + { |
| 33 | + ApiClientBuilder.RegisterDefaultSerializer<JsonSerializationWriterFactory>(); |
| 34 | + ApiClientBuilder.RegisterDefaultSerializer<TextSerializationWriterFactory>(); |
| 35 | + ApiClientBuilder.RegisterDefaultSerializer<FormSerializationWriterFactory>(); |
| 36 | + ApiClientBuilder.RegisterDefaultSerializer<MultipartSerializationWriterFactory>(); |
| 37 | + ApiClientBuilder.RegisterDefaultDeserializer<JsonParseNodeFactory>(); |
| 38 | + ApiClientBuilder.RegisterDefaultDeserializer<TextParseNodeFactory>(); |
| 39 | + ApiClientBuilder.RegisterDefaultDeserializer<FormParseNodeFactory>(); |
| 40 | + } |
| 41 | + } |
| 42 | +} |
| 43 | +#pragma warning restore CS0618 |
0 commit comments