Skip to content

Conversation

VShingala
Copy link
Member

This PR adds support for resolution of Remote and URL refs (see here for docs) via options resolveRemoteRefs and sourceUrl.

*/
resolveRemoteRefs: function (openapi, options, cb) {
if (options.resolveRemoteRefs) {
return resolver.resolve(openapi, options.sourceUrl, {
Copy link
Contributor

Choose a reason for hiding this comment

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

@VShingala Is there place in schema itself where the user can specify this sourceUrl? If yes then we should also check if that is present.

@jpoehnelt
Copy link

Anything blocking this? I'm willing to help get merged if necessary.

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.

4 participants