mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
[DOCS] Note doc links should be live in REST API JSON specs (#53871)
Downstream Elasticsearch clients, such as the Elaticsearch-JS client, use the documentation links in our REST API JSON specifications to create their docs. Using a broken link or linking to yet-to-be-created doc pages can break the docs build for these clients. This PR adds a related note to the README for the REST API JSON Specs.
This commit is contained in:
parent
69a35158ce
commit
1d1e177a62
@ -43,7 +43,12 @@ Example for the ["Create Index"](https://www.elastic.co/guide/en/elasticsearch/r
|
||||
The specification contains:
|
||||
|
||||
* The _name_ of the API (`indices.create`), which usually corresponds to the client calls
|
||||
* Link to the documentation at the <http://elastic.co> website
|
||||
* Link to the documentation at the <http://elastic.co> website.
|
||||
|
||||
**IMPORANT:** This should be a _live_ link. Several downstream ES clients use
|
||||
this link to generate their documentation. Using a broken link or linking to
|
||||
yet-to-be-created doc pages can break the [Elastic docs
|
||||
build](https://github.com/elastic/docs#building-documentation).
|
||||
* `stability` indicating the state of the API, has to be declared explicitly or YAML tests will fail
|
||||
* `experimental` highly likely to break in the near future (minor/path), no bwc guarantees.
|
||||
Possibly removed in the future.
|
||||
|
Loading…
x
Reference in New Issue
Block a user