Skip to content

@BeanParam support for CXF? #1493

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

Closed
andrei-tytsik opened this issue Oct 12, 2015 · 3 comments
Closed

@BeanParam support for CXF? #1493

andrei-tytsik opened this issue Oct 12, 2015 · 3 comments

Comments

@andrei-tytsik
Copy link

Accordingly to https://github.com/swagger-api/swagger-core/wiki/Changelog @BeanParam is now supported by Jersey only. Are there any plans about CXF? Went through #446 topic, tried all the workarounds mentioned there, but none of them are working. Swagger treats @BeanParam as "body" and CXF doesn't seem to be able to parse this request. Same services work fine on Jersey.

@webron
Copy link
Contributor

webron commented Oct 12, 2015

Have you tried using the swagger-jersey2-jaxrs module? It will pull in jersey2, but it shouldn't affect your application.

@andrei-tytsik
Copy link
Author

Finally got it working! swagger-jersey2-jaxrs solves the issue. Thanks a lot!

@webron
Copy link
Contributor

webron commented Oct 13, 2015

Thanks for the update.

@webron webron closed this as completed Oct 13, 2015
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