Skip to content

Commit 09e00d5

Browse files
authored
Fix 404 links in "add new api "docs (#2493)
Changing `__global` to `_global` in links
1 parent 762486c commit 09e00d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/add-new-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Once you have added a new endpoint definition, the next step is to add its type
2020
First of all, you should find the most approariate place inside [`/specification`](../specification)
2121
where to put the new definition. The content of [`/specification`](../specification)
2222
tryied to mimic the Elasticsearch online documentation, so you can use it as inspiration.
23-
For example, the index document defintion can be found in [`/specification/__global/index`](../specification/__global/index).
23+
For example, the index document defintion can be found in [`/specification/_global/index`](../specification/_global/index).
2424

2525
Once you have found the best place for the new definition, you should create a new file for it.
2626
The filename should be the same of the type definition you are writing, for example:
@@ -98,7 +98,7 @@ interface Request<Generic> extends RequestBase {
9898
}
9999
```
100100
And the generic will be used somewhere inside the definition.
101-
There are cases where the generic might be the entire body, see [`IndexRequest`](../specification/__global/index/IndexRequest.ts).
101+
There are cases where the generic might be the entire body, see [`IndexRequest`](../specification/_global/index/IndexRequest.ts).
102102

103103
### Add the endpoint response definition
104104

0 commit comments

Comments
 (0)