Skip to content

feat: implement dereferencing #3

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

Merged
merged 1 commit into from
Oct 7, 2019

Conversation

P0lip
Copy link

@P0lip P0lip commented Oct 6, 2019

Closes #2

Decided to make convert async to keep everything more consistent, even though I didn't necessarily need to, as I could return a promise for dereference: true case, or a value otherwise.
dereference is false by default, but happy to change it.

"@stoplight/json-ref-resolver": "^2.3.0",
"@stoplight/yaml": "^3.3.1",
"node-fetch": "^2.6.0",
"tslib": "^1.10.0"
Copy link
Author

Choose a reason for hiding this comment

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

This is due to json-ref-resolver. Will add tslib to json-ref-resolver dependencies.

@philsturgeon philsturgeon merged commit ca13b7a into openapi-contrib:master Oct 7, 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.

Support json-ref-resolver
2 participants