You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
This discussion was converted from issue #726 on August 13, 2023 00:47.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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