Abide the min/max length value in the OpenAPI specs #801
expobrain
started this conversation in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
The OpenAPI specs allow to define a min/max length for the attribute of a object but the generated code is not adding any constraint.
Describe the solution you'd like
The generated code adds a validation about the min/max length of the attribute's value.
Describe alternatives you've considered
At the moment I'm adding manual checks on the code that uses the generated client's request but it's not scalable.
Additional context
Beta Was this translation helpful? Give feedback.
All reactions