Skip to content

Commit 6ea8c57

Browse files
authored
DatabaseApiKey.email can be empty, or is a valid email address (#163)
* DatabaseApiKey.email can be empty, or is a valid email address We cannot assume it's filled out, because of creation via PAK. * Fixed typo
1 parent c6f546b commit 6ea8c57

6 files changed

Lines changed: 31 additions & 33 deletions

File tree

gen/go/qdrant/cloud/cluster/auth/v2/database_api_key.pb.go

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/openapiv2/qdrant/cloud/cluster/auth/v2/database_api_key.swagger.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
},
193193
"createdByEmail": {
194194
"type": "string",
195-
"description": "The email of the user who created the database api key.\nThis is a read-only field and will be available after a database api key is created."
195+
"description": "The email of the user who created the database api key.\nThis is an optional read-only field and will be available after a database api key is created.\nIf the DatabaseApiKey is created by an actual user the information will be filled-out, if it's created programmatically the field will be empty."
196196
},
197197
"postfix": {
198198
"type": "string",
@@ -243,7 +243,7 @@
243243
},
244244
"createdByEmail": {
245245
"type": "string",
246-
"description": "The email of the user who created the database api key.\nThis is a read-only field and will be available after a database api key is created."
246+
"description": "The email of the user who created the database api key.\nThis is an optional read-only field and will be available after a database api key is created.\nIf the DatabaseApiKey is created by an actual user the information will be filled-out, if it's created programmatically the field will be empty."
247247
},
248248
"postfix": {
249249
"type": "string",

0 commit comments

Comments
 (0)