Skip to content
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

Error with acceptJsonFormatVisitor ... on Object? #12

Closed
benson-basis opened this issue Oct 14, 2016 · 2 comments
Closed

Error with acceptJsonFormatVisitor ... on Object? #12

benson-basis opened this issue Oct 14, 2016 · 2 comments

Comments

@benson-basis
Copy link

08:54:16.464 [main] WARN com.kjetland.jackson.jsonSchema.JsonSchemaGenerator - Not able to generate jsonSchema-info for type: [simple type, class java.lang.Object] - probably using custom serializer which does not override acceptJsonFormatVisitor

I think I know what type is really at issue, but the main question is, what should my implementation of this method do?

@benson-basis
Copy link
Author

benson-basis commented Oct 14, 2016

Here's the source of the problem.

@JsonAppend(prepend = true, props = { @JsonAppend.Prop(value = VersionProperty.class, name = "version")})

@benson-basis
Copy link
Author

I was able to get past this by adding a getType method to VersionProperty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant