World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[MINOR] fix(docs): Fix models.yaml (#7157)
Lord of Abyssd32df9e57cbf
diff --git a/docs/open-api/models.yaml b/docs/open-api/models.yamlindex d16c739e4e..305455a56f 100644--- a/docs/open-api/models.yaml+++ b/docs/open-api/models.yaml@@ -176,36 +176,6 @@ paths:"5xx":$ref: "./openapi.yaml#/components/responses/ServerErrorResponse"-- put:- tags:- - model- summary: Update model version- operationId: updateModelVersions- requestBody:- content:- application/json:- schema:- $ref: "#/components/schemas/ModelVersionUpdatesRequest"- responses:- "200":- $ref: "#/components/responses/ModelVersionResponse"- "400":- $ref: "./openapi.yaml#/components/responses/BadRequestErrorResponse"- "404":- description: Not Found - The target model or model version does not exist- content:- application/vnd.gravitino.v1+json:- schema:- $ref: "./openapi.yaml#/components/schemas/ErrorModel"- examples:- NoSuchModelException:- $ref: "#/components/examples/NoSuchModelException"- NoSuchModelVersionException:- $ref: "#/components/examples/NoSuchModelVersionException"- "5xx":- $ref: "./openapi.yaml#/components/responses/ServerErrorResponse"-post:tags:- model@@ -284,6 +254,35 @@ paths:"5xx":$ref: "./openapi.yaml#/components/responses/ServerErrorResponse"+ put:+ tags:+ - model+ summary: Update model version+ operationId: updateModelVersions+ requestBody:+ content:+ application/json:+ schema:+ $ref: "#/components/schemas/ModelVersionUpdatesRequest"+ responses:+ "200":+ $ref: "#/components/responses/ModelVersionResponse"+ "400":+ $ref: "./openapi.yaml#/components/responses/BadRequestErrorResponse"+ "404":+ description: Not Found - The target model or model version does not exist+ content:+ application/vnd.gravitino.v1+json:+ schema:+ $ref: "./openapi.yaml#/components/schemas/ErrorModel"+ examples:+ NoSuchModelException:+ $ref: "#/components/examples/NoSuchModelException"+ NoSuchModelVersionException:+ $ref: "#/components/examples/NoSuchModelVersionException"+ "5xx":+ $ref: "./openapi.yaml#/components/responses/ServerErrorResponse"+/metalakes/{metalake}/catalogs/{catalog}/schemas/{schema}/models/{model}/aliases/{alias}:parameters:- $ref: "./openapi.yaml#/components/parameters/metalake"@@ -301,7 +300,7 @@ paths:"200":$ref: "#/components/responses/ModelVersionResponse""404":- description: Not Found - The target model version does not exist+ description: Not Found - The target model version does not exist.content:application/vnd.gravitino.v1+json:schema:@@ -325,6 +324,35 @@ paths:"5xx":$ref: "./openapi.yaml#/components/responses/ServerErrorResponse"+ put:+ tags:+ - model+ summary: Update model version by alias+ operationId: updateModelVersionsByAlias+ requestBody:+ content:+ application/json:+ schema:+ $ref: "#/components/schemas/ModelVersionUpdatesRequest"+ responses:+ "200":+ $ref: "#/components/responses/ModelVersionResponse"+ "400":+ $ref: "./openapi.yaml#/components/responses/BadRequestErrorResponse"+ "404":+ description: Not Found - The target model or model version does not exist.+ content:+ application/vnd.gravitino.v1+json:+ schema:+ $ref: "./openapi.yaml#/components/schemas/ErrorModel"+ examples:+ NoSuchModelException:+ $ref: "#/components/examples/NoSuchModelException"+ NoSuchModelVersionException:+ $ref: "#/components/examples/NoSuchModelVersionException"+ "5xx":+ $ref: "./openapi.yaml#/components/responses/ServerErrorResponse"+components:parameters:version: