Coverage for opt/mealie/lib/python3.12/site-packages/mealie/schema/recipe/request_helpers.py: 100%
12 statements
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-07 03:04 +0000
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-07 03:04 +0000
1from pydantic import BaseModel, ConfigDict
3from mealie.schema._mealie import MealieModel
5# TODO: Should these exist?!?!?!?!?
8class RecipeSlug(MealieModel):
9 slug: str
12class SlugResponse(BaseModel):
13 model_config = ConfigDict(json_schema_extra={"example": "adult-mac-and-cheese"})
16class UpdateImageResponse(BaseModel):
17 image: str
20class RecipeZipTokenResponse(BaseModel):
21 token: str
24class RecipeDuplicate(BaseModel):
25 name: str | None = None