[openapi] Add support for nullable fields

Depending on the OpenAPI yaml files, fields can be marked as "nullable".
Which means that the field can be either present, not present, or null.

This feature is important for example in SmContextUpdateData structure,
where many fields are described similar as the following:
This IE shall be included for the modification .... For deleting the
field, it shall contain the Null value.
This commit is contained in:
Bostjan Meglic 2023-10-05 13:39:14 +02:00 committed by Sukchan Lee
parent 7ea37ef618
commit 50464d174e
154 changed files with 2773 additions and 0 deletions

View file

@ -39,6 +39,7 @@ typedef struct OpenAPI_provisioned_data_sets_s {
struct OpenAPI_smf_selection_subscription_data_s *smf_sel_data;
struct OpenAPI_sms_subscription_data_s *sms_subs_data;
struct OpenAPI_sm_subs_data_s *sm_data;
bool is_trace_data_null;
struct OpenAPI_trace_data_s *trace_data;
struct OpenAPI_sms_management_subscription_data_s *sms_mng_data;
struct OpenAPI_lcs_privacy_data_s *lcs_privacy_data;
@ -58,6 +59,7 @@ OpenAPI_provisioned_data_sets_t *OpenAPI_provisioned_data_sets_create(
OpenAPI_smf_selection_subscription_data_t *smf_sel_data,
OpenAPI_sms_subscription_data_t *sms_subs_data,
OpenAPI_sm_subs_data_t *sm_data,
bool is_trace_data_null,
OpenAPI_trace_data_t *trace_data,
OpenAPI_sms_management_subscription_data_t *sms_mng_data,
OpenAPI_lcs_privacy_data_t *lcs_privacy_data,