FasterXML / FasterXML/jackson-module-jsonSchema

Combining JsonView with JsonUnwrapped

Open
#131 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
387
Forks
136
PR merge metrics
No merged PRs in 30d

Description

Hey,

I ran into an issue when combining JsonView with JsonUnwrapped annotation. This could be potentially misuse of the API but seemingly the behaviour is unexpected.

The following test case demonstrates the issue, but the gist of it is that with json view IdType ends up as ObjectSchema, where as without it its correctly identified as IntegerSchema:

https://github.com/mkoppanen/jackson-module-jsonSchema/commit/0556c63a259df5fc5db255bdfcce0a29f84ccee3

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.