Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Automate docs for create/update/delete case APIs #142929

Merged
merged 19 commits into from
Oct 18, 2022

Conversation

lcawl
Copy link
Contributor

@lcawl lcawl commented Oct 7, 2022

Relates to #137240

This PR uses the open API v3 specification (OAS) to generate output for the "create case", "update case", and "delete case" APIs. It takes output from the open-api generator, in particular the HTML generator, applies a custom template and uses that output in a passthrough block in an appendix in the Kibana Guide.

A notable change to the existing OAS is that I've used "oneOf" to make it clear that the create/update case API request bodies vary depending on the connector type.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2022

Documentation preview:

@lcawl lcawl added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) docs Feature:Cases Cases feature v8.6.0 release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting labels Oct 7, 2022
@lcawl lcawl marked this pull request as ready for review October 12, 2022 19:47
@lcawl lcawl requested a review from a team as a code owner October 12, 2022 19:47
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops-cases (Feature:Cases)

@lcawl lcawl enabled auto-merge (squash) October 18, 2022 22:05
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@lcawl lcawl merged commit f92c76c into elastic:main Oct 18, 2022
@lcawl lcawl deleted the case-apis2 branch October 18, 2022 23:20
kc13greiner pushed a commit to kc13greiner/kibana that referenced this pull request Oct 19, 2022
@lcawl lcawl added the v8.5.1 label Oct 20, 2022
@lcawl
Copy link
Contributor Author

lcawl commented Oct 20, 2022

💚 All backports created successfully

Status Branch Result
8.5

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

Questions ?

Please refer to the Backport tool documentation

lcawl added a commit to lcawl/kibana that referenced this pull request Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting docs Feature:Cases Cases feature release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.5.0 v8.5.1 v8.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants