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

feat(deref): use in-filename to overwrite out-filename #2

Merged
merged 4 commits into from Jul 13, 2022

Conversation

ran-huang
Copy link
Collaborator

close #1

I have tested it locally and it worked fine for me:

$ node src/main.js deref openapi-spec.swagger.json # without an outfile
Wrote dereferenced schema to openapi-spec.swagger.json

Signed-off-by: Ran <huangran.alex@gmail.com>
@ran-huang ran-huang requested a review from Oreoxmt July 12, 2022 13:08
src/deref.js Outdated Show resolved Hide resolved
src/main.js Outdated Show resolved Hide resolved
Co-authored-by: Aolin <aolinz@outlook.com>
Copy link
Owner

@Oreoxmt Oreoxmt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Oreoxmt Oreoxmt merged commit 588cc23 into Oreoxmt:main Jul 13, 2022
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.

deref : overwrite the in-filename when the out-filename is undefined
2 participants