FasterXML / FasterXML/jackson-module-jsonSchema

Combining JsonView with JsonUnwrapped

未關閉
#131 0 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
387
分支
136
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。