Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[MINOR] docs(docs): Update models.yaml (#7049)

Lord of Abysseb7dfa0809a1
diff --git a/docs/open-api/models.yaml b/docs/open-api/models.yaml
index b42a44098d..e64ad7bfb6 100644
--- a/docs/open-api/models.yaml
+++ b/docs/open-api/models.yaml
@@ -439,12 +439,14 @@ components:
- $ref: "#/components/schemas/RenameModelRequest"
- $ref: "#/components/schemas/SetModelPropertyRequest"
- $ref: "#/components/schemas/RemoveModelPropertyRequest"
+ - $ref: "#/components/schemas/UpdateModelCommentRequest"
discriminator:
propertyName: "@type"
mapping:
rename: "#/components/schemas/RenameModelRequest"
setProperty: "#/components/schemas/SetModelPropertyRequest"
removeProperty: "#/components/schemas/RemoveModelPropertyRequest"
+ updateComment: "#/components/schemas/UpdateModelCommentRequest"
RenameModelRequest:
type: object
@@ -507,6 +509,24 @@ components:
"property": "key1"
}
+ UpdateModelCommentRequest:
+ type: object
+ required:
+ - "@type"
+ - newComment
+ properties:
+ "@type":
+ type: string
+ enum:
+ - "updateComment"
+ newComment:
+ type: string
+ description: The new comment of the model
+ example: {
+ "@type": "updateComment",
+ "newComment": "This is a new comment"
+ }
+
ModelVersionLinkRequest:
type: object
required: