Skip to content

Commit

Permalink
fix: Fixed missing xml docs for jsonSerializerOptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Jun 15, 2024
1 parent 3785c30 commit 5c0f5d8
Show file tree
Hide file tree
Showing 128 changed files with 129 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libs/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</ItemGroup>

<PropertyGroup Label="Versioning">
<Version>0.10.6</Version>
<Version>0.10.7</Version>
<MinVerMinimumMajorMinor>0.1</MinVerMinimumMajorMinor>
<MinVerTagPrefix>v</MinVerTagPrefix>
<MinVerDefaultPreReleaseIdentifiers>dev</MinVerDefaultPreReleaseIdentifiers>
Expand Down
3 changes: 2 additions & 1 deletion src/libs/OpenApiGenerator.Core/Generation/Sources.Clients.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public sealed partial class {endPoint.ClassName} : global::System.IDisposable
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
/// <param name=""httpClient""></param>
/// <param name=""baseUri""></param>
/// <param name=""baseUri""></param>{(hasOptions ? @"
/// <param name=""jsonSerializerOptions""></param>" : " ")}
public {endPoint.ClassName}(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null{(hasOptions ? $@",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public sealed partial class Api : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public Api(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class MigrationsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public MigrationsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public sealed partial class Api : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public Api(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class MigrationsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public MigrationsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class AbuseClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public AbuseClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public sealed partial class Api : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public Api(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class AsnClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public AsnClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class DomainsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public DomainsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class GeneralClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public GeneralClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class PrivacyDetectionClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public PrivacyDetectionClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class RangesClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public RangesClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class SingleClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public SingleClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class AbuseClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public AbuseClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public sealed partial class Api : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public Api(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class AsnClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public AsnClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class DomainsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public DomainsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class GeneralClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public GeneralClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class PrivacyDetectionClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public PrivacyDetectionClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class RangesClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public RangesClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class SingleClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public SingleClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class Api : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public Api(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class Api : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public Api(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public sealed partial class Api : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public Api(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class ChatClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public ChatClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class CompletionsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public CompletionsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class EmbeddingsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public EmbeddingsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class ModelsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public ModelsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public sealed partial class Api : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public Api(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class ChatClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public ChatClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class CompletionsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public CompletionsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class EmbeddingsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public EmbeddingsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class ModelsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public ModelsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class AssistantsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public AssistantsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class AudioClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public AudioClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class BatchClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public BatchClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class ChatClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public ChatClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class CompletionsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public CompletionsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class EmbeddingsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public EmbeddingsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class FilesClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public FilesClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class FineTuningClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public FineTuningClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class ImagesClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public ImagesClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class ModelsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public ModelsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class ModerationsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public ModerationsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public sealed partial class OpenAiClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public OpenAiClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public sealed partial class VectorStoresClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public VectorStoresClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class AssistantsClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public AssistantsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed partial class AudioClient : global::System.IDisposable
/// </summary>
/// <param name="httpClient"></param>
/// <param name="baseUri"></param>
/// <param name="jsonSerializerOptions"></param>
public AudioClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
Expand Down
Loading

0 comments on commit 5c0f5d8

Please sign in to comment.