diff --git a/spoolman/api/v1/spool.py b/spoolman/api/v1/spool.py index e133df2..fcf801d 100644 --- a/spoolman/api/v1/spool.py +++ b/spoolman/api/v1/spool.py @@ -42,12 +42,12 @@ class SpoolParameters(BaseModel): ) initial_weight: Optional[float] = Field( ge=0, - description="The initial total weight of the filament and spool, in g. (gross weight)", + description="The initial total weight of the filament and spool, in grams. (gross weight)", example=200, ) empty_weight: Optional[float] = Field( ge=0, - description="The weight of an empty spool, in g. (tare weight)", + description="The weight of an empty spool, in grams. (tare weight)", example=200, ) remaining_weight: Optional[float] = Field( diff --git a/spoolman/api/v1/vendor.py b/spoolman/api/v1/vendor.py index 7803c46..d6efdc3 100644 --- a/spoolman/api/v1/vendor.py +++ b/spoolman/api/v1/vendor.py @@ -35,7 +35,7 @@ class VendorParameters(BaseModel): ) empty_spool_weight: Optional[float] = Field( ge=0, - description="The weight of an empty spool, in g.", + description="The weight of an empty spool, in grams.", example=200, ) extra: Optional[dict[str, str]] = Field(