Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Commit bddb9f6

Browse files
authored
Merge pull request #95 from kuzzleio/fix-doc
Fix documentation
2 parents ad15a06 + b900fd0 commit bddb9f6

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

doc/3/controllers/auth/update-self/snippets/update-self.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ hooks:
44
before: curl -X POST kuzzle:7512/users/foo/_create -H "Content-Type:application/json" --data '{"content":{"profileIds":["default"]},"credentials":{"local":{"username":"foo","password":"bar"}}}'
55
after: curl -X DELETE kuzzle:7512/users/foo
66
template: print-result
7-
expected: ^{_source={profileIds=\[default\],\ _kuzzle_info={createdAt=[0-9]+,\ author=-1},\ age=42},\ _id=foo}$
7+
expected: ^{_source={profileIds=\[default\],\ _kuzzle_info={updatedAt=[0-9]+,\ updater=foo},\ age=42},\ _id=foo}$

doc/3/controllers/collection/get-mapping/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ Returns a `ConcurrentHashMap<String, Object>` representing the collection mappin
3030

3131
## Usage
3232

33-
<<< ./snippets/get-mapping.js
33+
<<< ./snippets/get-mapping.java

doc/3/controllers/collection/truncate/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ public CompletableFuture<Void> truncate(
2626

2727
## Usage
2828

29-
<<< ./snippets/truncate.js
29+
<<< ./snippets/truncate.java

doc/3/controllers/document/delete-by-query/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ Returns an `ArrayList<String>` containing the deleted document ids.
4343

4444
## Usage
4545

46-
<<< ./snippets/delete-by-query.js
46+
<<< ./snippets/delete-by-query.java

doc/3/controllers/document/update-by-query/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ Each errored document is an object of the `errors` array with the following prop
7373

7474
## Usage
7575

76-
<<< ./snippets/update-by-query.js
76+
<<< ./snippets/update-by-query.java

doc/3/controllers/document/update/snippets/update.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ hooks:
88
curl -XPOST -d '{"name":"John"}' -H "Content-Type: application/json" kuzzle:7512/nyc-open-data/yellow-taxi/some-id/_create
99
after:
1010
template: print-result
11-
expected: "{_id=some-id, _version=2}"
11+
expected: ^{_source={name=Johny,\ _kuzzle_info={updatedAt=[0-9]+,\ updater=-1}},\ _id=some-id,\ _version=2}$

0 commit comments

Comments
 (0)