Skip to content

Bug: Root level $ref not being parsed #16

Closed
@willfarrell

Description

@willfarrell
var input = { "$ref":"http://192.168.99.100/schema/sandbox#/definitions/item" };
$RefParser.dereference(input, function(err, schema) {
        if (err) {
            console.error(err);
            return done = true;
        }
         console.log(schema); 
});
// console:
// { '$ref': 'http://192.168.99.100/schema/sandbox#/definitions/item' }

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