Skip to content

jsonschema2pojo website returns HTTP 500 for using TreeNode example in the wiki #781

@jeremyhill-up

Description

@jeremyhill-up

In https://github.com/joelittlejohn/jsonschema2pojo/wiki/Reference#ref

There is:

Example treeNode.json using a self reference to build a tree:
{
  "description": "Tree node",
  "type": "object",
  "properties": {
    "children": {
      "type": "array",
      "items": {
        "$ref": "#"
      }
    }
  }
}

Attempting to generate the provided example returns HTTP ERROR: 500 java.lang.StackOverflowError.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions