forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Threat Hunting Investigations][OpenAPI] Use timeline's generated enu…
…ms (elastic#189410) ## Summary Fixes elastic/security-team#10132. This PR is the first on in a series of PRs to adopt the newly generate OpenAPI types in the timeline server code base. As a first step, we're migrating to the newly generated enums only. This has almost no impact on the schemas and is mostly a one-to-one change. Despite there being changes in more than 150 files, the review should be pretty straight-forward. The most changes come from the new distinction of enums and the actual type of an enum. Meaning a lot of imports and enum usages needed a simple change. In some places I found duplicate or unused types and the OpenAPI types still had a couple of minor mistakes. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
- Loading branch information
1 parent
769fb99
commit 13b15bd
Showing
169 changed files
with
1,398 additions
and
1,212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.