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 Sep 16, 2024
1 parent c6a55d5 commit 8c00030
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
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: 91c67a528222c56b20d4c44e55b77dd0
/// Example: 4832d7aa75c02fe80ea8dbd67051421e
/// </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: 91c67a528222c56b20d4c44e55b77dd0
/// Example: 4832d7aa75c02fe80ea8dbd67051421e
/// </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.ImageDoc.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public sealed partial class ImageDoc
{
/// <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: 91c67a528222c56b20d4c44e55b77dd0
/// Example: 4832d7aa75c02fe80ea8dbd67051421e
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
public string? Id { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions src/libs/Jina/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,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: 91c67a528222c56b20d4c44e55b77dd0
example: 4832d7aa75c02fe80ea8dbd67051421e
url:
title: Url
maxLength: 65536
Expand Down Expand Up @@ -790,7 +790,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: 91c67a528222c56b20d4c44e55b77dd0
example: 4832d7aa75c02fe80ea8dbd67051421e
text:
title: Text
type: string
Expand Down Expand Up @@ -820,7 +820,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: 91c67a528222c56b20d4c44e55b77dd0
example: 4832d7aa75c02fe80ea8dbd67051421e
text:
title: Text
type: string
Expand Down

0 comments on commit 8c00030

Please sign in to comment.