Skip to content

Commit

Permalink
feat: Updated OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 21, 2024
1 parent 162ff32 commit 7b7dbcc
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public sealed partial class ApiSchemasClassificationImageDoc
{
/// <summary>
/// The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value<br/>
/// Example: 638c3de241576a03c6d4226261d8e11a
/// Example: 50336949b5bd1f1ed97f3085d76258a1
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
public string? Id { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed partial class ApiSchemasClassificationTextDoc
{
/// <summary>
/// The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value<br/>
/// Example: 638c3de241576a03c6d4226261d8e11a
/// Example: 50336949b5bd1f1ed97f3085d76258a1
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
public string? Id { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public sealed partial class ApiSchemasEmbeddingImageDoc
{
/// <summary>
/// The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value<br/>
/// Example: 638c3de241576a03c6d4226261d8e11a
/// Example: 50336949b5bd1f1ed97f3085d76258a1
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
public string? Id { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed partial class ApiSchemasEmbeddingTextDoc
{
/// <summary>
/// The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value<br/>
/// Example: 638c3de241576a03c6d4226261d8e11a
/// Example: 50336949b5bd1f1ed97f3085d76258a1
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
public string? Id { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed partial class ApiSchemasRankTextDoc
{
/// <summary>
/// The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value<br/>
/// Example: 638c3de241576a03c6d4226261d8e11a
/// Example: 50336949b5bd1f1ed97f3085d76258a1
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
public string? Id { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Jina/Generated/Jina.Models.ImageExampleDoc.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public sealed partial class ImageExampleDoc
{
/// <summary>
/// The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value<br/>
/// Example: 638c3de241576a03c6d4226261d8e11a
/// Example: 50336949b5bd1f1ed97f3085d76258a1
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
public string? Id { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Jina/Generated/Jina.Models.TextExampleDoc.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed partial class TextExampleDoc
{
/// <summary>
/// The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value<br/>
/// Example: 638c3de241576a03c6d4226261d8e11a
/// Example: 50336949b5bd1f1ed97f3085d76258a1
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
public string? Id { get; set; }
Expand Down
14 changes: 7 additions & 7 deletions src/libs/Jina/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ components:
title: Id
type: string
description: 'The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value'
example: 638c3de241576a03c6d4226261d8e11a
example: 50336949b5bd1f1ed97f3085d76258a1
url:
title: Url
maxLength: 65536
Expand Down Expand Up @@ -945,7 +945,7 @@ components:
title: Id
type: string
description: 'The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value'
example: 638c3de241576a03c6d4226261d8e11a
example: 50336949b5bd1f1ed97f3085d76258a1
text:
title: Text
type: string
Expand Down Expand Up @@ -1063,7 +1063,7 @@ components:
title: Id
type: string
description: 'The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value'
example: 638c3de241576a03c6d4226261d8e11a
example: 50336949b5bd1f1ed97f3085d76258a1
url:
title: Url
maxLength: 65536
Expand Down Expand Up @@ -1097,7 +1097,7 @@ components:
title: Id
type: string
description: 'The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value'
example: 638c3de241576a03c6d4226261d8e11a
example: 50336949b5bd1f1ed97f3085d76258a1
text:
title: Text
type: string
Expand Down Expand Up @@ -1125,7 +1125,7 @@ components:
title: Id
type: string
description: 'The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value'
example: 638c3de241576a03c6d4226261d8e11a
example: 50336949b5bd1f1ed97f3085d76258a1
url:
title: Url
maxLength: 65536
Expand Down Expand Up @@ -1159,7 +1159,7 @@ components:
title: Id
type: string
description: 'The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value'
example: 638c3de241576a03c6d4226261d8e11a
example: 50336949b5bd1f1ed97f3085d76258a1
text:
title: Text
type: string
Expand Down Expand Up @@ -1189,7 +1189,7 @@ components:
title: Id
type: string
description: 'The ID of the BaseDoc. This is useful for indexing in vector stores. If not set by user, it will automatically be assigned a random value'
example: 638c3de241576a03c6d4226261d8e11a
example: 50336949b5bd1f1ed97f3085d76258a1
text:
title: Text
type: string
Expand Down

0 comments on commit 7b7dbcc

Please sign in to comment.