Spec: Fixes a few locations of the params array in JSON specification

A few locations of the `params` object in the JSON specification were not located in the `url` block.

Closes 
This commit is contained in:
Sebastian Ziebell 2014-11-22 15:42:47 +01:00 committed by Clinton Gormley
parent d60500f22e
commit e0d6e0a6d3
3 changed files with 28 additions and 27 deletions

@ -10,17 +10,17 @@
"type" : "string",
"description" : "Template ID"
}
}
},
"params" : {
"version": {
"type": "number",
"description": "Explicit version number for concurrency control"
},
"version_type": {
"type": "enum",
"options": ["internal", "external", "external_gte", "force"],
"description": "Specific version type"
"params" : {
"version": {
"type": "number",
"description": "Explicit version number for concurrency control"
},
"version_type": {
"type": "enum",
"options": ["internal", "external", "external_gte", "force"],
"description": "Specific version type"
}
}
},
"body": null

@ -34,6 +34,7 @@
"description":"Whether wildcard expressions should get expanded to open or closed indices (default: open)"
}
}
}
},
"body": null
}
}

@ -11,23 +11,23 @@
"description" : "Template ID",
"required" : true
}
}
},
"params" : {
"op_type": {
"type" : "enum",
"options" : ["index", "create"],
"default" : "index",
"description" : "Explicit operation type"
},
"version": {
"type": "number",
"description": "Explicit version number for concurrency control"
},
"version_type": {
"type": "enum",
"options": ["internal", "external", "external_gte", "force"],
"description": "Specific version type"
"params" : {
"op_type": {
"type" : "enum",
"options" : ["index", "create"],
"default" : "index",
"description" : "Explicit operation type"
},
"version": {
"type": "number",
"description": "Explicit version number for concurrency control"
},
"version_type": {
"type": "enum",
"options": ["internal", "external", "external_gte", "force"],
"description": "Specific version type"
}
}
},
"body": {