Skip to content

Conversation

@anssari1
Copy link
Contributor

@anssari1 anssari1 commented Nov 25, 2024

Situation

Non-body request params are not validated according to the constraints defined in the specs

Task

Validate request params according to the constraints defined in the specs

Action

Add Hibernate tags to operation params, and validate params object while building it

Testing

Tested manually

Results

Request params are validated according to the constraints defined in the specs. Violations throw PropertyConstraintViolationException

Notes

@anssari1 anssari1 marked this pull request as ready for review November 25, 2024 12:38
@anssari1 anssari1 requested a review from a team as a code owner November 25, 2024 12:38
@anssari1 anssari1 force-pushed the nanssari/violations branch from fa7a484 to dcc048f Compare November 25, 2024 14:07
Copy link
Contributor

@OmarAlJarrah OmarAlJarrah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@anssari1 anssari1 merged commit f81b2ef into main Nov 26, 2024
1 check passed
@anssari1 anssari1 deleted the nanssari/violations branch November 26, 2024 12:05
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

Successfully merging this pull request may close these issues.

4 participants