-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…3349) # Backport This will backport the following commits from `main` to `8.x`: - [[ResponseOps] Connector OAS for framework fields (#192767)](#192767) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alexi Doak","email":"109488926+doakalexi@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-09-18T18:53:36Z","message":"[ResponseOps] Connector OAS for framework fields (#192767)\n\nResolves https://github.com/elastic/kibana/issues/192778\r\n\r\n## Summary\r\n\r\nThis PR updates the following `response` schemas as well as the legacy\r\nroute schemas for connector APIs to generate OAS documentation:\r\n- `POST /api/actions/connector/{id?}`\r\n- `GET /api/actions/connector/{id}`\r\n- `POST /api/actions/connector/{id}/_execute`\r\n- `PUT /api/actions/connector/{id}`\r\n\r\nThe `request` schemas were updated in this\r\n[PR](https://github.com/elastic/kibana/pull/191678).\r\n\r\n\r\n### To verify\r\n\r\n1. Start ES\r\n2. Add `server.oas.enabled: true` to `kibana.dev.yml`\r\n3. Start Kibana `yarn start --no-base-path`\r\n4. `curl -s -uelastic:changeme\r\nhttp://localhost:5601/api/oas\\?pathStartsWith\\=/api/actions/ | jq`\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Lisa Cawley <lcawley@elastic.co>","sha":"3c01b13f90d6c8b6c144e0c4ead771008d499d99","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-minor","v8.16.0"],"title":"[ResponseOps] Connector OAS for framework fields","number":192767,"url":"https://github.com/elastic/kibana/pull/192767","mergeCommit":{"message":"[ResponseOps] Connector OAS for framework fields (#192767)\n\nResolves https://github.com/elastic/kibana/issues/192778\r\n\r\n## Summary\r\n\r\nThis PR updates the following `response` schemas as well as the legacy\r\nroute schemas for connector APIs to generate OAS documentation:\r\n- `POST /api/actions/connector/{id?}`\r\n- `GET /api/actions/connector/{id}`\r\n- `POST /api/actions/connector/{id}/_execute`\r\n- `PUT /api/actions/connector/{id}`\r\n\r\nThe `request` schemas were updated in this\r\n[PR](https://github.com/elastic/kibana/pull/191678).\r\n\r\n\r\n### To verify\r\n\r\n1. Start ES\r\n2. Add `server.oas.enabled: true` to `kibana.dev.yml`\r\n3. Start Kibana `yarn start --no-base-path`\r\n4. `curl -s -uelastic:changeme\r\nhttp://localhost:5601/api/oas\\?pathStartsWith\\=/api/actions/ | jq`\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Lisa Cawley <lcawley@elastic.co>","sha":"3c01b13f90d6c8b6c144e0c4ead771008d499d99"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/192767","number":192767,"mergeCommit":{"message":"[ResponseOps] Connector OAS for framework fields (#192767)\n\nResolves https://github.com/elastic/kibana/issues/192778\r\n\r\n## Summary\r\n\r\nThis PR updates the following `response` schemas as well as the legacy\r\nroute schemas for connector APIs to generate OAS documentation:\r\n- `POST /api/actions/connector/{id?}`\r\n- `GET /api/actions/connector/{id}`\r\n- `POST /api/actions/connector/{id}/_execute`\r\n- `PUT /api/actions/connector/{id}`\r\n\r\nThe `request` schemas were updated in this\r\n[PR](https://github.com/elastic/kibana/pull/191678).\r\n\r\n\r\n### To verify\r\n\r\n1. Start ES\r\n2. Add `server.oas.enabled: true` to `kibana.dev.yml`\r\n3. Start Kibana `yarn start --no-base-path`\r\n4. `curl -s -uelastic:changeme\r\nhttp://localhost:5601/api/oas\\?pathStartsWith\\=/api/actions/ | jq`\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Lisa Cawley <lcawley@elastic.co>","sha":"3c01b13f90d6c8b6c144e0c4ead771008d499d99"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Alexi Doak <109488926+doakalexi@users.noreply.github.com>
- Loading branch information
1 parent
d00d65b
commit 45010b4
Showing
11 changed files
with
903 additions
and
24 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters