docs: org router query descriptions

Issue: #13
This commit is contained in:
Chris Milne 2026-05-28 16:52:10 +01:00
parent 6a90e03d40
commit 90943c3d18

View file

@ -241,7 +241,7 @@ async def remove_user_from_org(db: db_dependency, org_model: org_model_root_clai
status.HTTP_422_UNPROCESSABLE_CONTENT: {"description": "Invalid data in request."},
status.HTTP_401_UNAUTHORIZED: {"description": "Not authorised. Must be org root user."},
})
async def get_contact(org_model: org_model_root_claim_query_dependency, contact_type: Annotated[ContactType, Query()]):
async def get_contact(org_model: org_model_root_claim_query_dependency, contact_type: Annotated[ContactType, Query(description="Must be billing|security|owner")]):
match contact_type:
case "billing":
contact_model = org_model.billing_contact_rel