This repository was archived by the owner on Sep 28, 2022. It is now read-only.
Commit 1d7f107
authored
[fix] Correctly aim at the right doc snippet files (#94)
## What does this PR do ?
Updated a few doc files to aim the real existing **.java** files, instead of some **.js**
- collection/**get-mapping**
- collection/**truncate**
- document/**delete-by-query**
- document/**update-by-query**
## Current behaviour

### How should this be manually tested?
Clone and launch:
`npm install & npm run doc-prepare & npm run doc-build`
You should not see any errors related to missing snippets.
### Boyscout
To get the ci build to succed, had to update [document/update test file](https://github.com/kuzzleio/sdk-java/blob/ad15a06170fa0d69f97b50a34a29705d40510617/doc/3/controllers/document/update/snippets/update.test.yml#L11) to expect:
`'expected: "_id=some-id, _version=2"'`
instead of:
`'{expected: "_id=some-id, _version=2"}'`1 parent 88c2c0a commit 1d7f107
5 files changed
Lines changed: 5 additions & 5 deletions
File tree
- doc/3/controllers
- collection
- get-mapping
- truncate
- document
- delete-by-query
- update-by-query
- update/snippets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
0 commit comments