feat: fully defined response code descriptions
Only done on three endpoints. This is a lot of repeated text.
This commit is contained in:
parent
c2e035dede
commit
5d122a7690
4 changed files with 109 additions and 5 deletions
|
|
@ -58,7 +58,7 @@ def get_org_model_body(
|
|||
) -> type[Org]:
|
||||
org_id: Optional[int] = getattr(request_model, "organisation_id", None)
|
||||
if org_id is None:
|
||||
raise OrgNotFoundException
|
||||
raise OrgNotFoundException()
|
||||
|
||||
return get_org_model(db, request, org_id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue