Skip to content

Commit a512239

Browse files
Adds dangling_indices Responses and Requests (#585)
1 parent f3ede88 commit a512239

File tree

9 files changed

+176
-157
lines changed

9 files changed

+176
-157
lines changed

Diff for: output/schema/schema.json

+125-100
Original file line numberDiff line numberDiff line change
@@ -2137,7 +2137,7 @@
21372137
"namespace": "dangling_indices.delete_dangling_index"
21382138
},
21392139
"since": "7.9.0",
2140-
"stability": "TODO",
2140+
"stability": "stable",
21412141
"urls": [
21422142
{
21432143
"methods": [
@@ -2165,7 +2165,7 @@
21652165
"namespace": "dangling_indices.import_dangling_index"
21662166
},
21672167
"since": "7.9.0",
2168-
"stability": "TODO",
2168+
"stability": "stable",
21692169
"urls": [
21702170
{
21712171
"methods": [
@@ -79271,20 +79271,7 @@
7927179271
"CommonQueryParameters"
7927279272
],
7927379273
"body": {
79274-
"kind": "properties",
79275-
"properties": [
79276-
{
79277-
"name": "stub_c",
79278-
"required": true,
79279-
"type": {
79280-
"kind": "instance_of",
79281-
"type": {
79282-
"name": "string",
79283-
"namespace": "internal"
79284-
}
79285-
}
79286-
}
79287-
]
79274+
"kind": "no_body"
7928879275
},
7928979276
"inherits": {
7929079277
"type": {
@@ -79299,7 +79286,7 @@
7929979286
},
7930079287
"path": [
7930179288
{
79302-
"name": "stub_a",
79289+
"name": "index_uuid",
7930379290
"required": true,
7930479291
"type": {
7930579292
"kind": "instance_of",
@@ -79312,34 +79299,50 @@
7931279299
],
7931379300
"query": [
7931479301
{
79315-
"name": "stub_b",
79302+
"name": "accept_data_loss",
7931679303
"required": true,
7931779304
"type": {
7931879305
"kind": "instance_of",
7931979306
"type": {
79320-
"name": "string",
79307+
"name": "boolean",
7932179308
"namespace": "internal"
7932279309
}
7932379310
}
79311+
},
79312+
{
79313+
"name": "master_timeout",
79314+
"required": false,
79315+
"type": {
79316+
"kind": "instance_of",
79317+
"type": {
79318+
"name": "Time",
79319+
"namespace": "_types"
79320+
}
79321+
}
79322+
},
79323+
{
79324+
"name": "timeout",
79325+
"required": false,
79326+
"type": {
79327+
"kind": "instance_of",
79328+
"type": {
79329+
"name": "Time",
79330+
"namespace": "_types"
79331+
}
79332+
}
7932479333
}
7932579334
]
7932679335
},
7932779336
{
7932879337
"body": {
7932979338
"kind": "properties",
79330-
"properties": [
79331-
{
79332-
"name": "stub",
79333-
"required": true,
79334-
"type": {
79335-
"kind": "instance_of",
79336-
"type": {
79337-
"name": "integer",
79338-
"namespace": "_types"
79339-
}
79340-
}
79341-
}
79342-
]
79339+
"properties": []
79340+
},
79341+
"inherits": {
79342+
"type": {
79343+
"name": "AcknowledgedResponseBase",
79344+
"namespace": "_types"
79345+
}
7934379346
},
7934479347
"kind": "response",
7934579348
"name": {
@@ -79352,20 +79355,7 @@
7935279355
"CommonQueryParameters"
7935379356
],
7935479357
"body": {
79355-
"kind": "properties",
79356-
"properties": [
79357-
{
79358-
"name": "stub_c",
79359-
"required": true,
79360-
"type": {
79361-
"kind": "instance_of",
79362-
"type": {
79363-
"name": "string",
79364-
"namespace": "internal"
79365-
}
79366-
}
79367-
}
79368-
]
79358+
"kind": "no_body"
7936979359
},
7937079360
"inherits": {
7937179361
"type": {
@@ -79380,7 +79370,7 @@
7938079370
},
7938179371
"path": [
7938279372
{
79383-
"name": "stub_a",
79373+
"name": "index_uuid",
7938479374
"required": true,
7938579375
"type": {
7938679376
"kind": "instance_of",
@@ -79393,34 +79383,50 @@
7939379383
],
7939479384
"query": [
7939579385
{
79396-
"name": "stub_b",
79386+
"name": "accept_data_loss",
7939779387
"required": true,
7939879388
"type": {
7939979389
"kind": "instance_of",
7940079390
"type": {
79401-
"name": "string",
79391+
"name": "boolean",
7940279392
"namespace": "internal"
7940379393
}
7940479394
}
79395+
},
79396+
{
79397+
"name": "master_timeout",
79398+
"required": false,
79399+
"type": {
79400+
"kind": "instance_of",
79401+
"type": {
79402+
"name": "Time",
79403+
"namespace": "_types"
79404+
}
79405+
}
79406+
},
79407+
{
79408+
"name": "timeout",
79409+
"required": false,
79410+
"type": {
79411+
"kind": "instance_of",
79412+
"type": {
79413+
"name": "Time",
79414+
"namespace": "_types"
79415+
}
79416+
}
7940579417
}
7940679418
]
7940779419
},
7940879420
{
7940979421
"body": {
7941079422
"kind": "properties",
79411-
"properties": [
79412-
{
79413-
"name": "stub",
79414-
"required": true,
79415-
"type": {
79416-
"kind": "instance_of",
79417-
"type": {
79418-
"name": "integer",
79419-
"namespace": "_types"
79420-
}
79421-
}
79422-
}
79423-
]
79423+
"properties": []
79424+
},
79425+
"inherits": {
79426+
"type": {
79427+
"name": "AcknowledgedResponseBase",
79428+
"namespace": "_types"
79429+
}
7942479430
},
7942579431
"kind": "response",
7942679432
"name": {
@@ -79429,39 +79435,14 @@
7942979435
}
7943079436
},
7943179437
{
79432-
"attachedBehaviors": [
79433-
"CommonQueryParameters"
79434-
],
79435-
"body": {
79436-
"kind": "properties",
79437-
"properties": [
79438-
{
79439-
"name": "stub_c",
79440-
"required": true,
79441-
"type": {
79442-
"kind": "instance_of",
79443-
"type": {
79444-
"name": "string",
79445-
"namespace": "internal"
79446-
}
79447-
}
79448-
}
79449-
]
79450-
},
79451-
"inherits": {
79452-
"type": {
79453-
"name": "RequestBase",
79454-
"namespace": "_types"
79455-
}
79456-
},
79457-
"kind": "request",
79438+
"kind": "interface",
7945879439
"name": {
79459-
"name": "Request",
79440+
"name": "DanglingIndex",
7946079441
"namespace": "dangling_indices.list_dangling_indices"
7946179442
},
79462-
"path": [
79443+
"properties": [
7946379444
{
79464-
"name": "stub_a",
79445+
"name": "index_name",
7946579446
"required": true,
7946679447
"type": {
7946779448
"kind": "instance_of",
@@ -79470,11 +79451,9 @@
7947079451
"namespace": "internal"
7947179452
}
7947279453
}
79473-
}
79474-
],
79475-
"query": [
79454+
},
7947679455
{
79477-
"name": "stub_b",
79456+
"name": "index_uuid",
7947879457
"required": true,
7947979458
"type": {
7948079459
"kind": "instance_of",
@@ -79483,21 +79462,67 @@
7948379462
"namespace": "internal"
7948479463
}
7948579464
}
79465+
},
79466+
{
79467+
"name": "creation_date_millis",
79468+
"required": true,
79469+
"type": {
79470+
"kind": "instance_of",
79471+
"type": {
79472+
"name": "EpochMillis",
79473+
"namespace": "_types"
79474+
}
79475+
}
79476+
},
79477+
{
79478+
"name": "node_ids",
79479+
"required": true,
79480+
"type": {
79481+
"kind": "instance_of",
79482+
"type": {
79483+
"name": "Ids",
79484+
"namespace": "_types"
79485+
}
79486+
}
7948679487
}
7948779488
]
7948879489
},
79490+
{
79491+
"attachedBehaviors": [
79492+
"CommonQueryParameters"
79493+
],
79494+
"body": {
79495+
"kind": "no_body"
79496+
},
79497+
"inherits": {
79498+
"type": {
79499+
"name": "RequestBase",
79500+
"namespace": "_types"
79501+
}
79502+
},
79503+
"kind": "request",
79504+
"name": {
79505+
"name": "Request",
79506+
"namespace": "dangling_indices.list_dangling_indices"
79507+
},
79508+
"path": [],
79509+
"query": []
79510+
},
7948979511
{
7949079512
"body": {
7949179513
"kind": "properties",
7949279514
"properties": [
7949379515
{
79494-
"name": "stub",
79516+
"name": "dangling_indices",
7949579517
"required": true,
7949679518
"type": {
79497-
"kind": "instance_of",
79498-
"type": {
79499-
"name": "integer",
79500-
"namespace": "_types"
79519+
"kind": "array_of",
79520+
"value": {
79521+
"kind": "instance_of",
79522+
"type": {
79523+
"name": "DanglingIndex",
79524+
"namespace": "dangling_indices.list_dangling_indices"
79525+
}
7950179526
}
7950279527
}
7950379528
}

Diff for: output/schema/validation-errors.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -338,13 +338,13 @@
338338
},
339339
"dangling_indices.delete_dangling_index": {
340340
"request": [
341-
"Endpoint has \"@stability: TODO"
341+
"Request: should not have a body"
342342
],
343343
"response": []
344344
},
345345
"dangling_indices.import_dangling_index": {
346346
"request": [
347-
"Endpoint has \"@stability: TODO"
347+
"Request: should not have a body"
348348
],
349349
"response": []
350350
},

0 commit comments

Comments
 (0)