fix(openapi): set explicit response_model for meals v2 get-by-id; plus security hardening and v2 endpoints
This commit is contained in:
parent
0411791ad9
commit
746a327d7d
2 changed files with 1058 additions and 147 deletions
|
|
@ -67,6 +67,7 @@ async def get_upcoming_meals_scoped(
|
|||
"/{meal_id}",
|
||||
operation_id="getMealV2",
|
||||
summary="Get a meal by id (scoped)",
|
||||
response_model=meals.Meal,
|
||||
responses={404: {"model": ProblemDetails}},
|
||||
)
|
||||
async def get_meal_scoped(
|
||||
|
|
|
|||
1202
openapi.json
1202
openapi.json
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue