Skip to content
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

CLOUDP-236398: Adding merge command skeleton #6

Merged
merged 6 commits into from Mar 8, 2024

Conversation

andreaangiolillo
Copy link
Collaborator

@andreaangiolillo andreaangiolillo commented Mar 8, 2024

Proposed changes

Jira ticket: CLOUDP-236398

./bin/openapicli merge --help                       
Merge Open API specifications into a base spec.

Usage:
  openapicli merge -b [base-spec] -e [spec-1] -e [spec-2] [flags]

Flags:
  -b, --base string            Base OAS. The command will merge other OASes into it.
  -e, --external stringArray   OASes that will be merged into the base OAS.
  -h, --help                   help for merge
  -o, --output string          File name where the command will store the output. (default "FOAS.json")
./bin/openapicli merge -b test.json -e external.json
2024/03/08 15:29:51
Merged spec was saved in 'FOAS.json'

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works

Further comments

@andreaangiolillo andreaangiolillo marked this pull request as ready for review March 8, 2024 15:30
@andreaangiolillo andreaangiolillo requested a review from a team as a code owner March 8, 2024 15:30
Co-authored-by: Gustavo Bazan <gus.bazan@hey.com>
@andreaangiolillo andreaangiolillo merged commit 61a4368 into main Mar 8, 2024
2 checks passed
@andreaangiolillo andreaangiolillo deleted the CLOUDP-236398_5 branch March 8, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants