Добавлен getSpecs эндпоинт
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user