Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.6.3
-
Fix Version/s: None
-
Component/s: ObjectMapper
-
Labels:None
-
Number of attachments :
Description
I have a simple bean that looks like this:
class Event
{ int id; List<Event> related; }Serializing this bean works fine. Trying to generate a JSON Schema for it results in a cycle. It's trying to generate the schema for the List of related events and loops around.
It's looping in BeanSerializer.getSchema.