mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-28 02:48:38 +00:00
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 #8607
This commit is contained in:
parent
d60500f22e
commit
e0d6e0a6d3
rest-api-spec/api
@ -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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user