-
Notifications
You must be signed in to change notification settings - Fork 1
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
Array Size Validation #14
Comments
Fixed in a fork of |
The pull request was added to the 7.2.0 milestone and so should be included in that release. |
I reopen this issue by reason that - those fix is not released. We need double check release 7.2 when it will out and then provide info about it in README and then close this ticket. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
oda-api-sdk-rust
version0.1.0
OS
versionAny
Steps to reproduce
Run
openapi-generator-cli
with therust
orrust-server
generator.Current behavior
Results in
tmf*/src/models.rs
containing an emptyserde
attribute[#validate()]
which preventscargo build
from succeeding.Expected behavior
The Rust generators should map
minItems:1
andmaxItems:10
in the OAS to[#validate(length(min=1,max=10)]
.This is BUG17136 in the OpenAPITools/openapi-generator project.
The text was updated successfully, but these errors were encountered: