Skip to content

Maximum call stack size exceeded #2923

@JohnRudolfLewis

Description

@JohnRudolfLewis

Swagger that passes validation and also works in the 2.2.8 version of the UI causes the following error:

Resolver error
Maximum call stack size exceeded

Here is a sample swagger repro case:

https://gist.githubusercontent.com/JohnRudolfLewis/10c2202d251bee2c820f3167b64edd6d/raw/331ac5cc351c362b54453a818c2665114fba22fa/Swagger.yaml

Try it out here:
http://petstore.swagger.io/?url=https://gist.githubusercontent.com/JohnRudolfLewis/10c2202d251bee2c820f3167b64edd6d/raw/331ac5cc351c362b54453a818c2665114fba22fa/Swagger.yaml

The problem is related to the definition that represents a tree structure, it has an array property of itself.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions