Added new docs examples (#1101)
* Added new docs examples * Updated enabled files list
This commit is contained in:
committed by
GitHub
parent
7b7c9130f3
commit
508aa362e6
18
docs/doc_examples/381fced1882ca8337143e6bb180a5715.asciidoc
Normal file
18
docs/doc_examples/381fced1882ca8337143e6bb180a5715.asciidoc
Normal file
@ -0,0 +1,18 @@
|
||||
// This file is autogenerated, DO NOT EDIT
|
||||
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
|
||||
|
||||
[source, js]
|
||||
----
|
||||
const response = await client.index({
|
||||
index: 'test',
|
||||
id: '1',
|
||||
body: {
|
||||
counter: 1,
|
||||
tags: [
|
||||
'red'
|
||||
]
|
||||
}
|
||||
})
|
||||
console.log(response)
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user