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

Add Bean Validation support to msf4j #240

Open
forseti opened this issue Jul 18, 2016 · 3 comments
Open

Add Bean Validation support to msf4j #240

forseti opened this issue Jul 18, 2016 · 3 comments

Comments

@forseti
Copy link

forseti commented Jul 18, 2016

It seems msf4j does not support JSR 349 yet.

The following code give nulled User:

    @POST
    @Path("/create")
    @Consumes(MediaType.APPLICATION_JSON)
    public String create(@Valid User user) {
        println "User: " + user
        return "success"
    }

I would love to see bean validation in msf4j.

Thanks!

Donny

@thusithathilina
Copy link
Contributor

Hi Donny,
Thank you very much for the feedback. Yes we are yet to support bean validation. I've created public jira https://wso2.org/jira/browse/WMS-79. We will check on that in future release.

Thanks
Thusitha

@aceyin
Copy link

aceyin commented Oct 26, 2016

hi @thusithathilina , what's the progress of this feature?
i'v tried to use interceptors for bean validation, but seems it's not reasonable.

@maheshika maheshika reopened this Jun 14, 2019
@isudana
Copy link

isudana commented Jun 14, 2019

https://wso2.org/jira/projects/WMS/issues/WMS-79 jira ticket is tracked through this github issue.

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

5 participants