Skip to content

Weird circular ref causes endless loop #56

@JamesMessinger

Description

@JamesMessinger

Something weird about the Bungie.net API causes the dereference() method to spin forever in an endless loop. I haven't had time to fully investigate why yet.

Code to reproduce the bug:

jsonSchemaRefParser.dereference('https://api.apis.guru/v2/specs/bungie.net/2.0.0/swagger.yaml')
    .then(() => {
        console.log('this line will never execute');
    })
    .catch(() => {
        console.log('neither will this line');
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions