Skip to content

Commit 464665a

Browse files
kibanamachinejanmonschkeelasticmachine
authored
[8.19] [Cases] Update delete case api example (#244878) (#245142)
# Backport This will backport the following commits from `main` to `8.19`: - [[Cases] Update delete case api example (#244878)](#244878) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Jan Monschke","email":"jan.monschke@elastic.co"},"sourceCommit":{"committedDate":"2025-12-03T17:38:55Z","message":"[Cases] Update delete case api example (#244878)\n\n## Summary\n\nThe API expects an array, the example was a simple string\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"aea619e4f6b6d8b1b1e797867939cb94b0c8618e","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","docs","backport:all-open","Team:Cases","v9.3.0"],"title":"[Cases] Update delete case api example","number":244878,"url":"https://github.com/elastic/kibana/pull/244878","mergeCommit":{"message":"[Cases] Update delete case api example (#244878)\n\n## Summary\n\nThe API expects an array, the example was a simple string\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"aea619e4f6b6d8b1b1e797867939cb94b0c8618e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/244878","number":244878,"mergeCommit":{"message":"[Cases] Update delete case api example (#244878)\n\n## Summary\n\nThe API expects an array, the example was a simple string\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"aea619e4f6b6d8b1b1e797867939cb94b0c8618e"}}]}] BACKPORT--> Co-authored-by: Jan Monschke <jan.monschke@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent b77b636 commit 464665a

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

oas_docs/output/kibana.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36786,7 +36786,8 @@ components:
3678636786
Cases_ids:
3678736787
description: |
3678836788
The cases that you want to removed. All non-ASCII characters must be URL encoded.
36789-
example: d4e7abb0-b462-11ec-9a8d-698504725a43
36789+
example:
36790+
- d4e7abb0-b462-11ec-9a8d-698504725a43
3679036791
in: query
3679136792
name: ids
3679236793
required: true

x-pack/platform/plugins/shared/cases/docs/openapi/bundled.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1950,7 +1950,9 @@
19501950
"maxItems": 100
19511951
}
19521952
},
1953-
"example": "d4e7abb0-b462-11ec-9a8d-698504725a43"
1953+
"example": [
1954+
"d4e7abb0-b462-11ec-9a8d-698504725a43"
1955+
]
19541956
},
19551957
"assignees_filter": {
19561958
"in": "query",

x-pack/platform/plugins/shared/cases/docs/openapi/bundled.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,8 @@ components:
12641264
type: string
12651265
minItems: 1
12661266
maxItems: 100
1267-
example: d4e7abb0-b462-11ec-9a8d-698504725a43
1267+
example:
1268+
- d4e7abb0-b462-11ec-9a8d-698504725a43
12681269
assignees_filter:
12691270
in: query
12701271
name: assignees

x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/ids.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ schema:
1010
type: string
1111
minItems: 1
1212
maxItems: 100
13-
example: d4e7abb0-b462-11ec-9a8d-698504725a43
13+
example: ["d4e7abb0-b462-11ec-9a8d-698504725a43"]

0 commit comments

Comments
 (0)