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

using bundle and setting resolve.external to false, just causes it to fail #357

Open
Sibz opened this issue Sep 19, 2024 · 0 comments
Open

Comments

@Sibz
Copy link

Sibz commented Sep 19, 2024

I thought this was the ultimate solution to bundle all my local stuff and leave external refs alone.

let bundledSchema = await $RefParser.bundle(schema, {
  resolve: {
      external: false, // Do not resolve external references
  },
...

results in an error if there are any external refs.

Perhaps I'm missing something obvious.

"@apidevtools/json-schema-ref-parser": "^11.7.0"

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

No branches or pull requests

1 participant