mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 15:24:14 +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
|
|
@ -63,6 +63,7 @@ typedef struct OpenAPI_dnn_configuration_1_s {
|
|||
char *iptv_acc_ctrl_info;
|
||||
struct OpenAPI_ip_index_s *ipv4_index;
|
||||
struct OpenAPI_ip_index_s *ipv6_index;
|
||||
bool is_ecs_addr_config_info_null;
|
||||
struct OpenAPI_ecs_addr_config_info_1_s *ecs_addr_config_info;
|
||||
OpenAPI_list_t *additional_ecs_addr_config_infos;
|
||||
char *shared_ecs_addr_config_info;
|
||||
|
|
@ -108,6 +109,7 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_create(
|
|||
char *iptv_acc_ctrl_info,
|
||||
OpenAPI_ip_index_t *ipv4_index,
|
||||
OpenAPI_ip_index_t *ipv6_index,
|
||||
bool is_ecs_addr_config_info_null,
|
||||
OpenAPI_ecs_addr_config_info_1_t *ecs_addr_config_info,
|
||||
OpenAPI_list_t *additional_ecs_addr_config_infos,
|
||||
char *shared_ecs_addr_config_info,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue