Skip to content

Commit 3d3d3d1

Browse files
committed
style: normalize generated JSON helper spacing
1 parent d76e083 commit 3d3d3d1

1,506 files changed

Lines changed: 0 additions & 9036 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.

src/libs/Anthropic/Generated/Anthropic.AnyOf.2.Json.g.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public string ToJson(
1616
jsonSerializerContext);
1717
}
1818

19-
2019
/// <summary>
2120
/// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
2221
/// </summary>
@@ -40,7 +39,6 @@ public string ToJson(
4039
return ToJson(global::Anthropic.SourceGenerationContext.Default);
4140
}
4241

43-
4442
return global::System.Text.Json.JsonSerializer.Serialize(
4543
this,
4644
jsonSerializerOptions);
@@ -59,7 +57,6 @@ public string ToJson(
5957
jsonSerializerContext) as global::Anthropic.AnyOf<T1, T2>?;
6058
}
6159

62-
6360
/// <summary>
6461
/// Deserializes a JSON string using the generated default JsonSerializerContext.
6562
/// </summary>
@@ -89,7 +86,6 @@ public string ToJson(
8986
global::Anthropic.SourceGenerationContext.Default);
9087
}
9188

92-
9389
return global::System.Text.Json.JsonSerializer.Deserialize<global::Anthropic.AnyOf<T1, T2>>(
9490
json,
9591
jsonSerializerOptions);
@@ -108,7 +104,6 @@ public string ToJson(
108104
jsonSerializerContext).ConfigureAwait(false)) as global::Anthropic.AnyOf<T1, T2>?;
109105
}
110106

111-
112107
/// <summary>
113108
/// Deserializes a JSON stream using the generated default JsonSerializerContext.
114109
/// </summary>
@@ -138,7 +133,6 @@ public string ToJson(
138133
global::Anthropic.SourceGenerationContext.Default);
139134
}
140135

141-
142136
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Anthropic.AnyOf<T1, T2>?>(
143137
jsonStream,
144138
jsonSerializerOptions);

src/libs/Anthropic/Generated/Anthropic.AnyOf.3.Json.g.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public string ToJson(
1616
jsonSerializerContext);
1717
}
1818

19-
2019
/// <summary>
2120
/// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
2221
/// </summary>
@@ -40,7 +39,6 @@ public string ToJson(
4039
return ToJson(global::Anthropic.SourceGenerationContext.Default);
4140
}
4241

43-
4442
return global::System.Text.Json.JsonSerializer.Serialize(
4543
this,
4644
jsonSerializerOptions);
@@ -59,7 +57,6 @@ public string ToJson(
5957
jsonSerializerContext) as global::Anthropic.AnyOf<T1, T2, T3>?;
6058
}
6159

62-
6360
/// <summary>
6461
/// Deserializes a JSON string using the generated default JsonSerializerContext.
6562
/// </summary>
@@ -89,7 +86,6 @@ public string ToJson(
8986
global::Anthropic.SourceGenerationContext.Default);
9087
}
9188

92-
9389
return global::System.Text.Json.JsonSerializer.Deserialize<global::Anthropic.AnyOf<T1, T2, T3>>(
9490
json,
9591
jsonSerializerOptions);
@@ -108,7 +104,6 @@ public string ToJson(
108104
jsonSerializerContext).ConfigureAwait(false)) as global::Anthropic.AnyOf<T1, T2, T3>?;
109105
}
110106

111-
112107
/// <summary>
113108
/// Deserializes a JSON stream using the generated default JsonSerializerContext.
114109
/// </summary>
@@ -138,7 +133,6 @@ public string ToJson(
138133
global::Anthropic.SourceGenerationContext.Default);
139134
}
140135

141-
142136
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Anthropic.AnyOf<T1, T2, T3>?>(
143137
jsonStream,
144138
jsonSerializerOptions);

src/libs/Anthropic/Generated/Anthropic.AnyOf.4.Json.g.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public string ToJson(
1616
jsonSerializerContext);
1717
}
1818

19-
2019
/// <summary>
2120
/// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
2221
/// </summary>
@@ -40,7 +39,6 @@ public string ToJson(
4039
return ToJson(global::Anthropic.SourceGenerationContext.Default);
4140
}
4241

43-
4442
return global::System.Text.Json.JsonSerializer.Serialize(
4543
this,
4644
jsonSerializerOptions);
@@ -59,7 +57,6 @@ public string ToJson(
5957
jsonSerializerContext) as global::Anthropic.AnyOf<T1, T2, T3, T4>?;
6058
}
6159

62-
6360
/// <summary>
6461
/// Deserializes a JSON string using the generated default JsonSerializerContext.
6562
/// </summary>
@@ -89,7 +86,6 @@ public string ToJson(
8986
global::Anthropic.SourceGenerationContext.Default);
9087
}
9188

