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 support for message to most used validations #10887

Merged
merged 3 commits into from Oct 31, 2023

Conversation

renanr0
Copy link

@renanr0 renanr0 commented Feb 2, 2021

I've been used swagger codegen lately and notice that some validation don't have support for custom message. I found the issue 5643 and put some more support to cover more validations.

x-length-message -> minLength and maxLength
x-items-message -> minItems  and maxItems
x-maximum-message, x-minimum-message -> for integer, longand decimal fields

@HugoMario HugoMario merged commit 933996b into swagger-api:master Oct 31, 2023
9 of 11 checks passed
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.

None yet

2 participants