-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add support for com.fasterxml.jackson.annotation.JacksonAnnotationsInside
annotation
#487
Conversation
…tionsInside` helper annotation
@smaarn Thank you very much for the effort in creating this PR. I'm currently busy and unsure when I will get around to properly reviewing this, but I will soon. |
...odule-jackson/src/main/java/com/github/victools/jsonschema/module/jackson/JacksonHelper.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/github/victools/jsonschema/module/jackson/CustomEnumDefinitionProvider.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/github/victools/jsonschema/module/jackson/CustomEnumDefinitionProvider.java
Outdated
Show resolved
Hide resolved
...odule-jackson/src/main/java/com/github/victools/jsonschema/module/jackson/JacksonHelper.java
Outdated
Show resolved
Hide resolved
...e-jackson/src/test/java/com/github/victools/jsonschema/module/jackson/JacksonHelperTest.java
Outdated
Show resolved
Hide resolved
com.fasterxml.jackson.annotation.JacksonAnnotationsInside
helper annotationcom.fasterxml.jackson.annotation.JacksonAnnotationsInside
annotation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for the contribution.
I like it.
I'll just do a little bit of housekeeping (update the Changelog and "slate-doc" documentation as well as the contributors
list), but this looks pretty good already.
Not today anymore though. It's too late. 😃
...le-jackson/src/main/java/com/github/victools/jsonschema/module/jackson/AnnotationHelper.java
Outdated
Show resolved
Hide resolved
…n the base package
…n the base package Remove no longer relevant comment
a59c102
into
victools:nested-jackson-annotations
Basically the idea is to ensure that, for any annotation lookup, a fallback to use annotations injected via combo annotations is being used.
It turns out that there was already a mechanism to do that in
TypeContext
(or*Context
interfaces for what it's worth). There were other locations where it wasn't available so I implemented this manually in a dedicated helper class.Fixes #486