FasterXML / FasterXML/jackson-module-jsonSchema
Combining JsonView with JsonUnwrapped
Offen
- Vorherrschende Sprache
- Java
- Sterne
- 387
- Forks
- 136
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.