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

The server should validate incoming payloads #3

Open
wasadigi opened this issue Mar 10, 2017 · 0 comments
Open

The server should validate incoming payloads #3

wasadigi opened this issue Mar 10, 2017 · 0 comments

Comments

@wasadigi
Copy link
Member

At the moment, the payload received on the /measures endpoint are passed through to MongoDB. They need to be validated and the client needs to be notified if there are problems. The Swagger specs already define constraints. Also, generated code contains validation annotations for these constraints. The problem is that at the moment, Spring Boot does not use them.

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