File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
services/kms/src/stackit/kms/models Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ class Key(BaseModel):
5050 description = "This date is set when a key is pending deletion and refers to the scheduled date of deletion" ,
5151 alias = "deletionDate" ,
5252 )
53- description : Annotated [str , Field (strict = True , max_length = 256 )] = Field (
54- description = "A user chosen description to distinguish multiple keys."
53+ description : Optional [ Annotated [str , Field (strict = True , max_length = 256 )] ] = Field (
54+ default = None , description = "A user chosen description to distinguish multiple keys."
5555 )
5656 display_name : Annotated [str , Field (strict = True , max_length = 64 )] = Field (
5757 description = "The display name to distinguish multiple keys." , alias = "displayName"
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ class KeyRing(BaseModel):
3131 created_at : datetime = Field (
3232 description = "The date and time the creation of the key ring was triggered." , alias = "createdAt"
3333 )
34- description : Annotated [str , Field (strict = True , max_length = 256 )] = Field (
35- description = "A user chosen description to distinguish multiple key rings."
34+ description : Optional [ Annotated [str , Field (strict = True , max_length = 256 )] ] = Field (
35+ default = None , description = "A user chosen description to distinguish multiple key rings."
3636 )
3737 display_name : Annotated [str , Field (strict = True , max_length = 64 )] = Field (
3838 description = "The display name to distinguish multiple key rings." , alias = "displayName"
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ class WrappingKey(BaseModel):
3838 created_at : datetime = Field (
3939 description = "The date and time the creation of the wrapping key was triggered." , alias = "createdAt"
4040 )
41- description : Annotated [str , Field (strict = True , max_length = 256 )] = Field (
42- description = "A user chosen description to distinguish multiple wrapping keys."
41+ description : Optional [ Annotated [str , Field (strict = True , max_length = 256 )] ] = Field (
42+ default = None , description = "A user chosen description to distinguish multiple wrapping keys."
4343 )
4444 display_name : Annotated [str , Field (strict = True , max_length = 64 )] = Field (
4545 description = "The display name to distinguish multiple wrapping keys." , alias = "displayName"
You can’t perform that action at this time.
0 commit comments