-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create CLI to extract API data from specification file #5519
Conversation
- Create a new CLI to get the API data from the API specification file - Add a new package script to get the data from the development major.minor version of API - Remove the previous scripts and package script
Wazuh dashboardLegend: Other
Details 🟢 Ensure the API data is generated and saved to files using the package script. Removes the files stored in common/api-info and runs the package script yarn:generate-api. New files with the API data should be created in the common/api-info path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.5-7.10 4.5-7.10
# Navigate to the new working tree
cd .worktrees/backport-4.5-7.10
# Create a new branch
git switch --create backport-5519-to-4.5-7.10
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 92f9b91ad1d72abce1d672fa06a7fb81c553cefa
# Push it to GitHub
git push --set-upstream origin backport-5519-to-4.5-7.10
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.5-7.10 Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.5-7.16 4.5-7.16
# Navigate to the new working tree
cd .worktrees/backport-4.5-7.16
# Create a new branch
git switch --create backport-5519-to-4.5-7.16
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 92f9b91ad1d72abce1d672fa06a7fb81c553cefa
# Push it to GitHub
git push --set-upstream origin backport-5519-to-4.5-7.16
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.5-7.16 Then, create a pull request where the |
* feat: create CLI to get the API data from the API spec file - Create a new CLI to get the API data from the API specification file - Add a new package script to get the data from the development major.minor version of API - Remove the previous scripts and package script * update: update API data * changelog: add pull request entry Changed version of swagger-client development dependency --------- Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com> (cherry picked from commit 92f9b91)
* feat: create CLI to get the API data from the API spec file - Create a new CLI to get the API data from the API specification file - Add a new package script to get the data from the development major.minor version of API - Remove the previous scripts and package script * update: update API data * changelog: add pull request entry --------- Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com> (cherry picked from commit 92f9b91)
… file (#5553) Create CLI to extract API data from specification file (#5519) * feat: create CLI to get the API data from the API spec file - Create a new CLI to get the API data from the API specification file - Add a new package script to get the data from the development major.minor version of API - Remove the previous scripts and package script * update: update API data * changelog: add pull request entry --------- Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com> (cherry picked from commit 92f9b91)
… file (#5552) Create CLI to extract API data from specification file (#5519) * feat: create CLI to get the API data from the API spec file - Create a new CLI to get the API data from the API specification file - Add a new package script to get the data from the development major.minor version of API - Remove the previous scripts and package script * update: update API data * changelog: add pull request entry Changed version of swagger-client development dependency --------- Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com> (cherry picked from commit 92f9b91)
Description
This pull request is adds a new CLI to extract API data from the specification file.
Changes
Issues Resolved
#5036
Evidence
Test
wka-pr-5519-tests.md
Check List
yarn test:jest