Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/sfs/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9916269dab33d42aa2f1a5f30c80b954b6c1221f
32f3092b6471d07c7e6a4de35ee7bba6f9e12511
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class CreateShareExportPolicyPayload(BaseModel):
default=None,
description="An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$'",
)
name: Optional[StrictStr] = Field(default=None, description="Name of the Share Export Policy")
name: StrictStr = Field(description="Name of the Share Export Policy")
rules: Optional[List[CreateShareExportPolicyRequestRule]] = Field(
default=None,
description='List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule',
Expand Down
5 changes: 2 additions & 3 deletions services/sfs/src/stackit/sfs/models/create_share_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ class CreateSharePayload(BaseModel):
default=None,
description="An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$'",
)
name: Optional[StrictStr] = Field(default=None, description="Name of the Share")
space_hard_limit_gigabytes: Optional[StrictInt] = Field(
default=None,
name: StrictStr = Field(description="Name of the Share")
space_hard_limit_gigabytes: StrictInt = Field(
description="Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gibibytes)",
alias="spaceHardLimitGigabytes",
)
Expand Down
Loading