Skip to content

Model with recursive items cause RecursionError #122

@danielbradburn

Description

@danielbradburn

The SchemaRegistry doesn't handle recursive references, for example the following schema crashes with a RecursionError: maximum recursion depth exceeded while calling a Python object while trying to parse...

    Tree:
      properties:
        children:
          type: array
          items: 
            $ref: '#/components/schemas/Tree'

It looks like support was added to handle recursive properties, but recursive array items is currently not supported.

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