Skip to content

Commit

Permalink
Add security.bulk_update_api_keys and security.delegate_pki (#3402)
Browse files Browse the repository at this point in the history
* 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]>
(cherry picked from commit a91c810)
  • Loading branch information
lcawl authored and github-actions[bot] committed Jan 8, 2025
1 parent 8436f64 commit 23689ac
Show file tree
Hide file tree
Showing 17 changed files with 1,178 additions and 11 deletions.
35 changes: 35 additions & 0 deletions docs/overlays/elasticsearch-openapi-overlays.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -471,3 +471,38 @@ actions:
$ref: "../../specification/search_application/render_query/SearchApplicationsRenderQueryRequestExample1.yaml"
renderSearchApplicationQueryResponseExample1:
$ref: "../../specification/search_application/render_query/SearchApplicationsRenderQueryResponseExample1.yaml"

- target: "$.paths['/_security/api_key/_bulk_update']['post']"
description: "Add examples for bulk update API keys operation"
update:
requestBody:
content:
application/json:
examples:
bulkUpdateApiKeysRequestExample1:
$ref: "../../specification/security/bulk_update_api_keys/examples/request/SecurityBulkUpdateApiKeysRequestExample1.yaml"
bulkUpdateApiKeysRequestExample2:
$ref: "../../specification/security/bulk_update_api_keys/examples/request/SecurityBulkUpdateApiKeysRequestExample2.yaml"
responses:
200:
content:
application/json:
examples:
bulkUpdateApiKeysResponseExample1:
$ref: "../../specification/security/bulk_update_api_keys/examples/200_response/SecurityBulkUpdateApiKeysResponseExample1.yaml"
- target: "$.paths['/_security/delegate_pki']['post']"
description: "Add examples for delegate PKI operation"
update:
requestBody:
content:
application/json:
examples:
delegatePkiRequestExample1:
$ref: "../../specification/security/delegate_pki/examples/request/SecurityDelegatePkiRequestExample1.yaml"
responses:
200:
content:
application/json:
examples:
delegatePkiResponseExample1:
$ref: "../../specification/security/delegate_pki/examples/200_response/SecurityDelegatePkiResponseExample1.yaml"
2 changes: 1 addition & 1 deletion docs/overlays/elasticsearch-shared-overlays.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ actions:
application/json:
examples:
indicesResolveResponseExample1:
$ref: "../../specification/indices/resolve_index/indicesResolveResponseExample1.yaml"
$ref: "../../specification/indices/resolve_index/ResolveIndexResponseExample1.yaml"
- target: "$.components['requestBodies']['indices.rollover']"
description: "Add example for rollover index request"
update:
Expand Down
248 changes: 248 additions & 0 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 23689ac

Please sign in to comment.