-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 push case and case case config APIs #144657
Conversation
Documentation preview: |
Pinging @elastic/response-ops (Team:ResponseOps) |
Pinging @elastic/response-ops-cases (Feature:Cases) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
💚 Build Succeeded
Metrics [docs]Unknown metric groupsESLint disabled in files
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…144657) (#144832) # Backport This will backport the following commits from `main` to `8.5`: - [[DOCS] Automate docs for push case and case case config APIs (#144657)](#144657) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Lisa Cawley","email":"[email protected]"},"sourceCommit":{"committedDate":"2022-11-08T17:34:52Z","message":"[DOCS] Automate docs for push case and case case config APIs (#144657)","sha":"9bf262dd1c1660528e6388b8ae257c41d18c3884","branchLabelMapping":{"^v8.6.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","Team:ResponseOps","docs","Feature:Cases","v8.6.0","v8.5.1"],"number":144657,"url":"https://github.com/elastic/kibana/pull/144657","mergeCommit":{"message":"[DOCS] Automate docs for push case and case case config APIs (#144657)","sha":"9bf262dd1c1660528e6388b8ae257c41d18c3884"}},"sourceBranch":"main","suggestedTargetBranches":["8.5"],"targetPullRequestStates":[{"branch":"main","label":"v8.6.0","labelRegex":"^v8.6.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/144657","number":144657,"mergeCommit":{"message":"[DOCS] Automate docs for push case and case case config APIs (#144657)","sha":"9bf262dd1c1660528e6388b8ae257c41d18c3884"}},{"branch":"8.5","label":"v8.5.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
Summary
Relates to #137240
This PR uses the open API v3 specification (OAS) to generate output for the following 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 changed the request body in push case from
{}
to a nullable object, since otherwise the open API generator returned this error: