FasterXML / FasterXML/jackson-module-jsonSchema

Combining JsonView with JsonUnwrapped

Đang mở
#131 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
387
Fork
136
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.