92-
9389
return global::System.Text.Json.JsonSerializer.Deserialize<global::Anthropic.AnyOf<T1, T2, T3, T4>>(
9490
json,
9591
jsonSerializerOptions);
@@ -108,7 +104,6 @@ public string ToJson(
108104
jsonSerializerContext).ConfigureAwait(false)) as global::Anthropic.AnyOf<T1, T2, T3, T4>?;
109105
}
110106

111-
112107
/// <summary>
113108
/// Deserializes a JSON stream using the generated default JsonSerializerContext.
114109
/// </summary>
@@ -138,7 +133,6 @@ public string ToJson(
138133
global::Anthropic.SourceGenerationContext.Default);
139134
}
140135

141-
142136
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Anthropic.AnyOf<T1, T2, T3, T4>?>(
143137
jsonStream,
144138
jsonSerializerOptions);

src/libs/Anthropic/Generated/Anthropic.Models.APIError.Json.g.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public string ToJson(
1616
jsonSerializerContext);
1717
}
1818

19-
2019
/// <summary>
2120
/// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
2221
/// </summary>
@@ -40,7 +39,6 @@ public string ToJson(
4039
return ToJson(global::Anthropic.SourceGenerationContext.Default);
4140
}
4241

43-
4442
return global::System.Text.Json.JsonSerializer.Serialize(
4543
this,
4644
jsonSerializerOptions);
@@ -59,7 +57,6 @@ public string ToJson(
5957
jsonSerializerContext) as global::Anthropic.APIError;
6058
}
6159

62-
6360
/// <summary>
6461
/// Deserializes a JSON string using the generated default JsonSerializerContext.
6562
/// </summary>
@@ -89,7 +86,6 @@ public string ToJson(
8986
global::Anthropic.SourceGenerationContext.Default);
9087
}
9188

92-
9389
return global::System.Text.Json.JsonSerializer.Deserialize<global::Anthropic.APIError>(
9490
json,
9591
jsonSerializerOptions);
@@ -108,7 +104,6 @@ public string ToJson(
108104
jsonSerializerContext).ConfigureAwait(false)) as global::Anthropic.APIError;
109105
}
110106

111-
112107
/// <summary>
113108
/// Deserializes a JSON stream using the generated default JsonSerializerContext.
114109
/// </summary>
@@ -138,7 +133,6 @@ public string ToJson(
138133
global::Anthropic.SourceGenerationContext.Default);
139134
}
140135

141-
142136
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Anthropic.APIError?>(
143137
jsonStream,
144138
jsonSerializerOptions);

src/libs/Anthropic/Generated/Anthropic.Models.AnthropicBeta.Json.g.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public string ToJson(
1616
jsonSerializerContext);
1717
}
1818

19-
2019
/// <summary>
2120
/// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
2221
/// </summary>
@@ -40,7 +39,6 @@ public string ToJson(
4039
return ToJson(global::Anthropic.SourceGenerationContext.Default);
4140
}
4241

43-
4442
return global::System.Text.Json.JsonSerializer.Serialize(
4543
this,
4644
jsonSerializerOptions);
@@ -59,7 +57,6 @@ public string ToJson(
5957
jsonSerializerContext) as global::Anthropic.AnthropicBeta?;
6058
}
6159

62-
6360
/// <summary>
6461
/// Deserializes a JSON string using the generated default JsonSerializerContext.
6562
/// </summary>
@@ -89,7 +86,6 @@ public string ToJson(
8986
global::Anthropic.SourceGenerationContext.Default);
9087
}
9188

92-
9389
return global::System.Text.Json.JsonSerializer.Deserialize<global::Anthropic.AnthropicBeta>(
9490
json,
9591
jsonSerializerOptions);
@@ -108,7 +104,6 @@ public string ToJson(
108104
jsonSerializerContext).ConfigureAwait(false)) as global::Anthropic.AnthropicBeta?;
109105
}
110106

111-
112107
/// <summary>
113108
/// Deserializes a JSON stream using the generated default JsonSerializerContext.
114109
/// </summary>
@@ -138,7 +133,6 @@ public string ToJson(
138133
global::Anthropic.SourceGenerationContext.Default);
139134
}
140135

141-
142136
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Anthropic.AnthropicBeta?>(
143137
jsonStream,
144138
jsonSerializerOptions);

src/libs/Anthropic/Generated/Anthropic.Models.AppliedEditsItem.Json.g.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public string ToJson(
1616
jsonSerializerContext);
1717
}
1818

19-
2019
/// <summary>
2120
/// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
2221
/// </summary>
@@ -40,7 +39,6 @@ public string ToJson(
4039
return ToJson(global::Anthropic.SourceGenerationContext.Default);
4140
}
4241

