diff --git a/x-pack/plugins/cases/docs/openapi/bundled.json b/x-pack/plugins/cases/docs/openapi/bundled.json index 4d6905006c08d..e50a84556f37b 100644 --- a/x-pack/plugins/cases/docs/openapi/bundled.json +++ b/x-pack/plugins/cases/docs/openapi/bundled.json @@ -5568,6 +5568,7 @@ "comment": { "description": "The new comment. It is required only when `type` is `user`.", "type": "string", + "maxLength": 30000, "example": "A new comment." }, "owner": { @@ -5657,6 +5658,7 @@ "comment": { "description": "The new comment. It is required only when `type` is `user`.", "type": "string", + "maxLength": 30000, "example": "A new comment." }, "id": { diff --git a/x-pack/plugins/cases/docs/openapi/bundled.yaml b/x-pack/plugins/cases/docs/openapi/bundled.yaml index 7608a44f3e45e..92227b16fe9ce 100644 --- a/x-pack/plugins/cases/docs/openapi/bundled.yaml +++ b/x-pack/plugins/cases/docs/openapi/bundled.yaml @@ -3606,6 +3606,7 @@ components: comment: description: The new comment. It is required only when `type` is `user`. type: string + maxLength: 30000 example: A new comment. owner: $ref: '#/components/schemas/owners' @@ -3672,6 +3673,7 @@ components: comment: description: The new comment. It is required only when `type` is `user`. type: string + maxLength: 30000 example: A new comment. id: type: string diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml b/x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml index 40efb7f945f45..beac63c377ade 100644 --- a/x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml +++ b/x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml @@ -5,6 +5,7 @@ properties: comment: description: The new comment. It is required only when `type` is `user`. type: string + maxLength: 30000 example: A new comment. owner: $ref: 'owners.yaml' diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml b/x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml index 22fb76d9bba74..a83050e93eaaf 100644 --- a/x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml +++ b/x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml @@ -5,6 +5,7 @@ properties: comment: description: The new comment. It is required only when `type` is `user`. type: string + maxLength: 30000 example: A new comment. id: type: string