Skip to content

Commit

Permalink
[Security Solution] Auto-bundle Endpoint Management API OpenAPI specs (
Browse files Browse the repository at this point in the history
…#188853)

**Addresses**: #184428

## Summary

This PR adds scripts for automatic bundling of Endpoint Management API OpenAPI specs as a part of PR pipeline. Corresponding result bundles are automatically committed to the Security Solution plugin `x-pack/plugins/security_solution` in the `docs/openapi/ess/` and `docs/openapi/serverless` folders (similar to #186384).
  • Loading branch information
maximpn authored Jul 26, 2024
1 parent 9bc5741 commit 218146e
Show file tree
Hide file tree
Showing 5 changed files with 1,855 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ check_for_changed_files "yarn openapi:bundle:entity-analytics" true

echo -e "\n[Security Solution OpenAPI Bundling] Lists API\n"

echo -e "\n[Security Solution OpenAPI Bundling] Endpoint Management API\n"

(cd x-pack/plugins/security_solution && yarn openapi:bundle:endpoint-management)
check_for_changed_files "yarn openapi:bundle:endpoint-management" true

(cd packages/kbn-securitysolution-lists-common && yarn openapi:bundle)
check_for_changed_files "yarn openapi:bundle" true

Expand Down
Loading

0 comments on commit 218146e

Please sign in to comment.