update samples

This commit is contained in:
William Cheng 2024-05-26 21:42:10 +08:00
parent e6964482b8
commit 258b7af727
5 changed files with 10 additions and 10 deletions

View File

@ -853,7 +853,7 @@ namespace Org.OpenAPITools.Model
{
writer.WriteStartObject();
WriteProperties(ref writer, mixLog, jsonSerializerOptions);
WriteProperties(writer, mixLog, jsonSerializerOptions);
writer.WriteEndObject();
}
@ -864,7 +864,7 @@ namespace Org.OpenAPITools.Model
/// <param name="mixLog"></param>
/// <param name="jsonSerializerOptions"></param>
/// <exception cref="NotImplementedException"></exception>
public void WriteProperties(ref Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
{
if (mixLog.Description == null)
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");

View File

@ -855,7 +855,7 @@ namespace Org.OpenAPITools.Model
{
writer.WriteStartObject();
WriteProperties(ref writer, mixLog, jsonSerializerOptions);
WriteProperties(writer, mixLog, jsonSerializerOptions);
writer.WriteEndObject();
}
@ -866,7 +866,7 @@ namespace Org.OpenAPITools.Model
/// <param name="mixLog"></param>
/// <param name="jsonSerializerOptions"></param>
/// <exception cref="NotImplementedException"></exception>
public void WriteProperties(ref Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
{
if (mixLog.Description == null)
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");

View File

@ -853,7 +853,7 @@ namespace Org.OpenAPITools.Model
{
writer.WriteStartObject();
WriteProperties(ref writer, mixLog, jsonSerializerOptions);
WriteProperties(writer, mixLog, jsonSerializerOptions);
writer.WriteEndObject();
}
@ -864,7 +864,7 @@ namespace Org.OpenAPITools.Model
/// <param name="mixLog"></param>
/// <param name="jsonSerializerOptions"></param>
/// <exception cref="NotImplementedException"></exception>
public void WriteProperties(ref Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
{
if (mixLog.Description == null)
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");

View File

@ -856,7 +856,7 @@ namespace Org.OpenAPITools.Model
{
writer.WriteStartObject();
WriteProperties(ref writer, mixLog, jsonSerializerOptions);
WriteProperties(writer, mixLog, jsonSerializerOptions);
writer.WriteEndObject();
}
@ -867,7 +867,7 @@ namespace Org.OpenAPITools.Model
/// <param name="mixLog"></param>
/// <param name="jsonSerializerOptions"></param>
/// <exception cref="NotImplementedException"></exception>
public void WriteProperties(ref Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
{
if (mixLog.Description == null)
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");

View File

@ -853,7 +853,7 @@ namespace Org.OpenAPITools.Model
{
writer.WriteStartObject();
WriteProperties(ref writer, mixLog, jsonSerializerOptions);
WriteProperties(writer, mixLog, jsonSerializerOptions);
writer.WriteEndObject();
}
@ -864,7 +864,7 @@ namespace Org.OpenAPITools.Model
/// <param name="mixLog"></param>
/// <param name="jsonSerializerOptions"></param>
/// <exception cref="NotImplementedException"></exception>
public void WriteProperties(ref Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
{
if (mixLog.Description == null)
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");