add step in Field with DecimalField and FloatField

This commit is contained in:
long2ice
2020-08-17 12:35:19 +08:00
parent 6cbdbcf574
commit 3cd3c10fd4
4 changed files with 12 additions and 1 deletions

View File

@@ -68,7 +68,7 @@ class Field(BaseModel):
ref: Optional[str]
description: Optional[str]
disabled: Optional[bool] = False
step: str = 'any'
step: str = "any"
class Resource(BaseModel):