Skip to content

Commit ab95316

Browse files
committed
Add simulate.ingest
1 parent bc0cb5b commit ab95316

18 files changed

+1430
-710
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,6 @@ actions:
394394
examples:
395395
indicesLegacyPutTemplateRequestExample1:
396396
$ref: "../../specification/indices/put_template/indicesPutTemplateRequestExample1.yaml"
397-
398397
## Examples for behavioral analytics
399398
- target: "$.paths['/_application/analytics/{collection_name}/event/{event_type}']['post']"
400399
description: "Add examples for post analytics collection event operation"
@@ -416,6 +415,33 @@ actions:
416415
examples:
417416
dataStreamLifecycleStatsResponseExample1:
418417
$ref: "../../specification/indices/get_data_lifecycle_stats/examples/response/IndicesGetDataLifecycleStatsResponseExample1.yaml"
418+
## Examples for ingest
419+
- target: "$.components['requestBodies']['simulate.ingest']"
420+
description: "Add example for simulate ingest request"
421+
update:
422+
content:
423+
application/json:
424+
examples:
425+
simulateIngestRequestExample1:
426+
$ref: "../../specification/simulate/ingest/SimulateIngestRequestExample1.yaml"
427+
simulateIngestRequestExample2:
428+
$ref: "../../specification/simulate/ingest/SimulateIngestRequestExample2.yaml"
429+
simulateIngestRequestExample3:
430+
$ref: "../../specification/simulate/ingest/SimulateIngestRequestExample3.yaml"
431+
simulateIngestRequestExample4:
432+
$ref: "../../specification/simulate/ingest/SimulateIngestRequestExample4.yaml"
433+
- target: "$.components['responses']['simulate.ingest#200']"
434+
description: "Add example for simulate ingest response"
435+
update:
436+
content:
437+
application/json:
438+
examples:
439+
simulateIngestResponseExample1:
440+
$ref: "../../specification/simulate/ingest/SimulateIngestResponseExample1.yaml"
441+
simulateIngestResponseExample2:
442+
$ref: "../../specification/simulate/ingest/SimulateIngestResponseExample2.yaml"
443+
simulateIngestResponseExample3:
444+
$ref: "../../specification/simulate/ingest/SimulateIngestResponseExample3.yaml"
419445
## Examples for licensing
420446
- target: "$.paths['/_license/basic_status']['get']"
421447
description: "Add example for get basic status response"
@@ -485,7 +511,7 @@ actions:
485511
$ref: "../../specification/search_application/render_query/SearchApplicationsRenderQueryRequestExample1.yaml"
486512
renderSearchApplicationQueryResponseExample1:
487513
$ref: "../../specification/search_application/render_query/SearchApplicationsRenderQueryResponseExample1.yaml"
488-
514+
# Examples for security
489515
- target: "$.paths['/_security/api_key/_bulk_update']['post']"
490516
description: "Add examples for bulk update API keys operation"
491517
update:
@@ -519,4 +545,4 @@ actions:
519545
application/json:
520546
examples:
521547
delegatePkiResponseExample1:
522-
$ref: "../../specification/security/delegate_pki/examples/200_response/SecurityDelegatePkiResponseExample1.yaml"
548+
$ref: "../../specification/security/delegate_pki/examples/200_response/SecurityDelegatePkiResponseExample1.yaml"

output/openapi/elasticsearch-openapi.json

Lines changed: 199 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)