Skip to content

Commit a91c810

Browse files
lcawll-trotta
andauthored
Add security.bulk_update_api_keys and security.delegate_pki (#3402)
* Add security.bulk_update_api_keys * Add security.delegate_pki * Add examples * Add body to security.delegate_pki * Add doc_id * examples in subfolder * Update specification/security/bulk_update_api_keys/SecurityBulkUpdateApiKeysRequest.ts Co-authored-by: Laura Trotta <[email protected]> * Update specification/security/bulk_update_api_keys/SecurityBulkUpdateApiKeysResponse.ts Co-authored-by: Laura Trotta <[email protected]> * Update specification/security/bulk_update_api_keys/SecurityBulkUpdateApiKeysResponse.ts Co-authored-by: Laura Trotta <[email protected]> * Update specification/security/delegate_pki/SecurityDelegatePkiResponse.ts Co-authored-by: Laura Trotta <[email protected]> * Fix style * added authentication field to delegate pki res --------- Co-authored-by: Laura Trotta <[email protected]> Co-authored-by: Laura Trotta <[email protected]>
1 parent 7aa6d9c commit a91c810

17 files changed

+1178
-11
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,3 +471,38 @@ actions:
471471
$ref: "../../specification/search_application/render_query/SearchApplicationsRenderQueryRequestExample1.yaml"
472472
renderSearchApplicationQueryResponseExample1:
473473
$ref: "../../specification/search_application/render_query/SearchApplicationsRenderQueryResponseExample1.yaml"
474+
475+
- target: "$.paths['/_security/api_key/_bulk_update']['post']"
476+
description: "Add examples for bulk update API keys operation"
477+
update:
478+
requestBody:
479+
content:
480+
application/json:
481+
examples:
482+
bulkUpdateApiKeysRequestExample1:
483+
$ref: "../../specification/security/bulk_update_api_keys/examples/request/SecurityBulkUpdateApiKeysRequestExample1.yaml"
484+
bulkUpdateApiKeysRequestExample2:
485+
$ref: "../../specification/security/bulk_update_api_keys/examples/request/SecurityBulkUpdateApiKeysRequestExample2.yaml"
486+
responses:
487+
200:
488+
content:
489+
application/json:
490+
examples:
491+
bulkUpdateApiKeysResponseExample1:
492+
$ref: "../../specification/security/bulk_update_api_keys/examples/200_response/SecurityBulkUpdateApiKeysResponseExample1.yaml"
493+
- target: "$.paths['/_security/delegate_pki']['post']"
494+
description: "Add examples for delegate PKI operation"
495+
update:
496+
requestBody:
497+
content:
498+
application/json:
499+
examples:
500+
delegatePkiRequestExample1:
501+
$ref: "../../specification/security/delegate_pki/examples/request/SecurityDelegatePkiRequestExample1.yaml"
502+
responses:
503+
200:
504+
content:
505+
application/json:
506+
examples:
507+
delegatePkiResponseExample1:
508+
$ref: "../../specification/security/delegate_pki/examples/200_response/SecurityDelegatePkiResponseExample1.yaml"

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ actions:
13341334
application/json:
13351335
examples:
13361336
indicesResolveResponseExample1:
1337-
$ref: "../../specification/indices/resolve_index/indicesResolveResponseExample1.yaml"
1337+
$ref: "../../specification/indices/resolve_index/ResolveIndexResponseExample1.yaml"
13381338
- target: "$.components['requestBodies']['indices.rollover']"
13391339
description: "Add example for rollover index request"
13401340
update:

output/openapi/elasticsearch-openapi.json

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

0 commit comments

Comments
 (0)