We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(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"}}}
The text was updated successfully, but these errors were encountered:
support json schema generation for @JsonUnwrapped (FasterXML#20)
6d47fdc
- improve tests, the actual fix is in jackson-databind (#271)
Merge pull request #61 from ciderale/jsonschema-support-jsonunwrapped
9e6d736
support json schema generation for @JsonUnwrapped (#20)
Update release notes wrt #20 / #61
1da8996
Ok: should all be fixed now, as per #61, thanks to @ciderale. Will be in 2.5.2 (and, if it gets released, 2.4.6).
Sorry, something went wrong.
No branches or pull requests
(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"}}}
The text was updated successfully, but these errors were encountered: