Skip to content

Commit f022413

Browse files
authored
rest-api-spec: specify default value for format in cat APIs (#134528)
* rest-api-spec: specify default value for local in cat APIs * Fix default value
1 parent ff97aad commit f022413

25 files changed

+25
-0
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"params": {
3838
"format": {
3939
"type": "string",
40+
"default": "text",
4041
"description": "a short version of the Accept header, e.g. json, yaml"
4142
},
4243
"h": {

rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"params": {
3838
"format": {
3939
"type": "string",
40+
"default": "text",
4041
"description": "a short version of the Accept header, e.g. json, yaml"
4142
},
4243
"bytes": {

rest-api-spec/src/main/resources/rest-api-spec/api/cat.component_templates.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"params": {
3838
"format": {
3939
"type": "string",
40+
"default": "text",
4041
"description": "a short version of the Accept header, e.g. json, yaml"
4142
},
4243
"local": {

rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"params": {
3838
"format": {
3939
"type": "string",
40+
"default": "text",
4041
"description": "a short version of the Accept header, e.g. json, yaml"
4142
},
4243
"h": {

rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"params": {
3838
"format": {
3939
"type": "string",
40+
"default": "text",
4041
"description": "a short version of the Accept header, e.g. json, yaml"
4142
},
4243
"bytes": {

rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"params": {
2626
"format": {
2727
"type": "string",
28+
"default": "text",
2829
"description": "a short version of the Accept header, e.g. json, yaml"
2930
},
3031
"h": {

rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"params": {
3838
"format": {
3939
"type": "string",
40+
"default": "text",
4041
"description": "a short version of the Accept header, e.g. json, yaml"
4142
},
4243
"bytes": {

rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"params": {
2626
"format": {
2727
"type": "string",
28+
"default": "text",
2829
"description": "a short version of the Accept header, e.g. json, yaml"
2930
},
3031
"local": {

rest-api-spec/src/main/resources/rest-api-spec/api/cat.ml_data_frame_analytics.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
},
6060
"format": {
6161
"type": "string",
62+
"default": "text",
6263
"description": "a short version of the Accept header, e.g. json, yaml"
6364
},
6465
"h": {

rest-api-spec/src/main/resources/rest-api-spec/api/cat.ml_datafeeds.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
},
4343
"format": {
4444
"type": "string",
45+
"default": "text",
4546
"description": "a short version of the Accept header, e.g. json, yaml"
4647
},
4748
"h": {

0 commit comments

Comments
 (0)