mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 05:10:10 +00:00
[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:
parent
7ea37ef618
commit
50464d174e
154 changed files with 2773 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue