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

[CLI] Allow config to be passed as a JSON o YAML string argument - not only as a file #35

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

giorgioma
Copy link

@giorgioma giorgioma commented Jan 15, 2022

I hope the title is self explanatory

Added the possibility to use

npx openapi-merge-cli --json-config '{
  "inputs": [
    ...
  ], 
  "output": ...
}
'

or

npx openapi-merge-cli --yaml-config '---
inputs:
  ...
output: ...
'

as added to docs

@giorgioma giorgioma changed the title [CLI] Allow config to be passed as a JSON argument not as a file [CLI] Allow config to be passed as a JSON o YAML string argument - not as a file Jan 15, 2022
@giorgioma giorgioma changed the title [CLI] Allow config to be passed as a JSON o YAML string argument - not as a file [CLI] Allow config to be passed as a JSON o YAML string argument - not only as a file Jan 15, 2022
@giorgioma
Copy link
Author

giorgioma commented Jul 11, 2022

Missed the notifications? (ping)

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.

1 participant