Skip to content

Commit 110ee15

Browse files
tobiokibanamachine
andauthored
Ensure run_message_email required attribute is valid (elastic#233249)
## Summary From the [spec](https://swagger.io/docs/specification/v3_0/data-models/data-types/#required-properties), the `required` attribute is simply a list of property names and does not support more complex forms. Related to elastic#228077 ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [x] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. --------- Co-authored-by: kibanamachine <[email protected]>
1 parent 2ce69fb commit 110ee15

File tree

4 files changed

+2
-14
lines changed

4 files changed

+2
-14
lines changed

oas_docs/output/kibana.serverless.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75901,10 +75901,6 @@ components:
7590175901
required:
7590275902
- message
7590375903
- subject
75904-
- anyOf:
75905-
- to
75906-
- cc
75907-
- bcc
7590875904
properties:
7590975905
bcc:
7591075906
type: array

oas_docs/output/kibana.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89327,10 +89327,6 @@ components:
8932789327
required:
8932889328
- message
8932989329
- subject
89330-
- anyOf:
89331-
- to
89332-
- cc
89333-
- bcc
8933489330
properties:
8933589331
bcc:
8933689332
type: array
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"./oas_docs/output/kibana.yaml": 311,
3-
"./oas_docs/output/kibana.serverless.yaml": 290
2+
"./oas_docs/output/kibana.yaml": 310,
3+
"./oas_docs/output/kibana.serverless.yaml": 289
44
}

x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_email.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ type: object
66
required:
77
- message
88
- subject
9-
- anyOf:
10-
- to
11-
- cc
12-
- bcc
139
properties:
1410
bcc:
1511
type: array

0 commit comments

Comments
 (0)