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

Could not com.fasterxml.jackson.databind.MapperFeature for Jackson #115

Open
baev opened this issue Oct 30, 2015 · 6 comments
Open

Could not com.fasterxml.jackson.databind.MapperFeature for Jackson #115

baev opened this issue Oct 30, 2015 · 6 comments

Comments

@baev
Copy link

baev commented Oct 30, 2015

As far as I can see there is no support for MapperFeature, only for SerializationFeature

@conorroche
Copy link

@baev can you give me an example of what you want to use this for? the reason i ask is that being able to set them on the object mapper used by this project to convert the swagger java model into json would not do much, instead i could see them being used to control how the java model classes of an api get parsed, for example USE_WRAPPER_NAME_AS_PROPERTY_NAME

@conorroche
Copy link

closing as no response

@baev
Copy link
Author

baev commented Jan 28, 2016

@conorroche sorry for the delay, miss this one

In my case I need to provide the USE_WRAPPER_NAME_AS_PROPERTY_NAME property to get the same mapper configuration as server has

@conorroche
Copy link

reopening it is possible to do something with this, though is tricky as we dont parse json but rather parse the java classes so have to programatically replicate jacksons behaviour.

note need to consider @XmlElementWrapper too when doing this.

@baev could you give an example of your java code (where wrapper names would be applicable) so i can be sure im handling the correct scenario?

@conorroche conorroche reopened this Jan 28, 2016
@baev
Copy link
Author

baev commented Jan 28, 2016

@conorroche ok

@baev
Copy link
Author

baev commented Jan 29, 2016

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

2 participants