Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,714 changes: 2,714 additions & 0 deletions docs/api-generated/cases/case-apis-passthru.asciidoc

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions docs/api-generated/cases/case-apis.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[[case-apis]]
== Case APIs

preview::[]

////
This file includes content that has been generated from https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/docs/openapi. Any modifications required must be done in that open API specification.
////

include::case-apis-passthru.asciidoc[]
4 changes: 3 additions & 1 deletion docs/apis.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ version of the specification is 3.0. For more information, go to https://openapi

--

include::api-generated/machine-learning/ml-apis.asciidoc[]
include::api-generated/cases/case-apis.asciidoc[]
include::api-generated/machine-learning/ml-apis.asciidoc[]

14 changes: 10 additions & 4 deletions x-pack/plugins/cases/docs/openapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ command in the `x-pack/plugins/cases/docs/openapi/` folder:

Then you can generate the `bundled` files by running the following commands:

```
npx @redocly/openapi-cli bundle --ext yaml --output bundled.yaml entrypoint.yaml
npx @redocly/openapi-cli bundle --ext json --output bundled.json entrypoint.yaml
```
```
npx @redocly/cli bundle entrypoint.yaml --output bundled.yaml --ext yaml
npx @redocly/cli bundle entrypoint.yaml --output bundled.json --ext json
```

You can run additional linting with the following command:

```
npx @redocly/cli lint bundled.json
```

Loading