Skip to content

Existing valid specs now fail validation because of circular reference check. #615

@sorintm

Description

@sorintm

Existing specs which used to validate fine with previous version, are now failing to load because of the new circular reference check [https://github.com//pull/607].
The hardcoded limit of 3 visits per definition is too aggressive for complex API specs.
I propose increasing the default check limit to a higher number like 100 or 1K. Since the check was introduced to guard against infinite loop, a higher limit would still do the job, but would allow for complex specs to still be validated correctly.
Ideally the limit should be configurable on the loader.

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