Skip to content

Commit 169166b

Browse files
committed
correct docs
1 parent a85be6d commit 169166b

1,821 files changed

Lines changed: 3642 additions & 3642 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎modules/openapi-generator/src/main/resources/csharp/libraries/generichost/JsonConverter.mustache‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
/// <param name="writer"></param>
361361
/// <param name="{{#lambda.camelcase_sanitize_param}}{{classname}}{{/lambda.camelcase_sanitize_param}}"></param>
362362
/// <param name="jsonSerializerOptions"></param>
363-
/// <exception cref="NotImplementedException"></exception>
363+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
364364
public override void Write(Utf8JsonWriter writer, {{classname}} {{#lambda.camelcase_sanitize_param}}{{classname}}{{/lambda.camelcase_sanitize_param}}, JsonSerializerOptions jsonSerializerOptions)
365365
{
366366
{{#lambda.trimLineBreaks}}
@@ -447,7 +447,7 @@
447447
/// <param name="writer"></param>
448448
/// <param name="{{#lambda.camelcase_sanitize_param}}{{classname}}{{/lambda.camelcase_sanitize_param}}"></param>
449449
/// <param name="jsonSerializerOptions"></param>
450-
/// <exception cref="NotImplementedException"></exception>
450+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
451451
public void WriteProperties(Utf8JsonWriter writer, {{classname}} {{#lambda.camelcase_sanitize_param}}{{classname}}{{/lambda.camelcase_sanitize_param}}, JsonSerializerOptions jsonSerializerOptions)
452452
{
453453
{{#lambda.trimTrailingWithNewLine}}

‎samples/client/petstore/csharp/generichost/latest/AnnotatedEnum/src/Org.OpenAPITools/Model/AnyOfStringArrayOfString.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public override AnyOfStringArrayOfString Read(ref Utf8JsonReader utf8JsonReader,
183183
/// <param name="writer"></param>
184184
/// <param name="anyOfStringArrayOfString"></param>
185185
/// <param name="jsonSerializerOptions"></param>
186-
/// <exception cref="NotImplementedException"></exception>
186+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
187187
public override void Write(Utf8JsonWriter writer, AnyOfStringArrayOfString anyOfStringArrayOfString, JsonSerializerOptions jsonSerializerOptions)
188188
{
189189
writer.WriteStartObject();
@@ -203,7 +203,7 @@ public override void Write(Utf8JsonWriter writer, AnyOfStringArrayOfString anyOf
203203
/// <param name="writer"></param>
204204
/// <param name="anyOfStringArrayOfString"></param>
205205
/// <param name="jsonSerializerOptions"></param>
206-
/// <exception cref="NotImplementedException"></exception>
206+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
207207
public void WriteProperties(Utf8JsonWriter writer, AnyOfStringArrayOfString anyOfStringArrayOfString, JsonSerializerOptions jsonSerializerOptions)
208208
{
209209

‎samples/client/petstore/csharp/generichost/latest/AnnotatedEnum/src/Org.OpenAPITools/Model/OneOfNullAndRef.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public override OneOfNullAndRef Read(ref Utf8JsonReader utf8JsonReader, Type typ
150150
/// <param name="writer"></param>
151151
/// <param name="oneOfNullAndRef"></param>
152152
/// <param name="jsonSerializerOptions"></param>
153-
/// <exception cref="NotImplementedException"></exception>
153+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
154154
public override void Write(Utf8JsonWriter writer, OneOfNullAndRef oneOfNullAndRef, JsonSerializerOptions jsonSerializerOptions)
155155
{
156156
writer.WriteStartObject();
@@ -165,7 +165,7 @@ public override void Write(Utf8JsonWriter writer, OneOfNullAndRef oneOfNullAndRe
165165
/// <param name="writer"></param>
166166
/// <param name="oneOfNullAndRef"></param>
167167
/// <param name="jsonSerializerOptions"></param>
168-
/// <exception cref="NotImplementedException"></exception>
168+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
169169
public void WriteProperties(Utf8JsonWriter writer, OneOfNullAndRef oneOfNullAndRef, JsonSerializerOptions jsonSerializerOptions)
170170
{
171171
if (oneOfNullAndRef.NumberOption.IsSet && oneOfNullAndRef.Number == null)

‎samples/client/petstore/csharp/generichost/latest/AnnotatedEnum/src/Org.OpenAPITools/Model/OneOfNullAndRef2.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public override OneOfNullAndRef2 Read(ref Utf8JsonReader utf8JsonReader, Type ty
150150
/// <param name="writer"></param>
151151
/// <param name="oneOfNullAndRef2"></param>
152152
/// <param name="jsonSerializerOptions"></param>
153-
/// <exception cref="NotImplementedException"></exception>
153+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
154154
public override void Write(Utf8JsonWriter writer, OneOfNullAndRef2 oneOfNullAndRef2, JsonSerializerOptions jsonSerializerOptions)
155155
{
156156
writer.WriteStartObject();
@@ -165,7 +165,7 @@ public override void Write(Utf8JsonWriter writer, OneOfNullAndRef2 oneOfNullAndR
165165
/// <param name="writer"></param>
166166
/// <param name="oneOfNullAndRef2"></param>
167167
/// <param name="jsonSerializerOptions"></param>
168-
/// <exception cref="NotImplementedException"></exception>
168+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
169169
public void WriteProperties(Utf8JsonWriter writer, OneOfNullAndRef2 oneOfNullAndRef2, JsonSerializerOptions jsonSerializerOptions)
170170
{
171171
if (oneOfNullAndRef2.NumberOption.IsSet && oneOfNullAndRef2.Number == null)

‎samples/client/petstore/csharp/generichost/latest/AnnotatedEnum/src/Org.OpenAPITools/Model/OneOfNullAndRef3.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public override OneOfNullAndRef3 Read(ref Utf8JsonReader utf8JsonReader, Type ty
150150
/// <param name="writer"></param>
151151
/// <param name="oneOfNullAndRef3"></param>
152152
/// <param name="jsonSerializerOptions"></param>
153-
/// <exception cref="NotImplementedException"></exception>
153+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
154154
public override void Write(Utf8JsonWriter writer, OneOfNullAndRef3 oneOfNullAndRef3, JsonSerializerOptions jsonSerializerOptions)
155155
{
156156
writer.WriteStartObject();
@@ -165,7 +165,7 @@ public override void Write(Utf8JsonWriter writer, OneOfNullAndRef3 oneOfNullAndR
165165
/// <param name="writer"></param>
166166
/// <param name="oneOfNullAndRef3"></param>
167167
/// <param name="jsonSerializerOptions"></param>
168-
/// <exception cref="NotImplementedException"></exception>
168+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
169169
public void WriteProperties(Utf8JsonWriter writer, OneOfNullAndRef3 oneOfNullAndRef3, JsonSerializerOptions jsonSerializerOptions)
170170
{
171171
if (oneOfNullAndRef3.NumberOption.IsSet && oneOfNullAndRef3.Number == null)

‎samples/client/petstore/csharp/generichost/latest/AnnotatedEnum/src/Org.OpenAPITools/Model/OneOfNullableTest.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public override OneOfNullableTest Read(ref Utf8JsonReader utf8JsonReader, Type t
176176
/// <param name="writer"></param>
177177
/// <param name="oneOfNullableTest"></param>
178178
/// <param name="jsonSerializerOptions"></param>
179-
/// <exception cref="NotImplementedException"></exception>
179+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
180180
public override void Write(Utf8JsonWriter writer, OneOfNullableTest oneOfNullableTest, JsonSerializerOptions jsonSerializerOptions)
181181
{
182182
writer.WriteStartObject();
@@ -191,7 +191,7 @@ public override void Write(Utf8JsonWriter writer, OneOfNullableTest oneOfNullabl
191191
/// <param name="writer"></param>
192192
/// <param name="oneOfNullableTest"></param>
193193
/// <param name="jsonSerializerOptions"></param>
194-
/// <exception cref="NotImplementedException"></exception>
194+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
195195
public void WriteProperties(Utf8JsonWriter writer, OneOfNullableTest oneOfNullableTest, JsonSerializerOptions jsonSerializerOptions)
196196
{
197197

‎samples/client/petstore/csharp/generichost/latest/AnnotatedEnum/src/Org.OpenAPITools/Model/Parent.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public override Parent Read(ref Utf8JsonReader utf8JsonReader, Type typeToConver
150150
/// <param name="writer"></param>
151151
/// <param name="parent"></param>
152152
/// <param name="jsonSerializerOptions"></param>
153-
/// <exception cref="NotImplementedException"></exception>
153+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
154154
public override void Write(Utf8JsonWriter writer, Parent parent, JsonSerializerOptions jsonSerializerOptions)
155155
{
156156
writer.WriteStartObject();
@@ -165,7 +165,7 @@ public override void Write(Utf8JsonWriter writer, Parent parent, JsonSerializerO
165165
/// <param name="writer"></param>
166166
/// <param name="parent"></param>
167167
/// <param name="jsonSerializerOptions"></param>
168-
/// <exception cref="NotImplementedException"></exception>
168+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
169169
public void WriteProperties(Utf8JsonWriter writer, Parent parent, JsonSerializerOptions jsonSerializerOptions)
170170
{
171171
if (parent.NumberOption.IsSet && parent.Number == null)

‎samples/client/petstore/csharp/generichost/latest/AnnotatedEnum/src/Org.OpenAPITools/Model/ParentWithOneOfProperty.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public override ParentWithOneOfProperty Read(ref Utf8JsonReader utf8JsonReader,
150150
/// <param name="writer"></param>
151151
/// <param name="parentWithOneOfProperty"></param>
152152
/// <param name="jsonSerializerOptions"></param>
153-
/// <exception cref="NotImplementedException"></exception>
153+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
154154
public override void Write(Utf8JsonWriter writer, ParentWithOneOfProperty parentWithOneOfProperty, JsonSerializerOptions jsonSerializerOptions)
155155
{
156156
writer.WriteStartObject();
@@ -165,7 +165,7 @@ public override void Write(Utf8JsonWriter writer, ParentWithOneOfProperty parent
165165
/// <param name="writer"></param>
166166
/// <param name="parentWithOneOfProperty"></param>
167167
/// <param name="jsonSerializerOptions"></param>
168-
/// <exception cref="NotImplementedException"></exception>
168+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
169169
public void WriteProperties(Utf8JsonWriter writer, ParentWithOneOfProperty parentWithOneOfProperty, JsonSerializerOptions jsonSerializerOptions)
170170
{
171171
if (parentWithOneOfProperty.NumberOption.IsSet && parentWithOneOfProperty.Number == null)

‎samples/client/petstore/csharp/generichost/latest/AnnotatedEnum/src/Org.OpenAPITools/Model/ParentWithPluralOneOfProperty.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public override ParentWithPluralOneOfProperty Read(ref Utf8JsonReader utf8JsonRe
150150
/// <param name="writer"></param>
151151
/// <param name="parentWithPluralOneOfProperty"></param>
152152
/// <param name="jsonSerializerOptions"></param>
153-
/// <exception cref="NotImplementedException"></exception>
153+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
154154
public override void Write(Utf8JsonWriter writer, ParentWithPluralOneOfProperty parentWithPluralOneOfProperty, JsonSerializerOptions jsonSerializerOptions)
155155
{
156156
writer.WriteStartObject();
@@ -165,7 +165,7 @@ public override void Write(Utf8JsonWriter writer, ParentWithPluralOneOfProperty
165165
/// <param name="writer"></param>
166166
/// <param name="parentWithPluralOneOfProperty"></param>
167167
/// <param name="jsonSerializerOptions"></param>
168-
/// <exception cref="NotImplementedException"></exception>
168+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
169169
public void WriteProperties(Utf8JsonWriter writer, ParentWithPluralOneOfProperty parentWithPluralOneOfProperty, JsonSerializerOptions jsonSerializerOptions)
170170
{
171171
if (parentWithPluralOneOfProperty.NumberOption.IsSet && parentWithPluralOneOfProperty.Number == null)

‎samples/client/petstore/csharp/generichost/latest/AnnotatedEnum/src/Org.OpenAPITools/Model/ParentWithPluralOneOfPropertyNumber.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public override ParentWithPluralOneOfPropertyNumber Read(ref Utf8JsonReader utf8
175175
/// <param name="writer"></param>
176176
/// <param name="parentWithPluralOneOfPropertyNumber"></param>
177177
/// <param name="jsonSerializerOptions"></param>
178-
/// <exception cref="NotImplementedException"></exception>
178+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
179179
public override void Write(Utf8JsonWriter writer, ParentWithPluralOneOfPropertyNumber parentWithPluralOneOfPropertyNumber, JsonSerializerOptions jsonSerializerOptions)
180180
{
181181
writer.WriteStartObject();
@@ -190,7 +190,7 @@ public override void Write(Utf8JsonWriter writer, ParentWithPluralOneOfPropertyN
190190
/// <param name="writer"></param>
191191
/// <param name="parentWithPluralOneOfPropertyNumber"></param>
192192
/// <param name="jsonSerializerOptions"></param>
193-
/// <exception cref="NotImplementedException"></exception>
193+
/// <exception cref="JsonException">Thrown when the model contains a null value for a non-nullable JSON property.</exception>
194194
public void WriteProperties(Utf8JsonWriter writer, ParentWithPluralOneOfPropertyNumber parentWithPluralOneOfPropertyNumber, JsonSerializerOptions jsonSerializerOptions)
195195
{
196196

0 commit comments

Comments
 (0)