Skip to content

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

Open
@Sibz

Description

@Sibz

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions