Skip to content

Conversation

@luongvm
Copy link

@luongvm luongvm commented Feb 26, 2018

Currently the options in package.json is not correctly merged, because Object.assign only does shallow merge and thus any headers options is ignored.
This make the current version fails to generate documention for protected endpoints that require Authorization header because the headers option is not included.

This PR fixs that by using deepmerge package to correctly incorporate the package.json options into the default options object.

@2fd 2fd merged commit 82339b7 into 2fd:master Jun 18, 2019
2fd added a commit that referenced this pull request Jun 18, 2019
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.

2 participants