Added a health-check endpoint

This commit is contained in:
Donkie
2023-07-02 22:55:29 +02:00
parent 0cdb496a1d
commit 8b4b1bd3e9
2 changed files with 11 additions and 0 deletions

View File

@@ -155,3 +155,7 @@ class Spool(BaseModel):
lot_nr=item.lot_nr,
comment=item.comment,
)
class HealthCheck(BaseModel):
status: str = Field(example="healthy")