Skip to content

Commit 3622827

Browse files
author
github-actions[bot]
committed
feat: Updated OpenAPI spec
1 parent 85b08b8 commit 3622827

File tree

5 files changed

+26
-26
lines changed

5 files changed

+26
-26
lines changed

src/libs/Jina/Generated/Jina.Models.SerpV1SerpPathPostResponse2.Json.g.cs renamed to src/libs/Jina/Generated/Jina.Models.SerpV1SerpPathGetResponse.Json.g.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Jina
44
{
5-
public sealed partial class SerpV1SerpPathPostResponse2
5+
public sealed partial class SerpV1SerpPathGetResponse
66
{
77
/// <summary>
88
/// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
@@ -34,14 +34,14 @@ public string ToJson(
3434
/// <summary>
3535
/// Deserializes a JSON string using the provided JsonSerializerContext.
3636
/// </summary>
37-
public static global::Jina.SerpV1SerpPathPostResponse2? FromJson(
37+
public static global::Jina.SerpV1SerpPathGetResponse? FromJson(
3838
string json,
3939
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
4040
{
4141
return global::System.Text.Json.JsonSerializer.Deserialize(
4242
json,
43-
typeof(global::Jina.SerpV1SerpPathPostResponse2),
44-
jsonSerializerContext) as global::Jina.SerpV1SerpPathPostResponse2;
43+
typeof(global::Jina.SerpV1SerpPathGetResponse),
44+
jsonSerializerContext) as global::Jina.SerpV1SerpPathGetResponse;
4545
}
4646

4747
/// <summary>
@@ -51,26 +51,26 @@ public string ToJson(
5151
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
5252
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
5353
#endif
54-
public static global::Jina.SerpV1SerpPathPostResponse2? FromJson(
54+
public static global::Jina.SerpV1SerpPathGetResponse? FromJson(
5555
string json,
5656
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
5757
{
58-
return global::System.Text.Json.JsonSerializer.Deserialize<global::Jina.SerpV1SerpPathPostResponse2>(
58+
return global::System.Text.Json.JsonSerializer.Deserialize<global::Jina.SerpV1SerpPathGetResponse>(
5959
json,
6060
jsonSerializerOptions);
6161
}
6262

6363
/// <summary>
6464
/// Deserializes a JSON stream using the provided JsonSerializerContext.
6565
/// </summary>
66-
public static async global::System.Threading.Tasks.ValueTask<global::Jina.SerpV1SerpPathPostResponse2?> FromJsonStreamAsync(
66+
public static async global::System.Threading.Tasks.ValueTask<global::Jina.SerpV1SerpPathGetResponse?> FromJsonStreamAsync(
6767
global::System.IO.Stream jsonStream,
6868
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
6969
{
7070
return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
7171
jsonStream,
72-
typeof(global::Jina.SerpV1SerpPathPostResponse2),
73-
jsonSerializerContext).ConfigureAwait(false)) as global::Jina.SerpV1SerpPathPostResponse2;
72+
typeof(global::Jina.SerpV1SerpPathGetResponse),
73+
jsonSerializerContext).ConfigureAwait(false)) as global::Jina.SerpV1SerpPathGetResponse;
7474
}
7575

7676
/// <summary>
@@ -80,11 +80,11 @@ public string ToJson(
8080
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
8181
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
8282
#endif
83-
public static global::System.Threading.Tasks.ValueTask<global::Jina.SerpV1SerpPathPostResponse2?> FromJsonStreamAsync(
83+
public static global::System.Threading.Tasks.ValueTask<global::Jina.SerpV1SerpPathGetResponse?> FromJsonStreamAsync(
8484
global::System.IO.Stream jsonStream,
8585
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
8686
{
87-
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Jina.SerpV1SerpPathPostResponse2?>(
87+
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Jina.SerpV1SerpPathGetResponse?>(
8888
jsonStream,
8989
jsonSerializerOptions);
9090
}

src/libs/Jina/Generated/Jina.Models.SerpV1SerpPathPostResponse.g.cs renamed to src/libs/Jina/Generated/Jina.Models.SerpV1SerpPathGetResponse.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Jina
66
/// <summary>
77
///
88
/// </summary>
9-
public sealed partial class SerpV1SerpPathPostResponse
9+
public sealed partial class SerpV1SerpPathGetResponse
1010
{
1111

1212
/// <summary>

src/libs/Jina/Generated/Jina.Models.SerpV1SerpPathPostResponse.Json.g.cs renamed to src/libs/Jina/Generated/Jina.Models.SerpV1SerpPathGetResponse2.Json.g.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Jina
44
{
5-
public sealed partial class SerpV1SerpPathPostResponse
5+
public sealed partial class SerpV1SerpPathGetResponse2
66
{
77
/// <summary>
88
/// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
@@ -34,14 +34,14 @@ public string ToJson(
3434
/// <summary>
3535
/// Deserializes a JSON string using the provided JsonSerializerContext.
3636
/// </summary>
37-
public static global::Jina.SerpV1SerpPathPostResponse? FromJson(
37+
public static global::Jina.SerpV1SerpPathGetResponse2? FromJson(
3838
string json,
3939
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
4040
{
4141
return global::System.Text.Json.JsonSerializer.Deserialize(
4242
json,
43-
typeof(global::Jina.SerpV1SerpPathPostResponse),
44-
jsonSerializerContext) as global::Jina.SerpV1SerpPathPostResponse;
43+
typeof(global::Jina.SerpV1SerpPathGetResponse2),
44+
jsonSerializerContext) as global::Jina.SerpV1SerpPathGetResponse2;
4545
}
4646

4747
/// <summary>
@@ -51,26 +51,26 @@ public string ToJson(
5151
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
5252
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
5353
#endif
54-
public static global::Jina.SerpV1SerpPathPostResponse? FromJson(
54+
public static global::Jina.SerpV1SerpPathGetResponse2? FromJson(
5555
string json,
5656
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
5757
{
58-
return global::System.Text.Json.JsonSerializer.Deserialize<global::Jina.SerpV1SerpPathPostResponse>(
58+
return global::System.Text.Json.JsonSerializer.Deserialize<global::Jina.SerpV1SerpPathGetResponse2>(
5959
json,
6060
jsonSerializerOptions);
6161
}
6262

6363
/// <summary>
6464
/// Deserializes a JSON stream using the provided JsonSerializerContext.
6565
/// </summary>
66-
public static async global::System.Threading.Tasks.ValueTask<global::Jina.SerpV1SerpPathPostResponse?> FromJsonStreamAsync(
66+
public static async global::System.Threading.Tasks.ValueTask<global::Jina.SerpV1SerpPathGetResponse2?> FromJsonStreamAsync(
6767
global::System.IO.Stream jsonStream,
6868
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
6969
{
7070
return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
7171
jsonStream,
72-
typeof(global::Jina.SerpV1SerpPathPostResponse),
73-
jsonSerializerContext).ConfigureAwait(false)) as global::Jina.SerpV1SerpPathPostResponse;
72+
typeof(global::Jina.SerpV1SerpPathGetResponse2),
73+
jsonSerializerContext).ConfigureAwait(false)) as global::Jina.SerpV1SerpPathGetResponse2;
7474
}
7575

7676
/// <summary>
@@ -80,11 +80,11 @@ public string ToJson(
8080
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
8181
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
8282
#endif
83-
public static global::System.Threading.Tasks.ValueTask<global::Jina.SerpV1SerpPathPostResponse?> FromJsonStreamAsync(
83+
public static global::System.Threading.Tasks.ValueTask<global::Jina.SerpV1SerpPathGetResponse2?> FromJsonStreamAsync(
8484
global::System.IO.Stream jsonStream,
8585
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
8686
{
87-
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Jina.SerpV1SerpPathPostResponse?>(
87+
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::Jina.SerpV1SerpPathGetResponse2?>(
8888
jsonStream,
8989
jsonSerializerOptions);
9090
}

src/libs/Jina/Generated/Jina.Models.SerpV1SerpPathPostResponse2.g.cs renamed to src/libs/Jina/Generated/Jina.Models.SerpV1SerpPathGetResponse2.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Jina
66
/// <summary>
77
///
88
/// </summary>
9-
public sealed partial class SerpV1SerpPathPostResponse2
9+
public sealed partial class SerpV1SerpPathGetResponse2
1010
{
1111

1212
/// <summary>

src/libs/Jina/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ paths:
303303
tags:
304304
- serp
305305
summary: Serp
306-
operationId: serp_v1_serp__path__post
306+
operationId: serp_v1_serp__path__get
307307
parameters:
308308
- name: path
309309
in: path
@@ -327,7 +327,7 @@ paths:
327327
tags:
328328
- serp
329329
summary: Serp
330-
operationId: serp_v1_serp__path__post
330+
operationId: serp_v1_serp__path__get
331331
parameters:
332332
- name: path
333333
in: path

0 commit comments

Comments
 (0)