Skip to content

Commit

Permalink
openapi: wrong ref to delete, list GET and PATCH (#182)
Browse files Browse the repository at this point in the history
update the openapi description to reflect the
actual semantic and actually available verbs.

Signed-off-by: Matteo Mortari <[email protected]>
  • Loading branch information
tarilabs authored Jul 15, 2024
1 parent aeb4bda commit 78179f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/openapi/model-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 78179f5

Please sign in to comment.