diff --git a/src/pytypes/onefuzztypes/models.py b/src/pytypes/onefuzztypes/models.py index 3f1adb13d5..a136dc0e10 100644 --- a/src/pytypes/onefuzztypes/models.py +++ b/src/pytypes/onefuzztypes/models.py @@ -668,9 +668,9 @@ class Scaleset(BaseModel): class AutoScale(BaseModel): scaleset_id: UUID - min: int = Field(ge=1) + min: int = Field(ge=0) max: int = Field(ge=1) - default: int = Field(ge=1) + default: int = Field(ge=0) scale_out_amount: int = Field(ge=1) scale_out_cooldown: int = Field(ge=1) scale_in_amount: int = Field(ge=1) diff --git a/src/pytypes/onefuzztypes/requests.py b/src/pytypes/onefuzztypes/requests.py index 0263b41f90..82e8cc80b4 100644 --- a/src/pytypes/onefuzztypes/requests.py +++ b/src/pytypes/onefuzztypes/requests.py @@ -172,7 +172,7 @@ class ScalesetUpdate(BaseRequest): class AutoScaleOptions(BaseModel): min: int = Field(ge=0) max: int = Field(ge=1) - default: int = Field(ge=1) + default: int = Field(ge=0) scale_out_amount: int = Field(ge=1) scale_out_cooldown: int = Field(ge=1) scale_in_amount: int = Field(ge=1)