-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Introduction
Array size limits can be specified for an API in OpenAPI 3.0 using the optional minItems and maxItems qualifiers when specifying arrays. The 3GPP OpenAPI YAML in the 5G_APIs repository uses both minItems and maxItems, although the 5GMS specific parts only use minItems. At present, the validation performed in the 5GMS AF by the OpenAPI C templates does not validation the size of arrays.
Description
- Update the commit for rt-common-shared so that it includes the OpenAPI C templates to provide extra validation for array sizes (Add array size validation to the openapi-generator C templates rt-common-shared#40).
- Confirm validation occurs in the 5GMS AF for API object instances where array limits are set in 5GMS OpenAPI interfaces.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request