From 78b620896d88cbff5a9ac9c9bd818677bc4798c2 Mon Sep 17 00:00:00 2001 From: hieu-jan <150573299+hieu-jan@users.noreply.github.com> Date: Fri, 8 Dec 2023 04:03:02 +0900 Subject: [PATCH] fix: minor bugs on models endpoints --- docs/openapi/jan.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/openapi/jan.yaml b/docs/openapi/jan.yaml index 62d26b79b..ed558d14d 100644 --- a/docs/openapi/jan.yaml +++ b/docs/openapi/jan.yaml @@ -139,7 +139,7 @@ paths: x-codeSamples: - lang: "curl" source: | - curl https://localhost:1337/v1/models/zephyr-7b + curl https://localhost:1337/v1/models/{model_id} delete: operationId: deleteModel tags: @@ -166,7 +166,7 @@ paths: x-codeSamples: - lang: "curl" source: | - curl -X DELETE https://localhost:1337/v1/models/zephyr-7b + curl -X DELETE https://localhost:1337/v1/models/{model_id} /models/{model_id}/start: put: operationId: startModel @@ -195,7 +195,7 @@ paths: x-codeSamples: - lang: "curl" source: | - curl -X PUT https://localhost:1337/v1/models/zephyr-7b/start + curl -X PUT https://localhost:1337/v1/models/{model_id}/start /models/{model_id}/stop: put: operationId: stopModel @@ -223,7 +223,7 @@ paths: x-codeSamples: - lang: "curl" source: | - curl -X PUT https://localhost:1337/v1/models/zephyr-7b/stop + curl -X PUT https://localhost:1337/v1/models/{model_id}/stop ### THREADS /threads: