[OAS] Remove Elastic-Api-Version#207071
Conversation
…oing to merging different versions of the same spec
|
/ci |
|
/ci |
Elastic-Api-VersionElastic-Api-Version
|
/ci |
|
Pinging @elastic/kibana-core (Team:Core) |
0c1cb38 to
2047973
Compare
maximpn
left a comment
There was a problem hiding this comment.
The diff LGTM. Some Elastic-Api-Version=2023-10-31 persisted in the diff. I left a comment regarding that.
I'm ok with keeping unused enrichWithVersionMimeParam for now just in case we need it later on. Alternatively Elastic-Api-Version enriching functionality could be moved under a dedicated configuration option for inversion of control and transparency. I'd reiterate on that topic when it's clear we don't need Elastic-Api-Version in MIME type anymore to clean up unused code.
💚 Build Succeeded
Metrics [docs]
History
|
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
5 similar comments
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
## Summary We anticipate generating a single document per API version for the foreseeable future. This PR updates our OAS document merging logic to avoid adding the `Elastic-Api-Version` header to our spec. This will also remove this header from current documentation. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 53cba30) # Conflicts: # oas_docs/output/kibana.serverless.yaml # oas_docs/output/kibana.yaml
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
## Summary We anticipate generating a single document per API version for the foreseeable future. This PR updates our OAS document merging logic to avoid adding the `Elastic-Api-Version` header to our spec. This will also remove this header from current documentation. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 53cba30) # Conflicts: # oas_docs/output/kibana.serverless.yaml # oas_docs/output/kibana.yaml
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
1 similar comment
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
8 similar comments
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
# Backport This will backport the following commits from `main` to `8.18`: - [[OAS] Remove `Elastic-Api-Version` (#207071)](#207071) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Jean-Louis Leysens","email":"jeanlouis.leysens@elastic.co"},"sourceCommit":{"committedDate":"2025-01-30T15:59:45Z","message":"[OAS] Remove `Elastic-Api-Version` (#207071)\n\n## Summary\r\n\r\nWe anticipate generating a single document per API version for the\r\nforeseeable future. This PR updates our OAS document merging logic to\r\navoid adding the `Elastic-Api-Version` header to our spec.\r\n\r\nThis will also remove this header from current documentation.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"53cba303e55c6c7d0060908938c343931513d114","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport missing","v9.0.0","Feature:OAS","backport:version","v8.18.0"],"title":"[OAS] Remove `Elastic-Api-Version`","number":207071,"url":"https://github.com/elastic/kibana/pull/207071","mergeCommit":{"message":"[OAS] Remove `Elastic-Api-Version` (#207071)\n\n## Summary\r\n\r\nWe anticipate generating a single document per API version for the\r\nforeseeable future. This PR updates our OAS document merging logic to\r\navoid adding the `Elastic-Api-Version` header to our spec.\r\n\r\nThis will also remove this header from current documentation.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"53cba303e55c6c7d0060908938c343931513d114"}},"sourceBranch":"main","suggestedTargetBranches":["8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/207071","number":207071,"mergeCommit":{"message":"[OAS] Remove `Elastic-Api-Version` (#207071)\n\n## Summary\r\n\r\nWe anticipate generating a single document per API version for the\r\nforeseeable future. This PR updates our OAS document merging logic to\r\navoid adding the `Elastic-Api-Version` header to our spec.\r\n\r\nThis will also remove this header from current documentation.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"53cba303e55c6c7d0060908938c343931513d114"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
# Backport This will backport the following commits from `main` to `8.x`: - [[OAS] Remove `Elastic-Api-Version` (#207071)](#207071) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Jean-Louis Leysens","email":"jeanlouis.leysens@elastic.co"},"sourceCommit":{"committedDate":"2025-01-30T15:59:45Z","message":"[OAS] Remove `Elastic-Api-Version` (#207071)\n\n## Summary\r\n\r\nWe anticipate generating a single document per API version for the\r\nforeseeable future. This PR updates our OAS document merging logic to\r\navoid adding the `Elastic-Api-Version` header to our spec.\r\n\r\nThis will also remove this header from current documentation.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"53cba303e55c6c7d0060908938c343931513d114","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport missing","v9.0.0","Feature:OAS","backport:version","v8.18.0"],"title":"[OAS] Remove `Elastic-Api-Version`","number":207071,"url":"https://github.com/elastic/kibana/pull/207071","mergeCommit":{"message":"[OAS] Remove `Elastic-Api-Version` (#207071)\n\n## Summary\r\n\r\nWe anticipate generating a single document per API version for the\r\nforeseeable future. This PR updates our OAS document merging logic to\r\navoid adding the `Elastic-Api-Version` header to our spec.\r\n\r\nThis will also remove this header from current documentation.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"53cba303e55c6c7d0060908938c343931513d114"}},"sourceBranch":"main","suggestedTargetBranches":["8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/207071","number":207071,"mergeCommit":{"message":"[OAS] Remove `Elastic-Api-Version` (#207071)\n\n## Summary\r\n\r\nWe anticipate generating a single document per API version for the\r\nforeseeable future. This PR updates our OAS document merging logic to\r\navoid adding the `Elastic-Api-Version` header to our spec.\r\n\r\nThis will also remove this header from current documentation.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"53cba303e55c6c7d0060908938c343931513d114"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
…0834) # Backport This will backport the following commits from `main` to `8.x`: - [[OAS] Remove `Elastic-Api-Version` (elastic#207071)](elastic#207071) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Jean-Louis Leysens","email":"jeanlouis.leysens@elastic.co"},"sourceCommit":{"committedDate":"2025-01-30T15:59:45Z","message":"[OAS] Remove `Elastic-Api-Version` (elastic#207071)\n\n## Summary\r\n\r\nWe anticipate generating a single document per API version for the\r\nforeseeable future. This PR updates our OAS document merging logic to\r\navoid adding the `Elastic-Api-Version` header to our spec.\r\n\r\nThis will also remove this header from current documentation.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"53cba303e55c6c7d0060908938c343931513d114","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport missing","v9.0.0","Feature:OAS","backport:version","v8.18.0"],"title":"[OAS] Remove `Elastic-Api-Version`","number":207071,"url":"https://github.com/elastic/kibana/pull/207071","mergeCommit":{"message":"[OAS] Remove `Elastic-Api-Version` (elastic#207071)\n\n## Summary\r\n\r\nWe anticipate generating a single document per API version for the\r\nforeseeable future. This PR updates our OAS document merging logic to\r\navoid adding the `Elastic-Api-Version` header to our spec.\r\n\r\nThis will also remove this header from current documentation.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"53cba303e55c6c7d0060908938c343931513d114"}},"sourceBranch":"main","suggestedTargetBranches":["8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/207071","number":207071,"mergeCommit":{"message":"[OAS] Remove `Elastic-Api-Version` (elastic#207071)\n\n## Summary\r\n\r\nWe anticipate generating a single document per API version for the\r\nforeseeable future. This PR updates our OAS document merging logic to\r\navoid adding the `Elastic-Api-Version` header to our spec.\r\n\r\nThis will also remove this header from current documentation.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"53cba303e55c6c7d0060908938c343931513d114"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Summary
We anticipate generating a single document per API version for the foreseeable future. This PR updates our OAS document merging logic to avoid adding the
Elastic-Api-Versionheader to our spec.This will also remove this header from current documentation.