Добавлен getSpecs эндпоинт

This commit is contained in:
2025-09-29 08:45:04 +03:00
parent aed85d5201
commit fa83caf49d
3 changed files with 29 additions and 2 deletions

View File

@ -47,9 +47,12 @@ async def get_workers(departmentId: str):
return await c.vitacore_api.getWorkers(departmentId)
@router.get('/getSpecs')
@router.get('/getSpecs', response_model=s.SpecsV021Model)
async def get_specs():
return mock.specs
"""
Get list of specialties.
"""
return await c.vitacore_api.getSpecsV021()
@router.post('/measurement', status_code=status.HTTP_202_ACCEPTED)