From 56d2bfda13d3ed45816914c46065d8f2994af884 Mon Sep 17 00:00:00 2001 From: NishaSharma14 Date: Thu, 9 Nov 2023 16:43:53 +0100 Subject: [PATCH] fix: update converter api decription --- app/routers/converter.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/routers/converter.py b/app/routers/converter.py index 446cc35..4f6a358 100644 --- a/app/routers/converter.py +++ b/app/routers/converter.py @@ -36,19 +36,19 @@ def get_health() -> HealthCheck: @router.get( - "/nmrLoadSave", + "/spectra", tags=["converter"], - summary="Conversion through nmr-load save", - # response_model=List[int], - response_description="Conversion through nmr-load save", + summary="Load and convert NMR raw data", + #response_model=List[int], + response_description="Load and convert NMR raw data", status_code=status.HTTP_200_OK, ) async def nmr_load_save(url: str): """ - ## Return nmr_load save result + ## Return nmrium json Returns: - Return nmr_load save result + Return nmrium json """ process = subprocess.Popen( ["docker exec nmr-converter nmr-cli -u " + url],