mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 00:13:50 +00:00
update samples
This commit is contained in:
parent
e6964482b8
commit
258b7af727
@ -853,7 +853,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
writer.WriteStartObject();
|
writer.WriteStartObject();
|
||||||
|
|
||||||
WriteProperties(ref writer, mixLog, jsonSerializerOptions);
|
WriteProperties(writer, mixLog, jsonSerializerOptions);
|
||||||
writer.WriteEndObject();
|
writer.WriteEndObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -864,7 +864,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="mixLog"></param>
|
/// <param name="mixLog"></param>
|
||||||
/// <param name="jsonSerializerOptions"></param>
|
/// <param name="jsonSerializerOptions"></param>
|
||||||
/// <exception cref="NotImplementedException"></exception>
|
/// <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)
|
if (mixLog.Description == null)
|
||||||
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
|
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
|
||||||
|
@ -855,7 +855,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
writer.WriteStartObject();
|
writer.WriteStartObject();
|
||||||
|
|
||||||
WriteProperties(ref writer, mixLog, jsonSerializerOptions);
|
WriteProperties(writer, mixLog, jsonSerializerOptions);
|
||||||
writer.WriteEndObject();
|
writer.WriteEndObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -866,7 +866,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="mixLog"></param>
|
/// <param name="mixLog"></param>
|
||||||
/// <param name="jsonSerializerOptions"></param>
|
/// <param name="jsonSerializerOptions"></param>
|
||||||
/// <exception cref="NotImplementedException"></exception>
|
/// <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)
|
if (mixLog.Description == null)
|
||||||
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
|
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
|
||||||
|
@ -853,7 +853,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
writer.WriteStartObject();
|
writer.WriteStartObject();
|
||||||
|
|
||||||
WriteProperties(ref writer, mixLog, jsonSerializerOptions);
|
WriteProperties(writer, mixLog, jsonSerializerOptions);
|
||||||
writer.WriteEndObject();
|
writer.WriteEndObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -864,7 +864,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="mixLog"></param>
|
/// <param name="mixLog"></param>
|
||||||
/// <param name="jsonSerializerOptions"></param>
|
/// <param name="jsonSerializerOptions"></param>
|
||||||
/// <exception cref="NotImplementedException"></exception>
|
/// <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)
|
if (mixLog.Description == null)
|
||||||
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
|
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
|
||||||
|
@ -856,7 +856,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
writer.WriteStartObject();
|
writer.WriteStartObject();
|
||||||
|
|
||||||
WriteProperties(ref writer, mixLog, jsonSerializerOptions);
|
WriteProperties(writer, mixLog, jsonSerializerOptions);
|
||||||
writer.WriteEndObject();
|
writer.WriteEndObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -867,7 +867,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="mixLog"></param>
|
/// <param name="mixLog"></param>
|
||||||
/// <param name="jsonSerializerOptions"></param>
|
/// <param name="jsonSerializerOptions"></param>
|
||||||
/// <exception cref="NotImplementedException"></exception>
|
/// <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)
|
if (mixLog.Description == null)
|
||||||
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
|
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
|
||||||
|
@ -853,7 +853,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
writer.WriteStartObject();
|
writer.WriteStartObject();
|
||||||
|
|
||||||
WriteProperties(ref writer, mixLog, jsonSerializerOptions);
|
WriteProperties(writer, mixLog, jsonSerializerOptions);
|
||||||
writer.WriteEndObject();
|
writer.WriteEndObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -864,7 +864,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="mixLog"></param>
|
/// <param name="mixLog"></param>
|
||||||
/// <param name="jsonSerializerOptions"></param>
|
/// <param name="jsonSerializerOptions"></param>
|
||||||
/// <exception cref="NotImplementedException"></exception>
|
/// <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)
|
if (mixLog.Description == null)
|
||||||
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
|
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user