Skip to content

Schema for recursive structures #165

@jamesgarfield

Description

@jamesgarfield

I've got a recursive structure I'm trying to generate a JSON Schema for. When I naively run that through this generator I get a stack overflow error because it never stops recursing.

If I was writing the schema by hand, I would just write out the ref to the object when I it it.

Is there a tag notation I can use to accomplish this, or some other configuration I'm missing to allow me to encode recursive structures?

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