Skip to content

Commit 67b05d4

Browse files
committed
Move examples to subfolders
1 parent 5829e14 commit 67b05d4

11 files changed

+9
-9
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -423,25 +423,25 @@ actions:
423423
application/json:
424424
examples:
425425
simulateIngestRequestExample1:
426-
$ref: "../../specification/simulate/ingest/SimulateIngestRequestExample1.yaml"
426+
$ref: "../../specification/simulate/ingest/examples/request/SimulateIngestRequestExample1.yaml"
427427
simulateIngestRequestExample2:
428-
$ref: "../../specification/simulate/ingest/SimulateIngestRequestExample2.yaml"
428+
$ref: "../../specification/simulate/ingest/examples/request/SimulateIngestRequestExample2.yaml"
429429
simulateIngestRequestExample3:
430-
$ref: "../../specification/simulate/ingest/SimulateIngestRequestExample3.yaml"
430+
$ref: "../../specification/simulate/ingest/examples/request/SimulateIngestRequestExample3.yaml"
431431
simulateIngestRequestExample4:
432-
$ref: "../../specification/simulate/ingest/SimulateIngestRequestExample4.yaml"
432+
$ref: "../../specification/simulate/ingest/examples/request/SimulateIngestRequestExample4.yaml"
433433
- target: "$.components['responses']['simulate.ingest#200']"
434434
description: "Add example for simulate ingest response"
435435
update:
436436
content:
437437
application/json:
438438
examples:
439439
simulateIngestResponseExample1:
440-
$ref: "../../specification/simulate/ingest/SimulateIngestResponseExample1.yaml"
440+
$ref: "../../specification/simulate/ingest/examples/response/SimulateIngestResponseExample1.yaml"
441441
simulateIngestResponseExample2:
442-
$ref: "../../specification/simulate/ingest/SimulateIngestResponseExample2.yaml"
442+
$ref: "../../specification/simulate/ingest/examples/response/SimulateIngestResponseExample2.yaml"
443443
simulateIngestResponseExample3:
444-
$ref: "../../specification/simulate/ingest/SimulateIngestResponseExample3.yaml"
444+
$ref: "../../specification/simulate/ingest/examples/response/SimulateIngestResponseExample3.yaml"
445445
## Examples for licensing
446446
- target: "$.paths['/_license/basic_status']['get']"
447447
description: "Add example for get basic status response"

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,15 +1292,15 @@ actions:
12921292
application/json:
12931293
examples:
12941294
simulatePipelineRequestExample1:
1295-
$ref: "../../specification/ingest/simulate/SimulatePipelineRequestExample1.yaml"
1295+
$ref: "../../specification/ingest/simulate/examples/request/SimulatePipelineRequestExample1.yaml"
12961296
- target: "$.components['responses']['ingest.simulate#200']"
12971297
description: "Add example for simulate pipeline response"
12981298
update:
12991299
content:
13001300
application/json:
13011301
examples:
13021302
simulatePipelineResponseExample1:
1303-
$ref: "../../specification/ingest/simulate/SimulatePipelineResponseExample1.yaml"
1303+
$ref: "../../specification/ingest/simulate/examples/response/SimulatePipelineResponseExample1.yaml"
13041304
- target: "$.components['requestBodies']['indices.put_index_template']"
13051305
description: "Add example for create index template request"
13061306
update:

0 commit comments

Comments
 (0)