43-
4442
return global::System.Text.Json.JsonSerializer.Serialize(
4543
this,
4644
jsonSerializerOptions);
@@ -59,7 +57,6 @@ public string ToJson(
5957
jsonSerializerContext) as global::Anthropic.AppliedEditsItem?;
6058
}
6159

62-
6360
/// <summary>
6461
/// Deserializes a JSON string using the generated default JsonSerializerContext.
6562
/// </summary>
@@ -89,7 +86,6 @@ public string ToJson(
8986
global::Anthropic.SourceGenerationContext.Default);
9087
}
9188

92-
9389
return global::System.Text.Json.JsonSerializer.Deserialize<global::Anthropic.AppliedEditsItem>(
9490
json,
9591
jsonSerializerOptions);
@@ -108,7 +104,6 @@ public string ToJson(
108104
jsonSerializerContext).ConfigureAwait(false)) as global::Anthropic.AppliedEditsItem?;
109105
}
110106

111-
112107
/// <summary>
113108
/// Deserializes a JSON stream using the generated default JsonSerializerContext.
114109
/// </summary>
@@ -138,7 +133,6 @@ public string ToJson(
138133
global::Anthropic.SourceGenerationContext.Default);
139134
}
140135

141-
142136
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Anthropic.AppliedEditsItem?>(
143137
jsonStream,
144138
jsonSerializerOptions);

src/libs/Anthropic/Generated/Anthropic.Models.AuthenticationError.Json.g.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public string ToJson(
1616
jsonSerializerContext);
1717
}
1818

19-
2019
/// <summary>
2120
/// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
2221
/// </summary>
@@ -40,7 +39,6 @@ public string ToJson(
4039
return ToJson(global::Anthropic.SourceGenerationContext.Default);
4140
}
4241

43-
4442
return global::System.Text.Json.JsonSerializer.Serialize(
4543
this,
4644
jsonSerializerOptions);
@@ -59,7 +57,6 @@ public string ToJson(
5957
jsonSerializerContext) as global::Anthropic.AuthenticationError;
6058
}
6159

62-
6360
/// <summary>
6461
/// Deserializes a JSON string using the generated default JsonSerializerContext.
6562
/// </summary>
@@ -89,7 +86,6 @@ public string ToJson(
8986
global::Anthropic.SourceGenerationContext.Default);
9087
}
9188

92-
9389
return global::System.Text.Json.JsonSerializer.Deserialize<global::Anthropic.AuthenticationError>(
9490
json,
9591
jsonSerializerOptions);
@@ -108,7 +104,6 @@ public string ToJson(
108104
jsonSerializerContext).ConfigureAwait(false)) as global::Anthropic.AuthenticationError;
109105
}
110106

111-
112107
/// <summary>
113108
/// Deserializes a JSON stream using the generated default JsonSerializerContext.
114109
/// </summary>
@@ -138,7 +133,6 @@ public string ToJson(
138133
global::Anthropic.SourceGenerationContext.Default);
139134
}
140135

141-
142136
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Anthropic.AuthenticationError?>(
143137
jsonStream,
144138
jsonSerializerOptions);

src/libs/Anthropic/Generated/Anthropic.Models.Base64ImageSource.Json.g.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public string ToJson(
1616
jsonSerializerContext);
1717
}
1818

19-
2019
/// <summary>
2120
/// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
2221
/// </summary>
@@ -40,7 +39,6 @@ public string ToJson(
4039
return ToJson(global::Anthropic.SourceGenerationContext.Default);
4140
}
4241

43-
4442
return global::System.Text.Json.JsonSerializer.Serialize(
4543
this,
4644
jsonSerializerOptions);
@@ -59,7 +57,6 @@ public string ToJson(
5957
jsonSerializerContext) as global::Anthropic.Base64ImageSource;
6058
}
6159

62-
6360
/// <summary>
6461
/// Deserializes a JSON string using the generated default JsonSerializerContext.
6562
/// </summary>
@@ -89,7 +86,6 @@ public string ToJson(
8986
global::Anthropic.SourceGenerationContext.Default);
9087
}
9188

92-
9389
return global::System.Text.Json.JsonSerializer.Deserialize<global::Anthropic.Base64ImageSource>(
9490
json,
9591
jsonSerializerOptions);
@@ -108,7 +104,6 @@ public string ToJson(
108104
jsonSerializerContext).ConfigureAwait(false)) as global::Anthropic.Base64ImageSource;
109105
}
110106

111-
112107
/// <summary>
113108
/// Deserializes a JSON stream using the generated default JsonSerializerContext.
114109
/// </summary>
@@ -138,7 +133,6 @@ public string ToJson(
138133
global::Anthropic.SourceGenerationContext.Default);
139134
}
140135

141-
142136
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Anthropic.Base64ImageSource?>(
143137
jsonStream,
144138
jsonSerializerOptions);

0 commit comments

Comments
 (0)