Skip to content

[DOCS] Fix OpenAPI error in OpenAI connector secrets#244679

Merged
lcawl merged 12 commits into
elastic:mainfrom
lcawl:genai-secret-docs
Dec 3, 2025
Merged

[DOCS] Fix OpenAPI error in OpenAI connector secrets#244679
lcawl merged 12 commits into
elastic:mainfrom
lcawl:genai-secret-docs

Conversation

@lcawl
Copy link
Copy Markdown
Contributor

@lcawl lcawl commented Nov 28, 2025

Summary

Relates to #228077

This PR addresses the following error returned by node scripts/validate_oas_docs.js

   │      /components/schemas/genai_secrets/required
   │      must NOT have fewer than 1 items
   │      Failed check @ schema path: #/properties/required/minItems

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials
- [ ] Unit or functional tests were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
- [ ] 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.
- [ ] Flaky Test Runner was used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
- [ ] Review the backport guidelines and apply applicable backport:* labels.

Identify risks

N/A

@lcawl lcawl added Team:Docs release_note:skip Skip the PR/issue when compiling release notes docs backport:version Backport to applied version labels v9.3.0 v8.19.8 v9.2.2 labels Nov 28, 2025
@lcawl lcawl marked this pull request as ready for review November 28, 2025 20:20
@lcawl lcawl requested review from a team as code owners November 28, 2025 20:20
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/experience-docs (Team:Docs)

lcawl and others added 3 commits November 28, 2025 12:22
…atus --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/streams --include-path /api/fleet --include-path /api/saved_objects/_import --include-path /api/saved_objects/_export --include-path /api/maintenance_window --include-path /api/agent_builder --update
@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod Bot requested a review from a team as a code owner November 28, 2025 20:50
Copy link
Copy Markdown
Member

@florent-leborgne florent-leborgne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lcawl lcawl enabled auto-merge (squash) December 1, 2025 16:30
Copy link
Copy Markdown
Contributor

@TinaHeiligers TinaHeiligers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

lcawl and others added 5 commits December 2, 2025 10:36
…atus --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/streams --include-path /api/fleet --include-path /api/saved_objects/_import --include-path /api/saved_objects/_export --include-path /api/maintenance_window --include-path /api/agent_builder --update
@lcawl lcawl merged commit ea64620 into elastic:main Dec 3, 2025
12 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19, 9.2

https://github.com/elastic/kibana/actions/runs/19879686436

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.19:
- [DOCS] Fix validation errors in synthetics_apis.yaml (#244685)
9.2 Backport failed because of merge conflicts

You might need to backport the following PRs to 9.2:
- Upgrade nodemailer 7.0.9 → 7.0.11 (#244989)
- [DOCS] Fix validation errors in synthetics_apis.yaml (#244685)
- [ResponseOps][MW][Reporting] Fix recurrent schedule for Daily recurrence (#244571)
- [Discover][UnifiedSearch] Add debounce for draft updates (#244608)

Manual backport

To create the backport manually run:

node scripts/backport --pr 244679

Questions ?

Please refer to the Backport tool documentation

@lcawl lcawl deleted the genai-secret-docs branch December 3, 2025 19:15
lcawl added a commit to lcawl/kibana that referenced this pull request Dec 3, 2025
lcawl added a commit to lcawl/kibana that referenced this pull request Dec 3, 2025
@lcawl
Copy link
Copy Markdown
Contributor Author

lcawl commented Dec 3, 2025

💚 All backports created successfully

Status Branch Result
9.2
8.19

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

lcawl added a commit that referenced this pull request Dec 4, 2025
…#245158)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[DOCS] Fix OpenAPI error in OpenAI connector secrets
(#244679)](#244679)

<!--- Backport version: 10.2.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2025-12-03T01:55:16Z","message":"[DOCS]
Fix OpenAPI error in OpenAI connector secrets
(#244679)","sha":"ea6462079e0f332141a623330595c46d7085fab7","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","backport:version","v9.3.0","v8.19.8","v9.2.2"],"title":"[DOCS]
Fix OpenAPI error in OpenAI connector
secrets","number":244679,"url":"https://github.com/elastic/kibana/pull/244679","mergeCommit":{"message":"[DOCS]
Fix OpenAPI error in OpenAI connector secrets
(#244679)","sha":"ea6462079e0f332141a623330595c46d7085fab7"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.2"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/244679","number":244679,"mergeCommit":{"message":"[DOCS]
Fix OpenAPI error in OpenAI connector secrets
(#244679)","sha":"ea6462079e0f332141a623330595c46d7085fab7"}},{"branch":"8.19","label":"v8.19.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
lcawl added a commit that referenced this pull request Dec 4, 2025
…245154)

# Backport

This will backport the following commits from `main` to `9.2`:
- [[DOCS] Fix OpenAPI error in OpenAI connector secrets
(#244679)](#244679)

<!--- Backport version: 10.2.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2025-12-03T01:55:16Z","message":"[DOCS]
Fix OpenAPI error in OpenAI connector secrets
(#244679)","sha":"ea6462079e0f332141a623330595c46d7085fab7","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","backport:version","v9.3.0","v8.19.8","v9.2.2"],"title":"[DOCS]
Fix OpenAPI error in OpenAI connector
secrets","number":244679,"url":"https://github.com/elastic/kibana/pull/244679","mergeCommit":{"message":"[DOCS]
Fix OpenAPI error in OpenAI connector secrets
(#244679)","sha":"ea6462079e0f332141a623330595c46d7085fab7"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.2"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/244679","number":244679,"mergeCommit":{"message":"[DOCS]
Fix OpenAPI error in OpenAI connector secrets
(#244679)","sha":"ea6462079e0f332141a623330595c46d7085fab7"}},{"branch":"8.19","label":"v8.19.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
JordanSh pushed a commit to JordanSh/kibana that referenced this pull request Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels docs release_note:skip Skip the PR/issue when compiling release notes Team:Docs v8.19.8 v8.19.9 v9.2.2 v9.2.3 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants