11# generated by datamodel-codegen:
22# filename: api.spec.yaml
3- # timestamp: 2025-05-08T14:23:21 +00:00
3+ # timestamp: 2025-07-24T18:25:39 +00:00
44
55from __future__ import annotations
66
@@ -216,12 +216,6 @@ class SecretWithId(BaseAPISpec):
216216 min_length = 1 ,
217217 pattern = "^[a-zA-Z0-9_\\ -.]*$" ,
218218 )
219- kind : SecretKind
220- expiration_timestamp : Optional [datetime ] = Field (
221- None ,
222- description = "The date and time the secret is not valid anymore (this is in any timezone)" ,
223- example = "2030-11-01T17:32:28UTC+01:00" ,
224- )
225219 modification_date : datetime = Field (
226220 ...,
227221 description = "The date and time the secret was created or modified (this is always in UTC)" ,
@@ -230,6 +224,11 @@ class SecretWithId(BaseAPISpec):
230224 kind : SecretKind
231225 session_secret_slot_ids : List [Ulid ]
232226 data_connector_ids : List [Ulid ]
227+ expiration_timestamp : Optional [datetime ] = Field (
228+ None ,
229+ description = "The date and time the secret is not valid anymore (this is in any timezone)" ,
230+ examples = ["2030-11-01T17:32:28UTC+01:00" ],
231+ )
233232
234233
235234class SecretPost (BaseAPISpec ):
@@ -261,7 +260,7 @@ class SecretPost(BaseAPISpec):
261260 expiration_timestamp : Optional [datetime ] = Field (
262261 None ,
263262 description = "The date and time the secret is not valid anymore (this is in any timezone)" ,
264- example = "2030-11-01T17:32:28UTC+01:00" ,
263+ examples = [ "2030-11-01T17:32:28UTC+01:00" ] ,
265264 )
266265
267266
@@ -293,7 +292,7 @@ class SecretPatch(BaseAPISpec):
293292 expiration_timestamp : Optional [datetime ] = Field (
294293 None ,
295294 description = "The date and time the secret is not valid anymore (this is in any timezone)" ,
296- example = "2030-11-01T17:32:28UTC+01:00" ,
295+ examples = [ "2030-11-01T17:32:28UTC+01:00" ] ,
297296 )
298297
299298
0 commit comments