-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
Milestone
Description
(note: copied from FasterXML/jackson-databind#271)
For example :
class A { public String text = "text"; }
class B { public @JsonUnwrapped A a = new A(); }
would serialize as :
{"text":"text"}
and the schema would be :
{"type":"object","properties":{"a":{"type":"object","properties":{"text":{"type":"string"}}}}}
but, this is not consistent with the serialized form, the schema should be this :
{"type":"object","properties":{"text":{"type":"string"}}}
aaiezza
Metadata
Metadata
Assignees
Labels
No labels