From 49b2e5071748ecf0db3f5c25f02c8c1b913a4258 Mon Sep 17 00:00:00 2001 From: Nathalie Jonathan Date: Tue, 17 Dec 2024 09:41:42 -0800 Subject: [PATCH] Fixed lint and directory path error. Signed-off-by: Nathalie Jonathan --- spec/namespaces/ml.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/spec/namespaces/ml.yaml b/spec/namespaces/ml.yaml index aa576e78..d65c5eb9 100644 --- a/spec/namespaces/ml.yaml +++ b/spec/namespaces/ml.yaml @@ -90,6 +90,8 @@ paths: description: Undeploys a model. parameters: - $ref: '#/components/parameters/ml.undeploy_model::path.model_id' + requestBody: + $ref: '#/components/requestBodies/ml.undeploy_model' responses: '200': $ref: '#/components/responses/ml.undeploy_model@200' @@ -110,8 +112,11 @@ paths: deprecated: true x-version-deprecated: 2.7.0 x-deprecation-message: Use `undeploy_model` instead. + description: Unloads a model. parameters: - $ref: '#/components/parameters/ml.unload_model::path.model_id' + requestBody: + $ref: '#/components/requestBodies/ml.unload_model' responses: '200': $ref: '#/components/responses/ml.unload_model@200' @@ -122,6 +127,7 @@ paths: deprecated: true x-version-deprecated: 2.7.0 x-deprecation-message: Use `undeploy_model` instead. + description: Unloads a model. requestBody: $ref: '#/components/requestBodies/ml.unload_model' responses: @@ -313,11 +319,11 @@ components: node_ids: type: array items: - $ref: '_common.yaml#/components/schemas/Id' + $ref: '../schemas/_common.yaml#/components/schemas/Id' model_ids: type: array items: - $ref: '_common.yaml#/components/schemas/Id' + $ref: '../schemas/_common.yaml#/components/schemas/Id' required: - model_ids ml.unload_model: @@ -329,11 +335,11 @@ components: node_ids: type: array items: - $ref: '_common.yaml#/components/schemas/Id' + $ref: '../schemas/_common.yaml#/components/schemas/Id' model_ids: type: array items: - $ref: '_common.yaml#/components/schemas/Id' + $ref: '../schemas/_common.yaml#/components/schemas/Id' required: - model_ids ml.create_connector: