From 78179f540da310957ce3172de3be88269bf1f7ec Mon Sep 17 00:00:00 2001 From: Matteo Mortari Date: Mon, 15 Jul 2024 14:37:54 +0200 Subject: [PATCH] openapi: wrong ref to delete, list GET and PATCH (#182) update the openapi description to reflect the actual semantic and actually available verbs. Signed-off-by: Matteo Mortari --- api/openapi/model-registry.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/openapi/model-registry.yaml b/api/openapi/model-registry.yaml index 1b8eedb5..762f7b7e 100644 --- a/api/openapi/model-registry.yaml +++ b/api/openapi/model-registry.yaml @@ -86,7 +86,7 @@ paths: "/api/model_registry/v1alpha3/model_artifacts/{modelartifactId}": summary: Path used to manage a single ModelArtifact. description: >- - The REST endpoint/path used to get, update, and delete single instances of an `ModelArtifact`. This path contains `GET`, `PUT`, and `DELETE` operations used to perform the get, update, and delete tasks, respectively. + The REST endpoint/path used to get and update single instances of an `ModelArtifact`. This path contains `GET` and `PATCH` operations used to perform the get and update tasks, respectively. get: tags: - ModelRegistryService @@ -180,7 +180,7 @@ paths: "/api/model_registry/v1alpha3/model_versions/{modelversionId}": summary: Path used to manage a single ModelVersion. description: >- - The REST endpoint/path used to get, update, and delete single instances of an `ModelVersion`. This path contains `GET`, `PUT`, and `DELETE` operations used to perform the get, update, and delete tasks, respectively. + The REST endpoint/path used to get and update single instances of an `ModelVersion`. This path contains `GET` and `PATCH` operations used to perform the get and update tasks, respectively. get: tags: - ModelRegistryService @@ -296,7 +296,7 @@ paths: "/api/model_registry/v1alpha3/registered_models/{registeredmodelId}": summary: Path used to manage a single RegisteredModel. description: >- - The REST endpoint/path used to get, update, and delete single instances of an `RegisteredModel`. This path contains `GET`, `PUT`, and `DELETE` operations used to perform the get, update, and delete tasks, respectively. + The REST endpoint/path used to get and update single instances of an `RegisteredModel`. This path contains `GET` and `PATCH` operations used to perform the get and update tasks, respectively. get: tags: - ModelRegistryService @@ -486,7 +486,7 @@ paths: "/api/model_registry/v1alpha3/inference_services/{inferenceserviceId}": summary: Path used to manage a single InferenceService. description: >- - The REST endpoint/path used to get, update, and delete single instances of an `InferenceService`. This path contains `GET`, `PUT`, and `DELETE` operations used to perform the get, update, and delete tasks, respectively. + The REST endpoint/path used to get and update single instances of an `InferenceService`. This path contains `GET` and `PATCH` operations used to perform the get and update tasks, respectively. get: tags: - ModelRegistryService @@ -650,7 +650,7 @@ paths: "/api/model_registry/v1alpha3/serving_environments/{servingenvironmentId}": summary: Path used to manage a single ServingEnvironment. description: >- - The REST endpoint/path used to get, update, and delete single instances of an `ServingEnvironment`. This path contains `GET`, `PUT`, and `DELETE` operations used to perform the get, update, and delete tasks, respectively. + The REST endpoint/path used to get and update single instances of an `ServingEnvironment`. This path contains `GET` and `PATCH` operations used to perform the get and update tasks, respectively. get: tags: - ModelRegistryService