Open
Description
We found an issue, that json-schema-ref-parser
is not able to reoslve circular dependencies.
Here the example:
{
"openapi": "3.1.0",
"info": { "title": "", "version": "" },
"paths": {...},
"components": {
"schemas": {
"Item": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": { "type": "string" },
"description": { "type": "string", "nullable": true },
"items": {
"type": "array",
"items": { "$ref": "#/components/schemas/Item" }
}
},
"example": {
"id": "main-menu-id",
"description": null,
"items": [
{
"id": "sub-menu-id",
"description": null,
"items": []
}
]
}
}
}
}
}
I think the easiest would be to resolve them and let the user hit the issue if he builds up a memory leak with that.
Maybe I am also missing something. If yes, additional info would be awesome :)
Metadata
Metadata
Assignees
Labels
No labels