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
Modify the mustache templates in open5gs-tools/openapi-generator-templates/c/ to add the following validation:
Add validation to confirm that objects parsed from JSON that include arrays with minItems and/or maxItems set contain a valid number of items after parsing of the array is complete.
Add validation when converting a modelled object to JSON to confirm that arrays contain at least minItems number of items if minItems is given for the array and no more than maxItems if maxItems is given for the array in the OpenAPI description. Conversion to JSON fails if an array does not contain a valid number of items.
The text was updated successfully, but these errors were encountered:
Description
Modify the mustache templates in
open5gs-tools/openapi-generator-templates/c/
to add the following validation:minItems
and/ormaxItems
set contain a valid number of items after parsing of the array is complete.minItems
number of items ifminItems
is given for the array and no more thanmaxItems
ifmaxItems
is given for the array in the OpenAPI description. Conversion to JSON fails if an array does not contain a valid number of items.The text was updated successfully, but these errors were encountered: