Skip to content

Commit b77b636

Browse files
authored
[8.19] [DOCS] Fix validation errors in synthetics_apis.yaml (#244685) (#244972)
1 parent 156c57a commit b77b636

2 files changed

Lines changed: 33 additions & 5 deletions

File tree

oas_docs/output/kibana.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28368,6 +28368,9 @@ paths:
2836828368
required: true
2836928369
schema:
2837028370
type: string
28371+
responses:
28372+
'200':
28373+
description: OK
2837128374
summary: Delete a monitor
2837228375
tags:
2837328376
- synthetics
@@ -28532,6 +28535,9 @@ paths:
2853228535
- $ref: '#/components/schemas/Synthetics_tcpMonitorFields'
2853328536
type: object
2853428537
required: true
28538+
responses:
28539+
'200':
28540+
description: OK
2853528541
summary: Update a monitor
2853628542
tags:
2853728543
- synthetics
@@ -28693,11 +28699,11 @@ paths:
2869328699
tags:
2869428700
- synthetics
2869528701
/api/synthetics/params/_bulk_delete:
28696-
delete:
28702+
post:
2869728703
description: |
2869828704
**Spaces method and path for this operation:**
2869928705

28700-
<div><span class="operation-verb delete">delete</span>&nbsp;<span class="operation-path">/s/{space_id}/api/synthetics/params/_bulk_delete</span></div>
28706+
<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/synthetics/params/_bulk_delete</span></div>
2870128707

2870228708
Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.
2870328709

@@ -28771,6 +28777,9 @@ paths:
2877128777
required: true
2877228778
schema:
2877328779
type: string
28780+
responses:
28781+
'200':
28782+
description: OK
2877428783
summary: Delete a parameter
2877528784
tags:
2877628785
- synthetics
@@ -29057,6 +29066,9 @@ paths:
2905729066
maxLength: 1024
2905829067
minLength: 1
2905929068
type: string
29069+
responses:
29070+
'200':
29071+
description: OK
2906029072
summary: Delete a private location
2906129073
tags:
2906229074
- synthetics
@@ -56153,6 +56165,8 @@ components:
5615356165
type: string
5615456166
synthetics_args:
5615556167
description: Synthetics agent CLI arguments.
56168+
items:
56169+
type: string
5615656170
type: array
5615756171
type:
5615856172
description: The monitor type.
@@ -56312,7 +56326,7 @@ components:
5631256326
Synthetics_httpMonitorFields:
5631356327
allOf:
5631456328
- $ref: '#/components/schemas/Synthetics_commonMonitorFields'
56315-
- additionalproperties: true
56329+
- additionalProperties: true
5631656330
type: object
5631756331
properties:
5631856332
check:

x-pack/solutions/observability/plugins/synthetics/docs/openapi/synthetic_apis.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,9 @@ paths:
281281
required: true
282282
schema:
283283
type: string
284+
responses:
285+
"200":
286+
description: OK
284287
get:
285288
summary: Get a monitor
286289
operationId: get-synthetic-monitor
@@ -441,6 +444,9 @@ paths:
441444
"inline_script": "step('Go to https://google.com.co', () => page.goto('https://www.google.com'))",
442445
"locations": ["united_kingdom"]
443446
}
447+
responses:
448+
"200":
449+
description: OK
444450
/api/synthetics/monitors/_bulk_delete:
445451
post:
446452
summary: Delete monitors
@@ -669,6 +675,9 @@ paths:
669675
required: true
670676
schema:
671677
type: string
678+
responses:
679+
"200":
680+
description: OK
672681
get:
673682
summary: Get a parameter
674683
operationId: get-parameter
@@ -781,7 +790,7 @@ paths:
781790
"tags": ["authentication", "security", "updated"]
782791
}
783792
/api/synthetics/params/_bulk_delete:
784-
delete:
793+
post:
785794
summary: Delete parameters
786795
operationId: delete-parameters
787796
description: >
@@ -988,6 +997,9 @@ paths:
988997
type: string
989998
minLength: 1
990999
maxLength: 1024
1000+
responses:
1001+
"200":
1002+
description: OK
9911003
get:
9921004
summary: Get a private location
9931005
operationId: get-private-location
@@ -1214,6 +1226,8 @@ components:
12141226
synthetics_args:
12151227
type: array
12161228
description: Synthetics agent CLI arguments.
1229+
items:
1230+
type: string
12171231
type:
12181232
type: string
12191233
description: The monitor type.
@@ -1227,7 +1241,7 @@ components:
12271241
required:
12281242
- type
12291243
- url
1230-
additionalproperties: true
1244+
additionalProperties: true
12311245
properties:
12321246
check:
12331247
type: objects

0 commit comments

Comments
 (0)