Skip to content

Commit

Permalink
Fix expandWildcards enum default single value
Browse files Browse the repository at this point in the history
  • Loading branch information
slackday committed Nov 2, 2020
1 parent 545609e commit dd327e2
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 49 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@
"engines": {
"node": ">=0.8"
}
}
}
5 changes: 1 addition & 4 deletions src/lib/apis/5_6.js
Original file line number Diff line number Diff line change
Expand Up @@ -3962,10 +3962,7 @@ api.indices.prototype.getSettings = ca({
},
expandWildcards: {
type: 'enum',
'default': [
'open',
'closed'
],
'default': 'open',
options: [
'open',
'closed',
Expand Down
5 changes: 1 addition & 4 deletions src/lib/apis/6_8.js
Original file line number Diff line number Diff line change
Expand Up @@ -3784,10 +3784,7 @@ api.indices.prototype.getSettings = ca({
},
expandWildcards: {
type: 'enum',
'default': [
'open',
'closed'
],
'default': 'open',
options: [
'open',
'closed',
Expand Down
5 changes: 1 addition & 4 deletions src/lib/apis/7_0.js
Original file line number Diff line number Diff line change
Expand Up @@ -3865,10 +3865,7 @@ api.indices.prototype.getSettings = ca({
},
expandWildcards: {
type: 'enum',
'default': [
'open',
'closed'
],
'default': 'open',
options: [
'open',
'closed',
Expand Down
5 changes: 1 addition & 4 deletions src/lib/apis/7_1.js
Original file line number Diff line number Diff line change
Expand Up @@ -3865,10 +3865,7 @@ api.indices.prototype.getSettings = ca({
},
expandWildcards: {
type: 'enum',
'default': [
'open',
'closed'
],
'default': 'open',
options: [
'open',
'closed',
Expand Down
5 changes: 1 addition & 4 deletions src/lib/apis/7_2.js
Original file line number Diff line number Diff line change
Expand Up @@ -3647,10 +3647,7 @@ api.indices.prototype.getSettings = ca({
},
expandWildcards: {
type: 'enum',
'default': [
'open',
'closed'
],
'default': 'open',
options: [
'open',
'closed',
Expand Down
5 changes: 1 addition & 4 deletions src/lib/apis/7_3.js
Original file line number Diff line number Diff line change
Expand Up @@ -3750,10 +3750,7 @@ api.indices.prototype.getSettings = ca({
},
expandWildcards: {
type: 'enum',
'default': [
'open',
'closed'
],
'default': 'open',
options: [
'open',
'closed',
Expand Down
5 changes: 1 addition & 4 deletions src/lib/apis/7_4.js
Original file line number Diff line number Diff line change
Expand Up @@ -3690,10 +3690,7 @@ api.indices.prototype.getSettings = ca({
},
expandWildcards: {
type: 'enum',
'default': [
'open',
'closed'
],
'default': 'open',
options: [
'open',
'closed',
Expand Down
5 changes: 1 addition & 4 deletions src/lib/apis/7_5.js
Original file line number Diff line number Diff line change
Expand Up @@ -3690,10 +3690,7 @@ api.indices.prototype.getSettings = ca({
},
expandWildcards: {
type: 'enum',
'default': [
'open',
'closed'
],
'default': 'open',
options: [
'open',
'closed',
Expand Down
5 changes: 1 addition & 4 deletions src/lib/apis/7_6.js
Original file line number Diff line number Diff line change
Expand Up @@ -3690,10 +3690,7 @@ api.indices.prototype.getSettings = ca({
},
expandWildcards: {
type: 'enum',
'default': [
'open',
'closed'
],
'default': 'open',
options: [
'open',
'closed',
Expand Down
5 changes: 1 addition & 4 deletions src/lib/apis/7_7.js
Original file line number Diff line number Diff line change
Expand Up @@ -3690,10 +3690,7 @@ api.indices.prototype.getSettings = ca({
},
expandWildcards: {
type: 'enum',
'default': [
'open',
'closed'
],
'default': 'open',
options: [
'open',
'closed',
Expand Down
5 changes: 1 addition & 4 deletions src/lib/apis/7_x.js
Original file line number Diff line number Diff line change
Expand Up @@ -3690,10 +3690,7 @@ api.indices.prototype.getSettings = ca({
},
expandWildcards: {
type: 'enum',
'default': [
'open',
'closed'
],
'default': 'open',
options: [
'open',
'closed',
Expand Down
5 changes: 1 addition & 4 deletions src/lib/apis/master.js
Original file line number Diff line number Diff line change
Expand Up @@ -3685,10 +3685,7 @@ api.indices.prototype.getSettings = ca({
},
expandWildcards: {
type: 'enum',
'default': [
'open',
'closed'
],
'default': 'open',
options: [
'open',
'closed',
Expand Down

0 comments on commit dd327e2

Please sign in to comment.