Skip to content

Does not work with json-schema-ref-parser 7.x #17

@mhuggins

Description

@mhuggins

The json-schema-ref-parser dependency is now at version 7.1. The 7.x series is needed for use with node 12. However, it has been rewritten with that release to depend on async/await. Because of this, the deasync loopWhile call loops indefinitely since these promises are not being given an opportunity to run. This means that the callback passed to $RefParser.dereference is never called, and thus done = true is never assigned.

For reference, I opened an issue for apidoc-core as well since fixing this might depend on a change to that if you want to keep using json-schema-ref-parser under the hood as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions