Skip to content

Commit 8ae060c

Browse files
committed
adding json spec
1 parent 0b94d9f commit 8ae060c

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

output/schema/validation-errors.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
{
2-
"endpointErrors": {
3-
"simulate.ingest": {
4-
"request": [
5-
"Request: query parameter 'merge_type' does not exist in the json spec"
6-
],
7-
"response": []
8-
}
9-
},
2+
"endpointErrors": {},
103
"generalErrors": [
114
"Dangling type '_global.scripts_painless_execute:PainlessExecutionPosition'",
125
"Dangling type '_global.scripts_painless_execute:PainlessScript'",

specification/_json_spec/simulate.ingest.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
"pipeline": {
3333
"type": "string",
3434
"description": "The pipeline id to preprocess incoming documents with if no pipeline is given for a particular document"
35+
},
36+
"merge_type": {
37+
"type": "string",
38+
"description": "The way that mapping_additions ought to be merged into existing mappings"
3539
}
3640
},
3741
"body": {

0 commit comments

Comments
 (0)