Skip to content

Commit 239e4cb

Browse files
committed
feat: add metadata to CollectionSchema and CollectionUpdateSchema
1 parent 4deb244 commit 239e4cb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

openapi.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,6 +2099,10 @@ components:
20992099
default: []
21002100
voice_query_model:
21012101
$ref: "#/components/schemas/VoiceQueryModelCollectionConfig"
2102+
metadata:
2103+
type: object
2104+
description: >
2105+
Optional details about the collection, e.g., when it was created, who created it etc.
21022106
CollectionUpdateSchema:
21032107
required:
21042108
- fields
@@ -2119,6 +2123,10 @@ components:
21192123
facet: true
21202124
items:
21212125
$ref: "#/components/schemas/Field"
2126+
metadata:
2127+
type: object
2128+
description: >
2129+
Optional details about the collection, e.g., when it was created, who created it etc.
21222130
CollectionResponse:
21232131
allOf:
21242132
- $ref: "#/components/schemas/CollectionSchema"

0 commit comments

Comments
 (0)