FasterXML / FasterXML/jackson-module-jsonSchema

Combining JsonView with JsonUnwrapped

Abierto
#131 0 comentarios 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
387
Forks
136
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.