kibana/packages/core/saved-objects/docs/openapi
Jesus Wahrman 9b99070470
[docs] Remove experimental message from saved objects import and export apis (#202173)
## Summary

resolves https://github.com/elastic/kibana/issues/159454

Remove experimental message from saved objects import and export apis.


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-12-02 12:05:52 +01:00
..
components [OAS] Refresh saved objects API document (#186134) 2024-06-13 10:11:59 -07:00
paths [docs] Remove experimental message from saved objects import and export apis (#202173) 2024-12-02 12:05:52 +01:00
bundled.json [docs] Remove experimental message from saved objects import and export apis (#202173) 2024-12-02 12:05:52 +01:00
bundled.yaml [docs] Remove experimental message from saved objects import and export apis (#202173) 2024-12-02 12:05:52 +01:00
bundled_serverless.json [docs] Remove experimental message from saved objects import and export apis (#202173) 2024-12-02 12:05:52 +01:00
bundled_serverless.yaml [docs] Remove experimental message from saved objects import and export apis (#202173) 2024-12-02 12:05:52 +01:00
entrypoint.yaml Changes deprecated SO HTTP APIs deprecation field to object (#197936) 2024-11-07 14:49:05 -06:00
entrypoint_serverless.yaml Changes deprecated SO HTTP APIs deprecation field to object (#197936) 2024-11-07 14:49:05 -06:00
README.md [OAS][DOCS] Deprecate saved object APIs (#189223) 2024-07-30 21:38:04 -05:00

OpenAPI (Experimental)

The current self-contained spec file is bundled.json or bundled.yaml and can be used for online tools like those found at https://openapi.tools/. This spec is experimental and may be incomplete or change later.

A guide about the openApi specification can be found at https://swagger.io/docs/specification/about/.

The openapi folder

  • entrypoint.yaml is the overview file which pulls together all the paths and components.
  • Paths: this defines each endpoint. A path can have one operation per http method.

Tools

To validate and bundle the docs, you can use Redocly and Swagger/OpenAPI CLI.

Generate the bundled files by running the following commands:

npx @redocly/cli bundle entrypoint.yaml --output bundled.yaml --ext yaml
npx @redocly/cli bundle entrypoint.yaml --output bundled.json --ext json
npx @redocly/cli bundle entrypoint_serverless.yaml --output bundled_serverless.yaml --ext yaml
npx @redocly/cli bundle entrypoint_serverless.yaml --output bundled_serverless.json --ext json

Then join these files with the rest of the Kibana APIs per oas_docs/README.md