diff --git a/lib/sbi/openapi/model/acc_net_ch_id.c b/lib/sbi/openapi/model/acc_net_ch_id.c index 68b98791a..ec266eb01 100644 --- a/lib/sbi/openapi/model/acc_net_ch_id.c +++ b/lib/sbi/openapi/model/acc_net_ch_id.c @@ -109,7 +109,7 @@ OpenAPI_acc_net_ch_id_t *OpenAPI_acc_net_ch_id_parseFromJSON(cJSON *acc_net_ch_i } OpenAPI_list_add(ref_pcc_rule_idsList , ogs_strdup_or_assert(ref_pcc_rule_ids_local->valuestring)); } -} + } cJSON *session_ch_scope = cJSON_GetObjectItemCaseSensitive(acc_net_ch_idJSON, "sessionChScope"); @@ -118,7 +118,7 @@ OpenAPI_acc_net_ch_id_t *OpenAPI_acc_net_ch_id_parseFromJSON(cJSON *acc_net_ch_i ogs_error("OpenAPI_acc_net_ch_id_parseFromJSON() failed [session_ch_scope]"); goto end; } -} + } acc_net_ch_id_local_var = OpenAPI_acc_net_ch_id_create ( acc_net_cha_id_value->valuedouble, diff --git a/lib/sbi/openapi/model/acc_net_charging_address.c b/lib/sbi/openapi/model/acc_net_charging_address.c index 1399a8a4a..2dea91c16 100644 --- a/lib/sbi/openapi/model/acc_net_charging_address.c +++ b/lib/sbi/openapi/model/acc_net_charging_address.c @@ -68,7 +68,7 @@ OpenAPI_acc_net_charging_address_t *OpenAPI_acc_net_charging_address_parseFromJS ogs_error("OpenAPI_acc_net_charging_address_parseFromJSON() failed [an_charg_ipv4_addr]"); goto end; } -} + } cJSON *an_charg_ipv6_addr = cJSON_GetObjectItemCaseSensitive(acc_net_charging_addressJSON, "anChargIpv6Addr"); @@ -77,7 +77,7 @@ OpenAPI_acc_net_charging_address_t *OpenAPI_acc_net_charging_address_parseFromJS ogs_error("OpenAPI_acc_net_charging_address_parseFromJSON() failed [an_charg_ipv6_addr]"); goto end; } -} + } acc_net_charging_address_local_var = OpenAPI_acc_net_charging_address_create ( an_charg_ipv4_addr ? ogs_strdup_or_assert(an_charg_ipv4_addr->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/acceptable_service_info.c b/lib/sbi/openapi/model/acceptable_service_info.c index 03501cef3..2d947573f 100644 --- a/lib/sbi/openapi/model/acceptable_service_info.c +++ b/lib/sbi/openapi/model/acceptable_service_info.c @@ -111,7 +111,7 @@ OpenAPI_acceptable_service_info_t *OpenAPI_acceptable_service_info_parseFromJSON localMapObject->string, OpenAPI_media_component_parseFromJSON(localMapObject)); OpenAPI_list_add(acc_bw_med_compsList , localMapKeyPair); } -} + } cJSON *mar_bw_ul = cJSON_GetObjectItemCaseSensitive(acceptable_service_infoJSON, "marBwUl"); @@ -120,7 +120,7 @@ OpenAPI_acceptable_service_info_t *OpenAPI_acceptable_service_info_parseFromJSON ogs_error("OpenAPI_acceptable_service_info_parseFromJSON() failed [mar_bw_ul]"); goto end; } -} + } cJSON *mar_bw_dl = cJSON_GetObjectItemCaseSensitive(acceptable_service_infoJSON, "marBwDl"); @@ -129,7 +129,7 @@ OpenAPI_acceptable_service_info_t *OpenAPI_acceptable_service_info_parseFromJSON ogs_error("OpenAPI_acceptable_service_info_parseFromJSON() failed [mar_bw_dl]"); goto end; } -} + } acceptable_service_info_local_var = OpenAPI_acceptable_service_info_create ( acc_bw_med_comps ? acc_bw_med_compsList : NULL, diff --git a/lib/sbi/openapi/model/access_and_mobility_data.c b/lib/sbi/openapi/model/access_and_mobility_data.c index ebdf3075d..87c668126 100644 --- a/lib/sbi/openapi/model/access_and_mobility_data.c +++ b/lib/sbi/openapi/model/access_and_mobility_data.c @@ -301,7 +301,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS OpenAPI_user_location_t *location_local_nonprim = NULL; if (location) { location_local_nonprim = OpenAPI_user_location_parseFromJSON(location); -} + } cJSON *location_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "locationTs"); @@ -310,7 +310,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [location_ts]"); goto end; } -} + } cJSON *time_zone = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "timeZone"); @@ -319,7 +319,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [time_zone]"); goto end; } -} + } cJSON *time_zone_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "timeZoneTs"); @@ -328,7 +328,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [time_zone_ts]"); goto end; } -} + } cJSON *access_type = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "accessType"); @@ -339,7 +339,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS goto end; } access_typeVariable = OpenAPI_access_type_FromString(access_type->valuestring); -} + } cJSON *reg_states = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "regStates"); @@ -362,7 +362,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS OpenAPI_list_add(reg_statesList, reg_statesItem); } -} + } cJSON *reg_states_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "regStatesTs"); @@ -371,7 +371,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [reg_states_ts]"); goto end; } -} + } cJSON *conn_states = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "connStates"); @@ -394,7 +394,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS OpenAPI_list_add(conn_statesList, conn_statesItem); } -} + } cJSON *conn_states_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "connStatesTs"); @@ -403,14 +403,14 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [conn_states_ts]"); goto end; } -} + } cJSON *reachability_status = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "reachabilityStatus"); OpenAPI_ue_reachability_t *reachability_status_local_nonprim = NULL; if (reachability_status) { reachability_status_local_nonprim = OpenAPI_ue_reachability_parseFromJSON(reachability_status); -} + } cJSON *reachability_status_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "reachabilityStatusTs"); @@ -419,7 +419,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [reachability_status_ts]"); goto end; } -} + } cJSON *sms_over_nas_status = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "smsOverNasStatus"); @@ -430,7 +430,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS goto end; } sms_over_nas_statusVariable = OpenAPI_sms_support_FromString(sms_over_nas_status->valuestring); -} + } cJSON *sms_over_nas_status_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "smsOverNasStatusTs"); @@ -439,7 +439,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [sms_over_nas_status_ts]"); goto end; } -} + } cJSON *roaming_status = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "roamingStatus"); @@ -448,7 +448,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [roaming_status]"); goto end; } -} + } cJSON *roaming_status_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "roamingStatusTs"); @@ -457,14 +457,14 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [roaming_status_ts]"); goto end; } -} + } cJSON *current_plmn = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "currentPlmn"); OpenAPI_plmn_id_1_t *current_plmn_local_nonprim = NULL; if (current_plmn) { current_plmn_local_nonprim = OpenAPI_plmn_id_1_parseFromJSON(current_plmn); -} + } cJSON *current_plmn_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "currentPlmnTs"); @@ -473,7 +473,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [current_plmn_ts]"); goto end; } -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "ratType"); @@ -495,7 +495,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS OpenAPI_list_add(rat_typeList, (void *)OpenAPI_rat_type_FromString(rat_type_local_nonprimitive->valuestring)); } -} + } cJSON *rat_types_ts = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "ratTypesTs"); @@ -504,7 +504,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [rat_types_ts]"); goto end; } -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(access_and_mobility_dataJSON, "suppFeat"); @@ -513,7 +513,7 @@ OpenAPI_access_and_mobility_data_t *OpenAPI_access_and_mobility_data_parseFromJS ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed [supp_feat]"); goto end; } -} + } access_and_mobility_data_local_var = OpenAPI_access_and_mobility_data_create ( location ? location_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/access_and_mobility_subscription_data.c b/lib/sbi/openapi/model/access_and_mobility_subscription_data.c index e00bfa715..1ca781cb3 100644 --- a/lib/sbi/openapi/model/access_and_mobility_subscription_data.c +++ b/lib/sbi/openapi/model/access_and_mobility_subscription_data.c @@ -713,7 +713,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *gpsis = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "gpsis"); @@ -733,7 +733,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub } OpenAPI_list_add(gpsisList , ogs_strdup_or_assert(gpsis_local->valuestring)); } -} + } cJSON *internal_group_ids = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "internalGroupIds"); @@ -753,7 +753,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub } OpenAPI_list_add(internal_group_idsList , ogs_strdup_or_assert(internal_group_ids_local->valuestring)); } -} + } cJSON *shared_vn_group_data_ids = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "sharedVnGroupDataIds"); @@ -770,21 +770,21 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub cJSON *localMapObject = shared_vn_group_data_ids_local_map; OpenAPI_list_add(shared_vn_group_data_idsList , localMapKeyPair); } -} + } cJSON *subscribed_ue_ambr = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "subscribedUeAmbr"); OpenAPI_ambr_rm_t *subscribed_ue_ambr_local_nonprim = NULL; if (subscribed_ue_ambr) { subscribed_ue_ambr_local_nonprim = OpenAPI_ambr_rm_parseFromJSON(subscribed_ue_ambr); -} + } cJSON *nssai = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "nssai"); OpenAPI_nssai_t *nssai_local_nonprim = NULL; if (nssai) { nssai_local_nonprim = OpenAPI_nssai_parseFromJSON(nssai); -} + } cJSON *rat_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "ratRestrictions"); @@ -806,7 +806,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub OpenAPI_list_add(rat_restrictionsList, (void *)OpenAPI_rat_type_FromString(rat_restrictions_local_nonprimitive->valuestring)); } -} + } cJSON *forbidden_areas = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "forbiddenAreas"); @@ -829,14 +829,14 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub OpenAPI_list_add(forbidden_areasList, forbidden_areasItem); } -} + } cJSON *service_area_restriction = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "serviceAreaRestriction"); OpenAPI_service_area_restriction_t *service_area_restriction_local_nonprim = NULL; if (service_area_restriction) { service_area_restriction_local_nonprim = OpenAPI_service_area_restriction_parseFromJSON(service_area_restriction); -} + } cJSON *core_network_type_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "coreNetworkTypeRestrictions"); @@ -858,7 +858,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub OpenAPI_list_add(core_network_type_restrictionsList, (void *)OpenAPI_core_network_type_FromString(core_network_type_restrictions_local_nonprimitive->valuestring)); } -} + } cJSON *rfsp_index = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "rfspIndex"); @@ -867,7 +867,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [rfsp_index]"); goto end; } -} + } cJSON *subs_reg_timer = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "subsRegTimer"); @@ -876,7 +876,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [subs_reg_timer]"); goto end; } -} + } cJSON *ue_usage_type = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "ueUsageType"); @@ -885,7 +885,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [ue_usage_type]"); goto end; } -} + } cJSON *mps_priority = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "mpsPriority"); @@ -894,7 +894,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [mps_priority]"); goto end; } -} + } cJSON *mcs_priority = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "mcsPriority"); @@ -903,7 +903,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [mcs_priority]"); goto end; } -} + } cJSON *active_time = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "activeTime"); @@ -912,14 +912,14 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [active_time]"); goto end; } -} + } cJSON *sor_info = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "sorInfo"); OpenAPI_sor_info_t *sor_info_local_nonprim = NULL; if (sor_info) { sor_info_local_nonprim = OpenAPI_sor_info_parseFromJSON(sor_info); -} + } cJSON *sor_info_expect_ind = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "sorInfoExpectInd"); @@ -928,7 +928,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [sor_info_expect_ind]"); goto end; } -} + } cJSON *soraf_retrieval = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "sorafRetrieval"); @@ -937,7 +937,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [soraf_retrieval]"); goto end; } -} + } cJSON *sor_update_indicator_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "sorUpdateIndicatorList"); @@ -959,14 +959,14 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub OpenAPI_list_add(sor_update_indicator_listList, (void *)OpenAPI_sor_update_indicator_FromString(sor_update_indicator_list_local_nonprimitive->valuestring)); } -} + } cJSON *upu_info = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "upuInfo"); OpenAPI_upu_info_t *upu_info_local_nonprim = NULL; if (upu_info) { upu_info_local_nonprim = OpenAPI_upu_info_parseFromJSON(upu_info); -} + } cJSON *mico_allowed = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "micoAllowed"); @@ -975,7 +975,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [mico_allowed]"); goto end; } -} + } cJSON *shared_am_data_ids = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "sharedAmDataIds"); @@ -995,7 +995,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub } OpenAPI_list_add(shared_am_data_idsList , ogs_strdup_or_assert(shared_am_data_ids_local->valuestring)); } -} + } cJSON *odb_packet_services = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "odbPacketServices"); @@ -1006,7 +1006,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub goto end; } odb_packet_servicesVariable = OpenAPI_odb_packet_services_FromString(odb_packet_services->valuestring); -} + } cJSON *subscribed_dnn_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "subscribedDnnList"); @@ -1026,7 +1026,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub } OpenAPI_list_add(subscribed_dnn_listList , ogs_strdup_or_assert(subscribed_dnn_list_local->valuestring)); } -} + } cJSON *service_gap_time = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "serviceGapTime"); @@ -1035,7 +1035,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [service_gap_time]"); goto end; } -} + } cJSON *mdt_user_consent = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "mdtUserConsent"); @@ -1046,28 +1046,28 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub goto end; } mdt_user_consentVariable = OpenAPI_mdt_user_consent_FromString(mdt_user_consent->valuestring); -} + } cJSON *mdt_configuration = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "mdtConfiguration"); OpenAPI_mdt_configuration_t *mdt_configuration_local_nonprim = NULL; if (mdt_configuration) { mdt_configuration_local_nonprim = OpenAPI_mdt_configuration_parseFromJSON(mdt_configuration); -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "traceData"); OpenAPI_trace_data_1_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_1_parseFromJSON(trace_data); -} + } cJSON *cag_data = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "cagData"); OpenAPI_cag_data_t *cag_data_local_nonprim = NULL; if (cag_data) { cag_data_local_nonprim = OpenAPI_cag_data_parseFromJSON(cag_data); -} + } cJSON *stn_sr = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "stnSr"); @@ -1076,7 +1076,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [stn_sr]"); goto end; } -} + } cJSON *c_msisdn = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "cMsisdn"); @@ -1085,7 +1085,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [c_msisdn]"); goto end; } -} + } cJSON *nb_io_tue_priority = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "nbIoTUePriority"); @@ -1094,7 +1094,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [nb_io_tue_priority]"); goto end; } -} + } cJSON *nssai_inclusion_allowed = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "nssaiInclusionAllowed"); @@ -1103,7 +1103,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [nssai_inclusion_allowed]"); goto end; } -} + } cJSON *rg_wireline_characteristics = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "rgWirelineCharacteristics"); @@ -1112,14 +1112,14 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [rg_wireline_characteristics]"); goto end; } -} + } cJSON *ec_restriction_data_wb = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "ecRestrictionDataWb"); OpenAPI_ec_restriction_data_wb_t *ec_restriction_data_wb_local_nonprim = NULL; if (ec_restriction_data_wb) { ec_restriction_data_wb_local_nonprim = OpenAPI_ec_restriction_data_wb_parseFromJSON(ec_restriction_data_wb); -} + } cJSON *ec_restriction_data_nb = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "ecRestrictionDataNb"); @@ -1128,14 +1128,14 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [ec_restriction_data_nb]"); goto end; } -} + } cJSON *expected_ue_behaviour_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "expectedUeBehaviourList"); OpenAPI_expected_ue_behaviour_data_t *expected_ue_behaviour_list_local_nonprim = NULL; if (expected_ue_behaviour_list) { expected_ue_behaviour_list_local_nonprim = OpenAPI_expected_ue_behaviour_data_parseFromJSON(expected_ue_behaviour_list); -} + } cJSON *primary_rat_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "primaryRatRestrictions"); @@ -1157,7 +1157,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub OpenAPI_list_add(primary_rat_restrictionsList, (void *)OpenAPI_rat_type_FromString(primary_rat_restrictions_local_nonprimitive->valuestring)); } -} + } cJSON *secondary_rat_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "secondaryRatRestrictions"); @@ -1179,7 +1179,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub OpenAPI_list_add(secondary_rat_restrictionsList, (void *)OpenAPI_rat_type_FromString(secondary_rat_restrictions_local_nonprimitive->valuestring)); } -} + } cJSON *edrx_parameters_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "edrxParametersList"); @@ -1202,7 +1202,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub OpenAPI_list_add(edrx_parameters_listList, edrx_parameters_listItem); } -} + } cJSON *ptw_parameters_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "ptwParametersList"); @@ -1225,7 +1225,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub OpenAPI_list_add(ptw_parameters_listList, ptw_parameters_listItem); } -} + } cJSON *iab_operation_allowed = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "iabOperationAllowed"); @@ -1234,7 +1234,7 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed [iab_operation_allowed]"); goto end; } -} + } cJSON *wireline_forbidden_areas = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "wirelineForbiddenAreas"); @@ -1257,14 +1257,14 @@ OpenAPI_access_and_mobility_subscription_data_t *OpenAPI_access_and_mobility_sub OpenAPI_list_add(wireline_forbidden_areasList, wireline_forbidden_areasItem); } -} + } cJSON *wireline_service_area_restriction = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_dataJSON, "wirelineServiceAreaRestriction"); OpenAPI_wireline_service_area_restriction_t *wireline_service_area_restriction_local_nonprim = NULL; if (wireline_service_area_restriction) { wireline_service_area_restriction_local_nonprim = OpenAPI_wireline_service_area_restriction_parseFromJSON(wireline_service_area_restriction); -} + } access_and_mobility_subscription_data_local_var = OpenAPI_access_and_mobility_subscription_data_create ( supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/access_and_mobility_subscription_data_1.c b/lib/sbi/openapi/model/access_and_mobility_subscription_data_1.c index c98a0df10..dcdc043cf 100644 --- a/lib/sbi/openapi/model/access_and_mobility_subscription_data_1.c +++ b/lib/sbi/openapi/model/access_and_mobility_subscription_data_1.c @@ -713,7 +713,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *gpsis = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "gpsis"); @@ -733,7 +733,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s } OpenAPI_list_add(gpsisList , ogs_strdup_or_assert(gpsis_local->valuestring)); } -} + } cJSON *internal_group_ids = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "internalGroupIds"); @@ -753,7 +753,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s } OpenAPI_list_add(internal_group_idsList , ogs_strdup_or_assert(internal_group_ids_local->valuestring)); } -} + } cJSON *shared_vn_group_data_ids = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "sharedVnGroupDataIds"); @@ -770,21 +770,21 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s cJSON *localMapObject = shared_vn_group_data_ids_local_map; OpenAPI_list_add(shared_vn_group_data_idsList , localMapKeyPair); } -} + } cJSON *subscribed_ue_ambr = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "subscribedUeAmbr"); OpenAPI_ambr_rm_t *subscribed_ue_ambr_local_nonprim = NULL; if (subscribed_ue_ambr) { subscribed_ue_ambr_local_nonprim = OpenAPI_ambr_rm_parseFromJSON(subscribed_ue_ambr); -} + } cJSON *nssai = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "nssai"); OpenAPI_nssai_1_t *nssai_local_nonprim = NULL; if (nssai) { nssai_local_nonprim = OpenAPI_nssai_1_parseFromJSON(nssai); -} + } cJSON *rat_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "ratRestrictions"); @@ -806,7 +806,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s OpenAPI_list_add(rat_restrictionsList, (void *)OpenAPI_rat_type_FromString(rat_restrictions_local_nonprimitive->valuestring)); } -} + } cJSON *forbidden_areas = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "forbiddenAreas"); @@ -829,14 +829,14 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s OpenAPI_list_add(forbidden_areasList, forbidden_areasItem); } -} + } cJSON *service_area_restriction = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "serviceAreaRestriction"); OpenAPI_service_area_restriction_1_t *service_area_restriction_local_nonprim = NULL; if (service_area_restriction) { service_area_restriction_local_nonprim = OpenAPI_service_area_restriction_1_parseFromJSON(service_area_restriction); -} + } cJSON *core_network_type_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "coreNetworkTypeRestrictions"); @@ -858,7 +858,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s OpenAPI_list_add(core_network_type_restrictionsList, (void *)OpenAPI_core_network_type_FromString(core_network_type_restrictions_local_nonprimitive->valuestring)); } -} + } cJSON *rfsp_index = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "rfspIndex"); @@ -867,7 +867,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [rfsp_index]"); goto end; } -} + } cJSON *subs_reg_timer = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "subsRegTimer"); @@ -876,7 +876,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [subs_reg_timer]"); goto end; } -} + } cJSON *ue_usage_type = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "ueUsageType"); @@ -885,7 +885,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [ue_usage_type]"); goto end; } -} + } cJSON *mps_priority = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "mpsPriority"); @@ -894,7 +894,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [mps_priority]"); goto end; } -} + } cJSON *mcs_priority = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "mcsPriority"); @@ -903,7 +903,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [mcs_priority]"); goto end; } -} + } cJSON *active_time = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "activeTime"); @@ -912,14 +912,14 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [active_time]"); goto end; } -} + } cJSON *sor_info = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "sorInfo"); OpenAPI_sor_info_1_t *sor_info_local_nonprim = NULL; if (sor_info) { sor_info_local_nonprim = OpenAPI_sor_info_1_parseFromJSON(sor_info); -} + } cJSON *sor_info_expect_ind = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "sorInfoExpectInd"); @@ -928,7 +928,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [sor_info_expect_ind]"); goto end; } -} + } cJSON *soraf_retrieval = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "sorafRetrieval"); @@ -937,7 +937,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [soraf_retrieval]"); goto end; } -} + } cJSON *sor_update_indicator_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "sorUpdateIndicatorList"); @@ -959,14 +959,14 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s OpenAPI_list_add(sor_update_indicator_listList, (void *)OpenAPI_sor_update_indicator_FromString(sor_update_indicator_list_local_nonprimitive->valuestring)); } -} + } cJSON *upu_info = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "upuInfo"); OpenAPI_upu_info_1_t *upu_info_local_nonprim = NULL; if (upu_info) { upu_info_local_nonprim = OpenAPI_upu_info_1_parseFromJSON(upu_info); -} + } cJSON *mico_allowed = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "micoAllowed"); @@ -975,7 +975,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [mico_allowed]"); goto end; } -} + } cJSON *shared_am_data_ids = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "sharedAmDataIds"); @@ -995,7 +995,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s } OpenAPI_list_add(shared_am_data_idsList , ogs_strdup_or_assert(shared_am_data_ids_local->valuestring)); } -} + } cJSON *odb_packet_services = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "odbPacketServices"); @@ -1006,7 +1006,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s goto end; } odb_packet_servicesVariable = OpenAPI_odb_packet_services_FromString(odb_packet_services->valuestring); -} + } cJSON *subscribed_dnn_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "subscribedDnnList"); @@ -1026,7 +1026,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s } OpenAPI_list_add(subscribed_dnn_listList , ogs_strdup_or_assert(subscribed_dnn_list_local->valuestring)); } -} + } cJSON *service_gap_time = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "serviceGapTime"); @@ -1035,7 +1035,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [service_gap_time]"); goto end; } -} + } cJSON *mdt_user_consent = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "mdtUserConsent"); @@ -1046,28 +1046,28 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s goto end; } mdt_user_consentVariable = OpenAPI_mdt_user_consent_FromString(mdt_user_consent->valuestring); -} + } cJSON *mdt_configuration = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "mdtConfiguration"); OpenAPI_mdt_configuration_1_t *mdt_configuration_local_nonprim = NULL; if (mdt_configuration) { mdt_configuration_local_nonprim = OpenAPI_mdt_configuration_1_parseFromJSON(mdt_configuration); -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "traceData"); OpenAPI_trace_data_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data); -} + } cJSON *cag_data = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "cagData"); OpenAPI_cag_data_1_t *cag_data_local_nonprim = NULL; if (cag_data) { cag_data_local_nonprim = OpenAPI_cag_data_1_parseFromJSON(cag_data); -} + } cJSON *stn_sr = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "stnSr"); @@ -1076,7 +1076,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [stn_sr]"); goto end; } -} + } cJSON *c_msisdn = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "cMsisdn"); @@ -1085,7 +1085,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [c_msisdn]"); goto end; } -} + } cJSON *nb_io_tue_priority = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "nbIoTUePriority"); @@ -1094,7 +1094,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [nb_io_tue_priority]"); goto end; } -} + } cJSON *nssai_inclusion_allowed = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "nssaiInclusionAllowed"); @@ -1103,7 +1103,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [nssai_inclusion_allowed]"); goto end; } -} + } cJSON *rg_wireline_characteristics = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "rgWirelineCharacteristics"); @@ -1112,14 +1112,14 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [rg_wireline_characteristics]"); goto end; } -} + } cJSON *ec_restriction_data_wb = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "ecRestrictionDataWb"); OpenAPI_ec_restriction_data_wb_t *ec_restriction_data_wb_local_nonprim = NULL; if (ec_restriction_data_wb) { ec_restriction_data_wb_local_nonprim = OpenAPI_ec_restriction_data_wb_parseFromJSON(ec_restriction_data_wb); -} + } cJSON *ec_restriction_data_nb = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "ecRestrictionDataNb"); @@ -1128,14 +1128,14 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [ec_restriction_data_nb]"); goto end; } -} + } cJSON *expected_ue_behaviour_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "expectedUeBehaviourList"); OpenAPI_expected_ue_behaviour_data_1_t *expected_ue_behaviour_list_local_nonprim = NULL; if (expected_ue_behaviour_list) { expected_ue_behaviour_list_local_nonprim = OpenAPI_expected_ue_behaviour_data_1_parseFromJSON(expected_ue_behaviour_list); -} + } cJSON *primary_rat_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "primaryRatRestrictions"); @@ -1157,7 +1157,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s OpenAPI_list_add(primary_rat_restrictionsList, (void *)OpenAPI_rat_type_FromString(primary_rat_restrictions_local_nonprimitive->valuestring)); } -} + } cJSON *secondary_rat_restrictions = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "secondaryRatRestrictions"); @@ -1179,7 +1179,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s OpenAPI_list_add(secondary_rat_restrictionsList, (void *)OpenAPI_rat_type_FromString(secondary_rat_restrictions_local_nonprimitive->valuestring)); } -} + } cJSON *edrx_parameters_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "edrxParametersList"); @@ -1202,7 +1202,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s OpenAPI_list_add(edrx_parameters_listList, edrx_parameters_listItem); } -} + } cJSON *ptw_parameters_list = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "ptwParametersList"); @@ -1225,7 +1225,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s OpenAPI_list_add(ptw_parameters_listList, ptw_parameters_listItem); } -} + } cJSON *iab_operation_allowed = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "iabOperationAllowed"); @@ -1234,7 +1234,7 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed [iab_operation_allowed]"); goto end; } -} + } cJSON *wireline_forbidden_areas = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "wirelineForbiddenAreas"); @@ -1257,14 +1257,14 @@ OpenAPI_access_and_mobility_subscription_data_1_t *OpenAPI_access_and_mobility_s OpenAPI_list_add(wireline_forbidden_areasList, wireline_forbidden_areasItem); } -} + } cJSON *wireline_service_area_restriction = cJSON_GetObjectItemCaseSensitive(access_and_mobility_subscription_data_1JSON, "wirelineServiceAreaRestriction"); OpenAPI_wireline_service_area_restriction_1_t *wireline_service_area_restriction_local_nonprim = NULL; if (wireline_service_area_restriction) { wireline_service_area_restriction_local_nonprim = OpenAPI_wireline_service_area_restriction_1_parseFromJSON(wireline_service_area_restriction); -} + } access_and_mobility_subscription_data_1_local_var = OpenAPI_access_and_mobility_subscription_data_1_create ( supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/access_net_charging_identifier.c b/lib/sbi/openapi/model/access_net_charging_identifier.c index a5ef78a0e..c70d651eb 100644 --- a/lib/sbi/openapi/model/access_net_charging_identifier.c +++ b/lib/sbi/openapi/model/access_net_charging_identifier.c @@ -107,7 +107,7 @@ OpenAPI_access_net_charging_identifier_t *OpenAPI_access_net_charging_identifier OpenAPI_list_add(flowsList, flowsItem); } -} + } access_net_charging_identifier_local_var = OpenAPI_access_net_charging_identifier_create ( acc_net_cha_id_value->valuedouble, diff --git a/lib/sbi/openapi/model/access_token_err.c b/lib/sbi/openapi/model/access_token_err.c index b9f8c744c..79e23fd94 100644 --- a/lib/sbi/openapi/model/access_token_err.c +++ b/lib/sbi/openapi/model/access_token_err.c @@ -112,7 +112,7 @@ OpenAPI_access_token_err_t *OpenAPI_access_token_err_parseFromJSON(cJSON *access ogs_error("OpenAPI_access_token_err_parseFromJSON() failed [error_description]"); goto end; } -} + } cJSON *error_uri = cJSON_GetObjectItemCaseSensitive(access_token_errJSON, "error_uri"); @@ -121,7 +121,7 @@ OpenAPI_access_token_err_t *OpenAPI_access_token_err_parseFromJSON(cJSON *access ogs_error("OpenAPI_access_token_err_parseFromJSON() failed [error_uri]"); goto end; } -} + } access_token_err_local_var = OpenAPI_access_token_err_create ( errorVariable, diff --git a/lib/sbi/openapi/model/access_token_req.c b/lib/sbi/openapi/model/access_token_req.c index 304fdce8b..dd9912395 100644 --- a/lib/sbi/openapi/model/access_token_req.c +++ b/lib/sbi/openapi/model/access_token_req.c @@ -338,7 +338,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access goto end; } nf_typeVariable = OpenAPI_nf_type_FromString(nf_type->valuestring); -} + } cJSON *target_nf_type = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "targetNfType"); @@ -349,7 +349,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access goto end; } target_nf_typeVariable = OpenAPI_nf_type_FromString(target_nf_type->valuestring); -} + } cJSON *scope = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "scope"); if (!scope) { @@ -370,14 +370,14 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access ogs_error("OpenAPI_access_token_req_parseFromJSON() failed [target_nf_instance_id]"); goto end; } -} + } cJSON *requester_plmn = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "requesterPlmn"); OpenAPI_plmn_id_t *requester_plmn_local_nonprim = NULL; if (requester_plmn) { requester_plmn_local_nonprim = OpenAPI_plmn_id_parseFromJSON(requester_plmn); -} + } cJSON *requester_plmn_list = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "requesterPlmnList"); @@ -400,7 +400,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access OpenAPI_list_add(requester_plmn_listList, requester_plmn_listItem); } -} + } cJSON *requester_snssai_list = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "requesterSnssaiList"); @@ -423,7 +423,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access OpenAPI_list_add(requester_snssai_listList, requester_snssai_listItem); } -} + } cJSON *requester_fqdn = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "requesterFqdn"); @@ -432,7 +432,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access ogs_error("OpenAPI_access_token_req_parseFromJSON() failed [requester_fqdn]"); goto end; } -} + } cJSON *requester_snpn_list = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "requesterSnpnList"); @@ -455,14 +455,14 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access OpenAPI_list_add(requester_snpn_listList, requester_snpn_listItem); } -} + } cJSON *target_plmn = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "targetPlmn"); OpenAPI_plmn_id_t *target_plmn_local_nonprim = NULL; if (target_plmn) { target_plmn_local_nonprim = OpenAPI_plmn_id_parseFromJSON(target_plmn); -} + } cJSON *target_snssai_list = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "targetSnssaiList"); @@ -485,7 +485,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access OpenAPI_list_add(target_snssai_listList, target_snssai_listItem); } -} + } cJSON *target_nsi_list = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "targetNsiList"); @@ -505,7 +505,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access } OpenAPI_list_add(target_nsi_listList , ogs_strdup_or_assert(target_nsi_list_local->valuestring)); } -} + } cJSON *target_nf_set_id = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "targetNfSetId"); @@ -514,7 +514,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access ogs_error("OpenAPI_access_token_req_parseFromJSON() failed [target_nf_set_id]"); goto end; } -} + } cJSON *target_nf_service_set_id = cJSON_GetObjectItemCaseSensitive(access_token_reqJSON, "targetNfServiceSetId"); @@ -523,7 +523,7 @@ OpenAPI_access_token_req_t *OpenAPI_access_token_req_parseFromJSON(cJSON *access ogs_error("OpenAPI_access_token_req_parseFromJSON() failed [target_nf_service_set_id]"); goto end; } -} + } access_token_req_local_var = OpenAPI_access_token_req_create ( grant_typeVariable, diff --git a/lib/sbi/openapi/model/accu_usage_report.c b/lib/sbi/openapi/model/accu_usage_report.c index 3262a0839..a998fdc39 100644 --- a/lib/sbi/openapi/model/accu_usage_report.c +++ b/lib/sbi/openapi/model/accu_usage_report.c @@ -140,7 +140,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [vol_usage]"); goto end; } -} + } cJSON *vol_usage_uplink = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "volUsageUplink"); @@ -149,7 +149,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [vol_usage_uplink]"); goto end; } -} + } cJSON *vol_usage_downlink = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "volUsageDownlink"); @@ -158,7 +158,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [vol_usage_downlink]"); goto end; } -} + } cJSON *time_usage = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "timeUsage"); @@ -167,7 +167,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [time_usage]"); goto end; } -} + } cJSON *next_vol_usage = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "nextVolUsage"); @@ -176,7 +176,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [next_vol_usage]"); goto end; } -} + } cJSON *next_vol_usage_uplink = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "nextVolUsageUplink"); @@ -185,7 +185,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [next_vol_usage_uplink]"); goto end; } -} + } cJSON *next_vol_usage_downlink = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "nextVolUsageDownlink"); @@ -194,7 +194,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [next_vol_usage_downlink]"); goto end; } -} + } cJSON *next_time_usage = cJSON_GetObjectItemCaseSensitive(accu_usage_reportJSON, "nextTimeUsage"); @@ -203,7 +203,7 @@ OpenAPI_accu_usage_report_t *OpenAPI_accu_usage_report_parseFromJSON(cJSON *accu ogs_error("OpenAPI_accu_usage_report_parseFromJSON() failed [next_time_usage]"); goto end; } -} + } accu_usage_report_local_var = OpenAPI_accu_usage_report_create ( ogs_strdup_or_assert(ref_um_ids->valuestring), diff --git a/lib/sbi/openapi/model/accumulated_usage.c b/lib/sbi/openapi/model/accumulated_usage.c index 9e2148e68..e4075d94c 100644 --- a/lib/sbi/openapi/model/accumulated_usage.c +++ b/lib/sbi/openapi/model/accumulated_usage.c @@ -84,7 +84,7 @@ OpenAPI_accumulated_usage_t *OpenAPI_accumulated_usage_parseFromJSON(cJSON *accu ogs_error("OpenAPI_accumulated_usage_parseFromJSON() failed [duration]"); goto end; } -} + } cJSON *total_volume = cJSON_GetObjectItemCaseSensitive(accumulated_usageJSON, "totalVolume"); @@ -93,7 +93,7 @@ OpenAPI_accumulated_usage_t *OpenAPI_accumulated_usage_parseFromJSON(cJSON *accu ogs_error("OpenAPI_accumulated_usage_parseFromJSON() failed [total_volume]"); goto end; } -} + } cJSON *downlink_volume = cJSON_GetObjectItemCaseSensitive(accumulated_usageJSON, "downlinkVolume"); @@ -102,7 +102,7 @@ OpenAPI_accumulated_usage_t *OpenAPI_accumulated_usage_parseFromJSON(cJSON *accu ogs_error("OpenAPI_accumulated_usage_parseFromJSON() failed [downlink_volume]"); goto end; } -} + } cJSON *uplink_volume = cJSON_GetObjectItemCaseSensitive(accumulated_usageJSON, "uplinkVolume"); @@ -111,7 +111,7 @@ OpenAPI_accumulated_usage_t *OpenAPI_accumulated_usage_parseFromJSON(cJSON *accu ogs_error("OpenAPI_accumulated_usage_parseFromJSON() failed [uplink_volume]"); goto end; } -} + } accumulated_usage_local_var = OpenAPI_accumulated_usage_create ( duration ? duration->valuedouble : 0, diff --git a/lib/sbi/openapi/model/acknowledge_info.c b/lib/sbi/openapi/model/acknowledge_info.c index 22ce4468e..c4b84387c 100644 --- a/lib/sbi/openapi/model/acknowledge_info.c +++ b/lib/sbi/openapi/model/acknowledge_info.c @@ -95,7 +95,7 @@ OpenAPI_acknowledge_info_t *OpenAPI_acknowledge_info_parseFromJSON(cJSON *acknow ogs_error("OpenAPI_acknowledge_info_parseFromJSON() failed [sor_mac_iue]"); goto end; } -} + } cJSON *upu_mac_iue = cJSON_GetObjectItemCaseSensitive(acknowledge_infoJSON, "upuMacIue"); @@ -104,7 +104,7 @@ OpenAPI_acknowledge_info_t *OpenAPI_acknowledge_info_parseFromJSON(cJSON *acknow ogs_error("OpenAPI_acknowledge_info_parseFromJSON() failed [upu_mac_iue]"); goto end; } -} + } cJSON *secured_packet = cJSON_GetObjectItemCaseSensitive(acknowledge_infoJSON, "securedPacket"); @@ -113,7 +113,7 @@ OpenAPI_acknowledge_info_t *OpenAPI_acknowledge_info_parseFromJSON(cJSON *acknow ogs_error("OpenAPI_acknowledge_info_parseFromJSON() failed [secured_packet]"); goto end; } -} + } cJSON *provisioning_time = cJSON_GetObjectItemCaseSensitive(acknowledge_infoJSON, "provisioningTime"); if (!provisioning_time) { @@ -134,7 +134,7 @@ OpenAPI_acknowledge_info_t *OpenAPI_acknowledge_info_parseFromJSON(cJSON *acknow ogs_error("OpenAPI_acknowledge_info_parseFromJSON() failed [ue_not_reachable]"); goto end; } -} + } acknowledge_info_local_var = OpenAPI_acknowledge_info_create ( sor_mac_iue ? ogs_strdup_or_assert(sor_mac_iue->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/acs_info.c b/lib/sbi/openapi/model/acs_info.c index 8fbe9fb39..997751cb4 100644 --- a/lib/sbi/openapi/model/acs_info.c +++ b/lib/sbi/openapi/model/acs_info.c @@ -78,7 +78,7 @@ OpenAPI_acs_info_t *OpenAPI_acs_info_parseFromJSON(cJSON *acs_infoJSON) ogs_error("OpenAPI_acs_info_parseFromJSON() failed [acs_url]"); goto end; } -} + } cJSON *acs_ipv4_addr = cJSON_GetObjectItemCaseSensitive(acs_infoJSON, "acsIpv4Addr"); @@ -87,7 +87,7 @@ OpenAPI_acs_info_t *OpenAPI_acs_info_parseFromJSON(cJSON *acs_infoJSON) ogs_error("OpenAPI_acs_info_parseFromJSON() failed [acs_ipv4_addr]"); goto end; } -} + } cJSON *acs_ipv6_addr = cJSON_GetObjectItemCaseSensitive(acs_infoJSON, "acsIpv6Addr"); @@ -96,7 +96,7 @@ OpenAPI_acs_info_t *OpenAPI_acs_info_parseFromJSON(cJSON *acs_infoJSON) ogs_error("OpenAPI_acs_info_parseFromJSON() failed [acs_ipv6_addr]"); goto end; } -} + } acs_info_local_var = OpenAPI_acs_info_create ( acs_url ? ogs_strdup_or_assert(acs_url->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/acs_info_1.c b/lib/sbi/openapi/model/acs_info_1.c index 3788030f8..a6203852b 100644 --- a/lib/sbi/openapi/model/acs_info_1.c +++ b/lib/sbi/openapi/model/acs_info_1.c @@ -78,7 +78,7 @@ OpenAPI_acs_info_1_t *OpenAPI_acs_info_1_parseFromJSON(cJSON *acs_info_1JSON) ogs_error("OpenAPI_acs_info_1_parseFromJSON() failed [acs_url]"); goto end; } -} + } cJSON *acs_ipv4_addr = cJSON_GetObjectItemCaseSensitive(acs_info_1JSON, "acsIpv4Addr"); @@ -87,7 +87,7 @@ OpenAPI_acs_info_1_t *OpenAPI_acs_info_1_parseFromJSON(cJSON *acs_info_1JSON) ogs_error("OpenAPI_acs_info_1_parseFromJSON() failed [acs_ipv4_addr]"); goto end; } -} + } cJSON *acs_ipv6_addr = cJSON_GetObjectItemCaseSensitive(acs_info_1JSON, "acsIpv6Addr"); @@ -96,7 +96,7 @@ OpenAPI_acs_info_1_t *OpenAPI_acs_info_1_parseFromJSON(cJSON *acs_info_1JSON) ogs_error("OpenAPI_acs_info_1_parseFromJSON() failed [acs_ipv6_addr]"); goto end; } -} + } acs_info_1_local_var = OpenAPI_acs_info_1_create ( acs_url ? ogs_strdup_or_assert(acs_url->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/acs_info_rm.c b/lib/sbi/openapi/model/acs_info_rm.c index 72af673a2..2d72d71f1 100644 --- a/lib/sbi/openapi/model/acs_info_rm.c +++ b/lib/sbi/openapi/model/acs_info_rm.c @@ -78,7 +78,7 @@ OpenAPI_acs_info_rm_t *OpenAPI_acs_info_rm_parseFromJSON(cJSON *acs_info_rmJSON) ogs_error("OpenAPI_acs_info_rm_parseFromJSON() failed [acs_url]"); goto end; } -} + } cJSON *acs_ipv4_addr = cJSON_GetObjectItemCaseSensitive(acs_info_rmJSON, "acsIpv4Addr"); @@ -87,7 +87,7 @@ OpenAPI_acs_info_rm_t *OpenAPI_acs_info_rm_parseFromJSON(cJSON *acs_info_rmJSON) ogs_error("OpenAPI_acs_info_rm_parseFromJSON() failed [acs_ipv4_addr]"); goto end; } -} + } cJSON *acs_ipv6_addr = cJSON_GetObjectItemCaseSensitive(acs_info_rmJSON, "acsIpv6Addr"); @@ -96,7 +96,7 @@ OpenAPI_acs_info_rm_t *OpenAPI_acs_info_rm_parseFromJSON(cJSON *acs_info_rmJSON) ogs_error("OpenAPI_acs_info_rm_parseFromJSON() failed [acs_ipv6_addr]"); goto end; } -} + } acs_info_rm_local_var = OpenAPI_acs_info_rm_create ( acs_url ? ogs_strdup_or_assert(acs_url->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/additional_access_info.c b/lib/sbi/openapi/model/additional_access_info.c index 8f9da68b6..2b9a2b918 100644 --- a/lib/sbi/openapi/model/additional_access_info.c +++ b/lib/sbi/openapi/model/additional_access_info.c @@ -80,7 +80,7 @@ OpenAPI_additional_access_info_t *OpenAPI_additional_access_info_parseFromJSON(c goto end; } rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring); -} + } additional_access_info_local_var = OpenAPI_additional_access_info_create ( access_typeVariable, diff --git a/lib/sbi/openapi/model/additional_snssai_data.c b/lib/sbi/openapi/model/additional_snssai_data.c index 128ede187..1c0cb1fd5 100644 --- a/lib/sbi/openapi/model/additional_snssai_data.c +++ b/lib/sbi/openapi/model/additional_snssai_data.c @@ -57,7 +57,7 @@ OpenAPI_additional_snssai_data_t *OpenAPI_additional_snssai_data_parseFromJSON(c ogs_error("OpenAPI_additional_snssai_data_parseFromJSON() failed [required_authn_authz]"); goto end; } -} + } additional_snssai_data_local_var = OpenAPI_additional_snssai_data_create ( required_authn_authz ? required_authn_authz->valueint : 0 diff --git a/lib/sbi/openapi/model/af_event_exposure_data.c b/lib/sbi/openapi/model/af_event_exposure_data.c index e4496fb5e..fa6730fda 100644 --- a/lib/sbi/openapi/model/af_event_exposure_data.c +++ b/lib/sbi/openapi/model/af_event_exposure_data.c @@ -144,7 +144,7 @@ OpenAPI_af_event_exposure_data_t *OpenAPI_af_event_exposure_data_parseFromJSON(c } OpenAPI_list_add(af_idsList , ogs_strdup_or_assert(af_ids_local->valuestring)); } -} + } cJSON *app_ids = cJSON_GetObjectItemCaseSensitive(af_event_exposure_dataJSON, "appIds"); @@ -164,7 +164,7 @@ OpenAPI_af_event_exposure_data_t *OpenAPI_af_event_exposure_data_parseFromJSON(c } OpenAPI_list_add(app_idsList , ogs_strdup_or_assert(app_ids_local->valuestring)); } -} + } af_event_exposure_data_local_var = OpenAPI_af_event_exposure_data_create ( af_eventsList, diff --git a/lib/sbi/openapi/model/af_event_notification.c b/lib/sbi/openapi/model/af_event_notification.c index dc783066e..c8c5936c0 100644 --- a/lib/sbi/openapi/model/af_event_notification.c +++ b/lib/sbi/openapi/model/af_event_notification.c @@ -109,7 +109,7 @@ OpenAPI_af_event_notification_t *OpenAPI_af_event_notification_parseFromJSON(cJS OpenAPI_list_add(flowsList, flowsItem); } -} + } af_event_notification_local_var = OpenAPI_af_event_notification_create ( eventVariable, diff --git a/lib/sbi/openapi/model/af_event_subscription.c b/lib/sbi/openapi/model/af_event_subscription.c index 1f1a53907..c727b92cb 100644 --- a/lib/sbi/openapi/model/af_event_subscription.c +++ b/lib/sbi/openapi/model/af_event_subscription.c @@ -98,7 +98,7 @@ OpenAPI_af_event_subscription_t *OpenAPI_af_event_subscription_parseFromJSON(cJS goto end; } notif_methodVariable = OpenAPI_af_notif_method_FromString(notif_method->valuestring); -} + } cJSON *rep_period = cJSON_GetObjectItemCaseSensitive(af_event_subscriptionJSON, "repPeriod"); @@ -107,7 +107,7 @@ OpenAPI_af_event_subscription_t *OpenAPI_af_event_subscription_parseFromJSON(cJS ogs_error("OpenAPI_af_event_subscription_parseFromJSON() failed [rep_period]"); goto end; } -} + } cJSON *wait_time = cJSON_GetObjectItemCaseSensitive(af_event_subscriptionJSON, "waitTime"); @@ -116,7 +116,7 @@ OpenAPI_af_event_subscription_t *OpenAPI_af_event_subscription_parseFromJSON(cJS ogs_error("OpenAPI_af_event_subscription_parseFromJSON() failed [wait_time]"); goto end; } -} + } af_event_subscription_local_var = OpenAPI_af_event_subscription_create ( eventVariable, diff --git a/lib/sbi/openapi/model/af_external.c b/lib/sbi/openapi/model/af_external.c index 90b22e718..30e17c0f9 100644 --- a/lib/sbi/openapi/model/af_external.c +++ b/lib/sbi/openapi/model/af_external.c @@ -109,7 +109,7 @@ OpenAPI_af_external_t *OpenAPI_af_external_parseFromJSON(cJSON *af_externalJSON) ogs_error("OpenAPI_af_external_parseFromJSON() failed [af_id]"); goto end; } -} + } cJSON *allowed_geographic_area = cJSON_GetObjectItemCaseSensitive(af_externalJSON, "allowedGeographicArea"); @@ -132,7 +132,7 @@ OpenAPI_af_external_t *OpenAPI_af_external_parseFromJSON(cJSON *af_externalJSON) OpenAPI_list_add(allowed_geographic_areaList, allowed_geographic_areaItem); } -} + } cJSON *privacy_check_related_action = cJSON_GetObjectItemCaseSensitive(af_externalJSON, "privacyCheckRelatedAction"); @@ -143,14 +143,14 @@ OpenAPI_af_external_t *OpenAPI_af_external_parseFromJSON(cJSON *af_externalJSON) goto end; } privacy_check_related_actionVariable = OpenAPI_privacy_check_related_action_FromString(privacy_check_related_action->valuestring); -} + } cJSON *valid_time_period = cJSON_GetObjectItemCaseSensitive(af_externalJSON, "validTimePeriod"); OpenAPI_valid_time_period_t *valid_time_period_local_nonprim = NULL; if (valid_time_period) { valid_time_period_local_nonprim = OpenAPI_valid_time_period_parseFromJSON(valid_time_period); -} + } af_external_local_var = OpenAPI_af_external_create ( af_id ? ogs_strdup_or_assert(af_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/af_routing_requirement.c b/lib/sbi/openapi/model/af_routing_requirement.c index 8f33a07d2..7af5b8c9b 100644 --- a/lib/sbi/openapi/model/af_routing_requirement.c +++ b/lib/sbi/openapi/model/af_routing_requirement.c @@ -150,7 +150,7 @@ OpenAPI_af_routing_requirement_t *OpenAPI_af_routing_requirement_parseFromJSON(c ogs_error("OpenAPI_af_routing_requirement_parseFromJSON() failed [app_reloc]"); goto end; } -} + } cJSON *route_to_locs = cJSON_GetObjectItemCaseSensitive(af_routing_requirementJSON, "routeToLocs"); @@ -173,14 +173,14 @@ OpenAPI_af_routing_requirement_t *OpenAPI_af_routing_requirement_parseFromJSON(c OpenAPI_list_add(route_to_locsList, route_to_locsItem); } -} + } cJSON *sp_val = cJSON_GetObjectItemCaseSensitive(af_routing_requirementJSON, "spVal"); OpenAPI_spatial_validity_t *sp_val_local_nonprim = NULL; if (sp_val) { sp_val_local_nonprim = OpenAPI_spatial_validity_parseFromJSON(sp_val); -} + } cJSON *temp_vals = cJSON_GetObjectItemCaseSensitive(af_routing_requirementJSON, "tempVals"); @@ -203,14 +203,14 @@ OpenAPI_af_routing_requirement_t *OpenAPI_af_routing_requirement_parseFromJSON(c OpenAPI_list_add(temp_valsList, temp_valsItem); } -} + } cJSON *up_path_chg_sub = cJSON_GetObjectItemCaseSensitive(af_routing_requirementJSON, "upPathChgSub"); OpenAPI_up_path_chg_event_t *up_path_chg_sub_local_nonprim = NULL; if (up_path_chg_sub) { up_path_chg_sub_local_nonprim = OpenAPI_up_path_chg_event_parseFromJSON(up_path_chg_sub); -} + } cJSON *addr_preser_ind = cJSON_GetObjectItemCaseSensitive(af_routing_requirementJSON, "addrPreserInd"); @@ -219,7 +219,7 @@ OpenAPI_af_routing_requirement_t *OpenAPI_af_routing_requirement_parseFromJSON(c ogs_error("OpenAPI_af_routing_requirement_parseFromJSON() failed [addr_preser_ind]"); goto end; } -} + } af_routing_requirement_local_var = OpenAPI_af_routing_requirement_create ( app_reloc ? app_reloc->valueint : 0, diff --git a/lib/sbi/openapi/model/af_routing_requirement_rm.c b/lib/sbi/openapi/model/af_routing_requirement_rm.c index b9e984c38..f6917e1d8 100644 --- a/lib/sbi/openapi/model/af_routing_requirement_rm.c +++ b/lib/sbi/openapi/model/af_routing_requirement_rm.c @@ -150,7 +150,7 @@ OpenAPI_af_routing_requirement_rm_t *OpenAPI_af_routing_requirement_rm_parseFrom ogs_error("OpenAPI_af_routing_requirement_rm_parseFromJSON() failed [app_reloc]"); goto end; } -} + } cJSON *route_to_locs = cJSON_GetObjectItemCaseSensitive(af_routing_requirement_rmJSON, "routeToLocs"); @@ -173,14 +173,14 @@ OpenAPI_af_routing_requirement_rm_t *OpenAPI_af_routing_requirement_rm_parseFrom OpenAPI_list_add(route_to_locsList, route_to_locsItem); } -} + } cJSON *sp_val = cJSON_GetObjectItemCaseSensitive(af_routing_requirement_rmJSON, "spVal"); OpenAPI_spatial_validity_rm_t *sp_val_local_nonprim = NULL; if (sp_val) { sp_val_local_nonprim = OpenAPI_spatial_validity_rm_parseFromJSON(sp_val); -} + } cJSON *temp_vals = cJSON_GetObjectItemCaseSensitive(af_routing_requirement_rmJSON, "tempVals"); @@ -203,14 +203,14 @@ OpenAPI_af_routing_requirement_rm_t *OpenAPI_af_routing_requirement_rm_parseFrom OpenAPI_list_add(temp_valsList, temp_valsItem); } -} + } cJSON *up_path_chg_sub = cJSON_GetObjectItemCaseSensitive(af_routing_requirement_rmJSON, "upPathChgSub"); OpenAPI_up_path_chg_event_t *up_path_chg_sub_local_nonprim = NULL; if (up_path_chg_sub) { up_path_chg_sub_local_nonprim = OpenAPI_up_path_chg_event_parseFromJSON(up_path_chg_sub); -} + } cJSON *addr_preser_ind = cJSON_GetObjectItemCaseSensitive(af_routing_requirement_rmJSON, "addrPreserInd"); @@ -219,7 +219,7 @@ OpenAPI_af_routing_requirement_rm_t *OpenAPI_af_routing_requirement_rm_parseFrom ogs_error("OpenAPI_af_routing_requirement_rm_parseFromJSON() failed [addr_preser_ind]"); goto end; } -} + } af_routing_requirement_rm_local_var = OpenAPI_af_routing_requirement_rm_create ( app_reloc ? app_reloc->valueint : 0, diff --git a/lib/sbi/openapi/model/allowed_mtc_provider_info.c b/lib/sbi/openapi/model/allowed_mtc_provider_info.c index e030ffb25..fbedd9165 100644 --- a/lib/sbi/openapi/model/allowed_mtc_provider_info.c +++ b/lib/sbi/openapi/model/allowed_mtc_provider_info.c @@ -68,7 +68,7 @@ OpenAPI_allowed_mtc_provider_info_t *OpenAPI_allowed_mtc_provider_info_parseFrom ogs_error("OpenAPI_allowed_mtc_provider_info_parseFromJSON() failed [mtc_provider_information]"); goto end; } -} + } cJSON *af_id = cJSON_GetObjectItemCaseSensitive(allowed_mtc_provider_infoJSON, "afId"); @@ -77,7 +77,7 @@ OpenAPI_allowed_mtc_provider_info_t *OpenAPI_allowed_mtc_provider_info_parseFrom ogs_error("OpenAPI_allowed_mtc_provider_info_parseFromJSON() failed [af_id]"); goto end; } -} + } allowed_mtc_provider_info_local_var = OpenAPI_allowed_mtc_provider_info_create ( mtc_provider_information ? ogs_strdup_or_assert(mtc_provider_information->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/allowed_snssai.c b/lib/sbi/openapi/model/allowed_snssai.c index 2fb045f2e..97756edec 100644 --- a/lib/sbi/openapi/model/allowed_snssai.c +++ b/lib/sbi/openapi/model/allowed_snssai.c @@ -128,14 +128,14 @@ OpenAPI_allowed_snssai_t *OpenAPI_allowed_snssai_parseFromJSON(cJSON *allowed_sn OpenAPI_list_add(nsi_information_listList, nsi_information_listItem); } -} + } cJSON *mapped_home_snssai = cJSON_GetObjectItemCaseSensitive(allowed_snssaiJSON, "mappedHomeSnssai"); OpenAPI_snssai_t *mapped_home_snssai_local_nonprim = NULL; if (mapped_home_snssai) { mapped_home_snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(mapped_home_snssai); -} + } allowed_snssai_local_var = OpenAPI_allowed_snssai_create ( allowed_snssai_local_nonprim, diff --git a/lib/sbi/openapi/model/alternative_qos_profile.c b/lib/sbi/openapi/model/alternative_qos_profile.c index b4914c5b9..9b702b425 100644 --- a/lib/sbi/openapi/model/alternative_qos_profile.c +++ b/lib/sbi/openapi/model/alternative_qos_profile.c @@ -106,7 +106,7 @@ OpenAPI_alternative_qos_profile_t *OpenAPI_alternative_qos_profile_parseFromJSON ogs_error("OpenAPI_alternative_qos_profile_parseFromJSON() failed [gua_fbr_dl]"); goto end; } -} + } cJSON *gua_fbr_ul = cJSON_GetObjectItemCaseSensitive(alternative_qos_profileJSON, "guaFbrUl"); @@ -115,7 +115,7 @@ OpenAPI_alternative_qos_profile_t *OpenAPI_alternative_qos_profile_parseFromJSON ogs_error("OpenAPI_alternative_qos_profile_parseFromJSON() failed [gua_fbr_ul]"); goto end; } -} + } cJSON *packet_delay_budget = cJSON_GetObjectItemCaseSensitive(alternative_qos_profileJSON, "packetDelayBudget"); @@ -124,7 +124,7 @@ OpenAPI_alternative_qos_profile_t *OpenAPI_alternative_qos_profile_parseFromJSON ogs_error("OpenAPI_alternative_qos_profile_parseFromJSON() failed [packet_delay_budget]"); goto end; } -} + } cJSON *packet_err_rate = cJSON_GetObjectItemCaseSensitive(alternative_qos_profileJSON, "packetErrRate"); @@ -133,7 +133,7 @@ OpenAPI_alternative_qos_profile_t *OpenAPI_alternative_qos_profile_parseFromJSON ogs_error("OpenAPI_alternative_qos_profile_parseFromJSON() failed [packet_err_rate]"); goto end; } -} + } alternative_qos_profile_local_var = OpenAPI_alternative_qos_profile_create ( index->valuedouble, diff --git a/lib/sbi/openapi/model/am_policy_data.c b/lib/sbi/openapi/model/am_policy_data.c index a20d9829b..7746754ab 100644 --- a/lib/sbi/openapi/model/am_policy_data.c +++ b/lib/sbi/openapi/model/am_policy_data.c @@ -113,7 +113,7 @@ OpenAPI_am_policy_data_t *OpenAPI_am_policy_data_parseFromJSON(cJSON *am_policy_ localMapObject->string, OpenAPI_presence_info_parseFromJSON(localMapObject)); OpenAPI_list_add(pra_infosList , localMapKeyPair); } -} + } cJSON *subsc_cats = cJSON_GetObjectItemCaseSensitive(am_policy_dataJSON, "subscCats"); @@ -133,7 +133,7 @@ OpenAPI_am_policy_data_t *OpenAPI_am_policy_data_parseFromJSON(cJSON *am_policy_ } OpenAPI_list_add(subsc_catsList , ogs_strdup_or_assert(subsc_cats_local->valuestring)); } -} + } am_policy_data_local_var = OpenAPI_am_policy_data_create ( pra_infos ? pra_infosList : NULL, diff --git a/lib/sbi/openapi/model/amf3_gpp_access_registration.c b/lib/sbi/openapi/model/amf3_gpp_access_registration.c index ffb8bc51f..e3360b28b 100644 --- a/lib/sbi/openapi/model/amf3_gpp_access_registration.c +++ b/lib/sbi/openapi/model/amf3_gpp_access_registration.c @@ -314,7 +314,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *purge_flag = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "purgeFlag"); @@ -323,7 +323,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [purge_flag]"); goto end; } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "pei"); @@ -332,7 +332,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *ims_vo_ps = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "imsVoPs"); @@ -343,7 +343,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par goto end; } ims_vo_psVariable = OpenAPI_ims_vo_ps_FromString(ims_vo_ps->valuestring); -} + } cJSON *dereg_callback_uri = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "deregCallbackUri"); if (!dereg_callback_uri) { @@ -364,7 +364,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [amf_service_name_dereg]"); goto end; } -} + } cJSON *pcscf_restoration_callback_uri = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "pcscfRestorationCallbackUri"); @@ -373,7 +373,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [pcscf_restoration_callback_uri]"); goto end; } -} + } cJSON *amf_service_name_pcscf_rest = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "amfServiceNamePcscfRest"); @@ -382,7 +382,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [amf_service_name_pcscf_rest]"); goto end; } -} + } cJSON *initial_registration_ind = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "initialRegistrationInd"); @@ -391,7 +391,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [initial_registration_ind]"); goto end; } -} + } cJSON *guami = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "guami"); if (!guami) { @@ -424,7 +424,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par OpenAPI_list_add(backup_amf_infoList, backup_amf_infoItem); } -} + } cJSON *dr_flag = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "drFlag"); @@ -433,7 +433,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [dr_flag]"); goto end; } -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "ratType"); if (!rat_type) { @@ -456,7 +456,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [urrp_indicator]"); goto end; } -} + } cJSON *amf_ee_subscription_id = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "amfEeSubscriptionId"); @@ -465,14 +465,14 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [amf_ee_subscription_id]"); goto end; } -} + } cJSON *eps_interworking_info = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "epsInterworkingInfo"); OpenAPI_eps_interworking_info_t *eps_interworking_info_local_nonprim = NULL; if (eps_interworking_info) { eps_interworking_info_local_nonprim = OpenAPI_eps_interworking_info_parseFromJSON(eps_interworking_info); -} + } cJSON *ue_srvcc_capability = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "ueSrvccCapability"); @@ -481,7 +481,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [ue_srvcc_capability]"); goto end; } -} + } cJSON *registration_time = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "registrationTime"); @@ -490,21 +490,21 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [registration_time]"); goto end; } -} + } cJSON *vgmlc_address = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "vgmlcAddress"); OpenAPI_vgmlc_address_t *vgmlc_address_local_nonprim = NULL; if (vgmlc_address) { vgmlc_address_local_nonprim = OpenAPI_vgmlc_address_parseFromJSON(vgmlc_address); -} + } cJSON *context_info = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "contextInfo"); OpenAPI_context_info_t *context_info_local_nonprim = NULL; if (context_info) { context_info_local_nonprim = OpenAPI_context_info_parseFromJSON(context_info); -} + } cJSON *no_ee_subscription_ind = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "noEeSubscriptionInd"); @@ -513,7 +513,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [no_ee_subscription_ind]"); goto end; } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registrationJSON, "supi"); @@ -522,7 +522,7 @@ OpenAPI_amf3_gpp_access_registration_t *OpenAPI_amf3_gpp_access_registration_par ogs_error("OpenAPI_amf3_gpp_access_registration_parseFromJSON() failed [supi]"); goto end; } -} + } amf3_gpp_access_registration_local_var = OpenAPI_amf3_gpp_access_registration_create ( ogs_strdup_or_assert(amf_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/amf3_gpp_access_registration_modification.c b/lib/sbi/openapi/model/amf3_gpp_access_registration_modification.c index 15cff2d86..8d49fb12a 100644 --- a/lib/sbi/openapi/model/amf3_gpp_access_registration_modification.c +++ b/lib/sbi/openapi/model/amf3_gpp_access_registration_modification.c @@ -151,7 +151,7 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg ogs_error("OpenAPI_amf3_gpp_access_registration_modification_parseFromJSON() failed [purge_flag]"); goto end; } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "pei"); @@ -160,7 +160,7 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg ogs_error("OpenAPI_amf3_gpp_access_registration_modification_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *ims_vo_ps = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "imsVoPs"); @@ -171,7 +171,7 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg goto end; } ims_vo_psVariable = OpenAPI_ims_vo_ps_FromString(ims_vo_ps->valuestring); -} + } cJSON *backup_amf_info = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "backupAmfInfo"); @@ -194,14 +194,14 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg OpenAPI_list_add(backup_amf_infoList, backup_amf_infoItem); } -} + } cJSON *eps_interworking_info = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "epsInterworkingInfo"); OpenAPI_eps_interworking_info_t *eps_interworking_info_local_nonprim = NULL; if (eps_interworking_info) { eps_interworking_info_local_nonprim = OpenAPI_eps_interworking_info_parseFromJSON(eps_interworking_info); -} + } cJSON *ue_srvcc_capability = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "ueSrvccCapability"); @@ -210,7 +210,7 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg ogs_error("OpenAPI_amf3_gpp_access_registration_modification_parseFromJSON() failed [ue_srvcc_capability]"); goto end; } -} + } amf3_gpp_access_registration_modification_local_var = OpenAPI_amf3_gpp_access_registration_modification_create ( guami_local_nonprim, diff --git a/lib/sbi/openapi/model/amf_cond.c b/lib/sbi/openapi/model/amf_cond.c index 49f5c4ffe..99f8bc44f 100644 --- a/lib/sbi/openapi/model/amf_cond.c +++ b/lib/sbi/openapi/model/amf_cond.c @@ -68,7 +68,7 @@ OpenAPI_amf_cond_t *OpenAPI_amf_cond_parseFromJSON(cJSON *amf_condJSON) ogs_error("OpenAPI_amf_cond_parseFromJSON() failed [amf_set_id]"); goto end; } -} + } cJSON *amf_region_id = cJSON_GetObjectItemCaseSensitive(amf_condJSON, "amfRegionId"); @@ -77,7 +77,7 @@ OpenAPI_amf_cond_t *OpenAPI_amf_cond_parseFromJSON(cJSON *amf_condJSON) ogs_error("OpenAPI_amf_cond_parseFromJSON() failed [amf_region_id]"); goto end; } -} + } amf_cond_local_var = OpenAPI_amf_cond_create ( amf_set_id ? ogs_strdup_or_assert(amf_set_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/amf_event.c b/lib/sbi/openapi/model/amf_event.c index c34b70d2e..45f8c93fc 100644 --- a/lib/sbi/openapi/model/amf_event.c +++ b/lib/sbi/openapi/model/amf_event.c @@ -211,7 +211,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON) ogs_error("OpenAPI_amf_event_parseFromJSON() failed [immediate_flag]"); goto end; } -} + } cJSON *area_list = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "areaList"); @@ -234,7 +234,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON) OpenAPI_list_add(area_listList, area_listItem); } -} + } cJSON *location_filter_list = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "locationFilterList"); @@ -257,7 +257,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON) OpenAPI_list_add(location_filter_listList, location_filter_listItem); } -} + } cJSON *ref_id = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "refId"); @@ -266,7 +266,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON) ogs_error("OpenAPI_amf_event_parseFromJSON() failed [ref_id]"); goto end; } -} + } cJSON *traffic_descriptor_list = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "trafficDescriptorList"); @@ -289,7 +289,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON) OpenAPI_list_add(traffic_descriptor_listList, traffic_descriptor_listItem); } -} + } cJSON *report_ue_reachable = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "reportUeReachable"); @@ -298,14 +298,14 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON) ogs_error("OpenAPI_amf_event_parseFromJSON() failed [report_ue_reachable]"); goto end; } -} + } cJSON *reachability_filter = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "reachabilityFilter"); OpenAPI_reachability_filter_t *reachability_filter_local_nonprim = NULL; if (reachability_filter) { reachability_filter_local_nonprim = OpenAPI_reachability_filter_parseFromJSON(reachability_filter); -} + } cJSON *max_reports = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "maxReports"); @@ -314,7 +314,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON) ogs_error("OpenAPI_amf_event_parseFromJSON() failed [max_reports]"); goto end; } -} + } cJSON *max_response_time = cJSON_GetObjectItemCaseSensitive(amf_eventJSON, "maxResponseTime"); @@ -323,7 +323,7 @@ OpenAPI_amf_event_t *OpenAPI_amf_event_parseFromJSON(cJSON *amf_eventJSON) ogs_error("OpenAPI_amf_event_parseFromJSON() failed [max_response_time]"); goto end; } -} + } amf_event_local_var = OpenAPI_amf_event_create ( type_local_nonprim, diff --git a/lib/sbi/openapi/model/amf_event_area.c b/lib/sbi/openapi/model/amf_event_area.c index 8d8935a44..bcc77c122 100644 --- a/lib/sbi/openapi/model/amf_event_area.c +++ b/lib/sbi/openapi/model/amf_event_area.c @@ -104,21 +104,21 @@ OpenAPI_amf_event_area_t *OpenAPI_amf_event_area_parseFromJSON(cJSON *amf_event_ OpenAPI_presence_info_t *presence_info_local_nonprim = NULL; if (presence_info) { presence_info_local_nonprim = OpenAPI_presence_info_parseFromJSON(presence_info); -} + } cJSON *ladn_info = cJSON_GetObjectItemCaseSensitive(amf_event_areaJSON, "ladnInfo"); OpenAPI_ladn_info_t *ladn_info_local_nonprim = NULL; if (ladn_info) { ladn_info_local_nonprim = OpenAPI_ladn_info_parseFromJSON(ladn_info); -} + } cJSON *s_nssai = cJSON_GetObjectItemCaseSensitive(amf_event_areaJSON, "sNssai"); OpenAPI_snssai_t *s_nssai_local_nonprim = NULL; if (s_nssai) { s_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(s_nssai); -} + } cJSON *nsi_id = cJSON_GetObjectItemCaseSensitive(amf_event_areaJSON, "nsiId"); @@ -127,7 +127,7 @@ OpenAPI_amf_event_area_t *OpenAPI_amf_event_area_parseFromJSON(cJSON *amf_event_ ogs_error("OpenAPI_amf_event_area_parseFromJSON() failed [nsi_id]"); goto end; } -} + } amf_event_area_local_var = OpenAPI_amf_event_area_create ( presence_info ? presence_info_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/amf_event_mode.c b/lib/sbi/openapi/model/amf_event_mode.c index 5a962b4fb..9141c50f1 100644 --- a/lib/sbi/openapi/model/amf_event_mode.c +++ b/lib/sbi/openapi/model/amf_event_mode.c @@ -109,7 +109,7 @@ OpenAPI_amf_event_mode_t *OpenAPI_amf_event_mode_parseFromJSON(cJSON *amf_event_ ogs_error("OpenAPI_amf_event_mode_parseFromJSON() failed [max_reports]"); goto end; } -} + } cJSON *expiry = cJSON_GetObjectItemCaseSensitive(amf_event_modeJSON, "expiry"); @@ -118,7 +118,7 @@ OpenAPI_amf_event_mode_t *OpenAPI_amf_event_mode_parseFromJSON(cJSON *amf_event_ ogs_error("OpenAPI_amf_event_mode_parseFromJSON() failed [expiry]"); goto end; } -} + } cJSON *rep_period = cJSON_GetObjectItemCaseSensitive(amf_event_modeJSON, "repPeriod"); @@ -127,7 +127,7 @@ OpenAPI_amf_event_mode_t *OpenAPI_amf_event_mode_parseFromJSON(cJSON *amf_event_ ogs_error("OpenAPI_amf_event_mode_parseFromJSON() failed [rep_period]"); goto end; } -} + } cJSON *samp_ratio = cJSON_GetObjectItemCaseSensitive(amf_event_modeJSON, "sampRatio"); @@ -136,7 +136,7 @@ OpenAPI_amf_event_mode_t *OpenAPI_amf_event_mode_parseFromJSON(cJSON *amf_event_ ogs_error("OpenAPI_amf_event_mode_parseFromJSON() failed [samp_ratio]"); goto end; } -} + } amf_event_mode_local_var = OpenAPI_amf_event_mode_create ( trigger_local_nonprim, diff --git a/lib/sbi/openapi/model/amf_event_subscription.c b/lib/sbi/openapi/model/amf_event_subscription.c index 5af2474db..cd705e280 100644 --- a/lib/sbi/openapi/model/amf_event_subscription.c +++ b/lib/sbi/openapi/model/amf_event_subscription.c @@ -252,7 +252,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [subs_change_notify_uri]"); goto end; } -} + } cJSON *subs_change_notify_correlation_id = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "subsChangeNotifyCorrelationId"); @@ -261,7 +261,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [subs_change_notify_correlation_id]"); goto end; } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "supi"); @@ -270,7 +270,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *group_id = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "groupId"); @@ -279,7 +279,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [group_id]"); goto end; } -} + } cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "gpsi"); @@ -288,7 +288,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "pei"); @@ -297,7 +297,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *any_ue = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "anyUE"); @@ -306,14 +306,14 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c ogs_error("OpenAPI_amf_event_subscription_parseFromJSON() failed [any_ue]"); goto end; } -} + } cJSON *options = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "options"); OpenAPI_amf_event_mode_t *options_local_nonprim = NULL; if (options) { options_local_nonprim = OpenAPI_amf_event_mode_parseFromJSON(options); -} + } cJSON *source_nf_type = cJSON_GetObjectItemCaseSensitive(amf_event_subscriptionJSON, "sourceNfType"); @@ -324,7 +324,7 @@ OpenAPI_amf_event_subscription_t *OpenAPI_amf_event_subscription_parseFromJSON(c goto end; } source_nf_typeVariable = OpenAPI_nf_type_FromString(source_nf_type->valuestring); -} + } amf_event_subscription_local_var = OpenAPI_amf_event_subscription_create ( event_listList, diff --git a/lib/sbi/openapi/model/amf_event_subscription_add_info.c b/lib/sbi/openapi/model/amf_event_subscription_add_info.c index 786bde09f..c14a4af21 100644 --- a/lib/sbi/openapi/model/amf_event_subscription_add_info.c +++ b/lib/sbi/openapi/model/amf_event_subscription_add_info.c @@ -90,7 +90,7 @@ OpenAPI_amf_event_subscription_add_info_t *OpenAPI_amf_event_subscription_add_in } OpenAPI_list_add(binding_infoList , ogs_strdup_or_assert(binding_info_local->valuestring)); } -} + } cJSON *subscribing_nf_type = cJSON_GetObjectItemCaseSensitive(amf_event_subscription_add_infoJSON, "subscribingNfType"); @@ -101,7 +101,7 @@ OpenAPI_amf_event_subscription_add_info_t *OpenAPI_amf_event_subscription_add_in goto end; } subscribing_nf_typeVariable = OpenAPI_nf_type_FromString(subscribing_nf_type->valuestring); -} + } amf_event_subscription_add_info_local_var = OpenAPI_amf_event_subscription_add_info_create ( binding_info ? binding_infoList : NULL, diff --git a/lib/sbi/openapi/model/amf_info.c b/lib/sbi/openapi/model/amf_info.c index 2fc639024..b96cd040a 100644 --- a/lib/sbi/openapi/model/amf_info.c +++ b/lib/sbi/openapi/model/amf_info.c @@ -272,7 +272,7 @@ OpenAPI_amf_info_t *OpenAPI_amf_info_parseFromJSON(cJSON *amf_infoJSON) OpenAPI_list_add(tai_listList, tai_listItem); } -} + } cJSON *tai_range_list = cJSON_GetObjectItemCaseSensitive(amf_infoJSON, "taiRangeList"); @@ -295,7 +295,7 @@ OpenAPI_amf_info_t *OpenAPI_amf_info_parseFromJSON(cJSON *amf_infoJSON) OpenAPI_list_add(tai_range_listList, tai_range_listItem); } -} + } cJSON *backup_info_amf_failure = cJSON_GetObjectItemCaseSensitive(amf_infoJSON, "backupInfoAmfFailure"); @@ -318,7 +318,7 @@ OpenAPI_amf_info_t *OpenAPI_amf_info_parseFromJSON(cJSON *amf_infoJSON) OpenAPI_list_add(backup_info_amf_failureList, backup_info_amf_failureItem); } -} + } cJSON *backup_info_amf_removal = cJSON_GetObjectItemCaseSensitive(amf_infoJSON, "backupInfoAmfRemoval"); @@ -341,14 +341,14 @@ OpenAPI_amf_info_t *OpenAPI_amf_info_parseFromJSON(cJSON *amf_infoJSON) OpenAPI_list_add(backup_info_amf_removalList, backup_info_amf_removalItem); } -} + } cJSON *n2_interface_amf_info = cJSON_GetObjectItemCaseSensitive(amf_infoJSON, "n2InterfaceAmfInfo"); OpenAPI_n2_interface_amf_info_t *n2_interface_amf_info_local_nonprim = NULL; if (n2_interface_amf_info) { n2_interface_amf_info_local_nonprim = OpenAPI_n2_interface_amf_info_parseFromJSON(n2_interface_amf_info); -} + } amf_info_local_var = OpenAPI_amf_info_create ( ogs_strdup_or_assert(amf_set_id->valuestring), diff --git a/lib/sbi/openapi/model/amf_non3_gpp_access_registration.c b/lib/sbi/openapi/model/amf_non3_gpp_access_registration.c index 008ed84b3..bfcf016f3 100644 --- a/lib/sbi/openapi/model/amf_non3_gpp_access_registration.c +++ b/lib/sbi/openapi/model/amf_non3_gpp_access_registration.c @@ -269,7 +269,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *purge_flag = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "purgeFlag"); @@ -278,7 +278,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [purge_flag]"); goto end; } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "pei"); @@ -287,7 +287,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *ims_vo_ps = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "imsVoPs"); if (!ims_vo_ps) { @@ -322,7 +322,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [amf_service_name_dereg]"); goto end; } -} + } cJSON *pcscf_restoration_callback_uri = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "pcscfRestorationCallbackUri"); @@ -331,7 +331,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [pcscf_restoration_callback_uri]"); goto end; } -} + } cJSON *amf_service_name_pcscf_rest = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "amfServiceNamePcscfRest"); @@ -340,7 +340,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [amf_service_name_pcscf_rest]"); goto end; } -} + } cJSON *guami = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "guami"); if (!guami) { @@ -373,7 +373,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra OpenAPI_list_add(backup_amf_infoList, backup_amf_infoItem); } -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "ratType"); if (!rat_type) { @@ -396,7 +396,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [urrp_indicator]"); goto end; } -} + } cJSON *amf_ee_subscription_id = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "amfEeSubscriptionId"); @@ -405,7 +405,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [amf_ee_subscription_id]"); goto end; } -} + } cJSON *registration_time = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "registrationTime"); @@ -414,21 +414,21 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [registration_time]"); goto end; } -} + } cJSON *vgmlc_address = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "vgmlcAddress"); OpenAPI_vgmlc_address_t *vgmlc_address_local_nonprim = NULL; if (vgmlc_address) { vgmlc_address_local_nonprim = OpenAPI_vgmlc_address_parseFromJSON(vgmlc_address); -} + } cJSON *context_info = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "contextInfo"); OpenAPI_context_info_t *context_info_local_nonprim = NULL; if (context_info) { context_info_local_nonprim = OpenAPI_context_info_parseFromJSON(context_info); -} + } cJSON *no_ee_subscription_ind = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "noEeSubscriptionInd"); @@ -437,7 +437,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [no_ee_subscription_ind]"); goto end; } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registrationJSON, "supi"); @@ -446,7 +446,7 @@ OpenAPI_amf_non3_gpp_access_registration_t *OpenAPI_amf_non3_gpp_access_registra ogs_error("OpenAPI_amf_non3_gpp_access_registration_parseFromJSON() failed [supi]"); goto end; } -} + } amf_non3_gpp_access_registration_local_var = OpenAPI_amf_non3_gpp_access_registration_create ( ogs_strdup_or_assert(amf_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/amf_non3_gpp_access_registration_modification.c b/lib/sbi/openapi/model/amf_non3_gpp_access_registration_modification.c index 0a6c15d06..d9190887a 100644 --- a/lib/sbi/openapi/model/amf_non3_gpp_access_registration_modification.c +++ b/lib/sbi/openapi/model/amf_non3_gpp_access_registration_modification.c @@ -126,7 +126,7 @@ OpenAPI_amf_non3_gpp_access_registration_modification_t *OpenAPI_amf_non3_gpp_ac ogs_error("OpenAPI_amf_non3_gpp_access_registration_modification_parseFromJSON() failed [purge_flag]"); goto end; } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registration_modificationJSON, "pei"); @@ -135,7 +135,7 @@ OpenAPI_amf_non3_gpp_access_registration_modification_t *OpenAPI_amf_non3_gpp_ac ogs_error("OpenAPI_amf_non3_gpp_access_registration_modification_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *ims_vo_ps = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registration_modificationJSON, "imsVoPs"); @@ -146,7 +146,7 @@ OpenAPI_amf_non3_gpp_access_registration_modification_t *OpenAPI_amf_non3_gpp_ac goto end; } ims_vo_psVariable = OpenAPI_ims_vo_ps_FromString(ims_vo_ps->valuestring); -} + } cJSON *backup_amf_info = cJSON_GetObjectItemCaseSensitive(amf_non3_gpp_access_registration_modificationJSON, "backupAmfInfo"); @@ -169,7 +169,7 @@ OpenAPI_amf_non3_gpp_access_registration_modification_t *OpenAPI_amf_non3_gpp_ac OpenAPI_list_add(backup_amf_infoList, backup_amf_infoItem); } -} + } amf_non3_gpp_access_registration_modification_local_var = OpenAPI_amf_non3_gpp_access_registration_modification_create ( guami_local_nonprim, diff --git a/lib/sbi/openapi/model/amf_status_change_subscription_data.c b/lib/sbi/openapi/model/amf_status_change_subscription_data.c index 30a4c5d51..0d8c5f0b4 100644 --- a/lib/sbi/openapi/model/amf_status_change_subscription_data.c +++ b/lib/sbi/openapi/model/amf_status_change_subscription_data.c @@ -108,7 +108,7 @@ OpenAPI_amf_status_change_subscription_data_t *OpenAPI_amf_status_change_subscri OpenAPI_list_add(guami_listList, guami_listItem); } -} + } amf_status_change_subscription_data_local_var = OpenAPI_amf_status_change_subscription_data_create ( ogs_strdup_or_assert(amf_status_uri->valuestring), diff --git a/lib/sbi/openapi/model/amf_status_info.c b/lib/sbi/openapi/model/amf_status_info.c index e0cdf6c17..1289945f8 100644 --- a/lib/sbi/openapi/model/amf_status_info.c +++ b/lib/sbi/openapi/model/amf_status_info.c @@ -139,7 +139,7 @@ OpenAPI_amf_status_info_t *OpenAPI_amf_status_info_parseFromJSON(cJSON *amf_stat ogs_error("OpenAPI_amf_status_info_parseFromJSON() failed [target_amf_removal]"); goto end; } -} + } cJSON *target_amf_failure = cJSON_GetObjectItemCaseSensitive(amf_status_infoJSON, "targetAmfFailure"); @@ -148,7 +148,7 @@ OpenAPI_amf_status_info_t *OpenAPI_amf_status_info_parseFromJSON(cJSON *amf_stat ogs_error("OpenAPI_amf_status_info_parseFromJSON() failed [target_amf_failure]"); goto end; } -} + } amf_status_info_local_var = OpenAPI_amf_status_info_create ( guami_listList, diff --git a/lib/sbi/openapi/model/amf_subscription_info.c b/lib/sbi/openapi/model/amf_subscription_info.c index f3cc552e9..a0977799e 100644 --- a/lib/sbi/openapi/model/amf_subscription_info.c +++ b/lib/sbi/openapi/model/amf_subscription_info.c @@ -98,7 +98,7 @@ OpenAPI_amf_subscription_info_t *OpenAPI_amf_subscription_info_parseFromJSON(cJS ogs_error("OpenAPI_amf_subscription_info_parseFromJSON() failed [subs_change_notify_correlation_id]"); goto end; } -} + } amf_subscription_info_local_var = OpenAPI_amf_subscription_info_create ( ogs_strdup_or_assert(amf_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/an_gw_address.c b/lib/sbi/openapi/model/an_gw_address.c index c6a03a983..3043fbe6b 100644 --- a/lib/sbi/openapi/model/an_gw_address.c +++ b/lib/sbi/openapi/model/an_gw_address.c @@ -68,7 +68,7 @@ OpenAPI_an_gw_address_t *OpenAPI_an_gw_address_parseFromJSON(cJSON *an_gw_addres ogs_error("OpenAPI_an_gw_address_parseFromJSON() failed [an_gw_ipv4_addr]"); goto end; } -} + } cJSON *an_gw_ipv6_addr = cJSON_GetObjectItemCaseSensitive(an_gw_addressJSON, "anGwIpv6Addr"); @@ -77,7 +77,7 @@ OpenAPI_an_gw_address_t *OpenAPI_an_gw_address_parseFromJSON(cJSON *an_gw_addres ogs_error("OpenAPI_an_gw_address_parseFromJSON() failed [an_gw_ipv6_addr]"); goto end; } -} + } an_gw_address_local_var = OpenAPI_an_gw_address_create ( an_gw_ipv4_addr ? ogs_strdup_or_assert(an_gw_ipv4_addr->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/apn_rate_status.c b/lib/sbi/openapi/model/apn_rate_status.c index b1c2bf7af..f9f8fd125 100644 --- a/lib/sbi/openapi/model/apn_rate_status.c +++ b/lib/sbi/openapi/model/apn_rate_status.c @@ -94,7 +94,7 @@ OpenAPI_apn_rate_status_t *OpenAPI_apn_rate_status_parseFromJSON(cJSON *apn_rate ogs_error("OpenAPI_apn_rate_status_parseFromJSON() failed [remain_packets_ul]"); goto end; } -} + } cJSON *remain_packets_dl = cJSON_GetObjectItemCaseSensitive(apn_rate_statusJSON, "remainPacketsDl"); @@ -103,7 +103,7 @@ OpenAPI_apn_rate_status_t *OpenAPI_apn_rate_status_parseFromJSON(cJSON *apn_rate ogs_error("OpenAPI_apn_rate_status_parseFromJSON() failed [remain_packets_dl]"); goto end; } -} + } cJSON *validity_time = cJSON_GetObjectItemCaseSensitive(apn_rate_statusJSON, "validityTime"); @@ -112,7 +112,7 @@ OpenAPI_apn_rate_status_t *OpenAPI_apn_rate_status_parseFromJSON(cJSON *apn_rate ogs_error("OpenAPI_apn_rate_status_parseFromJSON() failed [validity_time]"); goto end; } -} + } cJSON *remain_ex_reports_ul = cJSON_GetObjectItemCaseSensitive(apn_rate_statusJSON, "remainExReportsUl"); @@ -121,7 +121,7 @@ OpenAPI_apn_rate_status_t *OpenAPI_apn_rate_status_parseFromJSON(cJSON *apn_rate ogs_error("OpenAPI_apn_rate_status_parseFromJSON() failed [remain_ex_reports_ul]"); goto end; } -} + } cJSON *remain_ex_reports_dl = cJSON_GetObjectItemCaseSensitive(apn_rate_statusJSON, "remainExReportsDl"); @@ -130,7 +130,7 @@ OpenAPI_apn_rate_status_t *OpenAPI_apn_rate_status_parseFromJSON(cJSON *apn_rate ogs_error("OpenAPI_apn_rate_status_parseFromJSON() failed [remain_ex_reports_dl]"); goto end; } -} + } apn_rate_status_local_var = OpenAPI_apn_rate_status_create ( remain_packets_ul ? remain_packets_ul->valuedouble : 0, diff --git a/lib/sbi/openapi/model/app_descriptor.c b/lib/sbi/openapi/model/app_descriptor.c index 98125615b..0526e48b6 100644 --- a/lib/sbi/openapi/model/app_descriptor.c +++ b/lib/sbi/openapi/model/app_descriptor.c @@ -68,7 +68,7 @@ OpenAPI_app_descriptor_t *OpenAPI_app_descriptor_parseFromJSON(cJSON *app_descri ogs_error("OpenAPI_app_descriptor_parseFromJSON() failed [os_id]"); goto end; } -} + } cJSON *app_id = cJSON_GetObjectItemCaseSensitive(app_descriptorJSON, "appId"); @@ -77,7 +77,7 @@ OpenAPI_app_descriptor_t *OpenAPI_app_descriptor_parseFromJSON(cJSON *app_descri ogs_error("OpenAPI_app_descriptor_parseFromJSON() failed [app_id]"); goto end; } -} + } app_descriptor_local_var = OpenAPI_app_descriptor_create ( os_id ? ogs_strdup_or_assert(os_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/app_detection_info.c b/lib/sbi/openapi/model/app_detection_info.c index 13254eb33..20c544e40 100644 --- a/lib/sbi/openapi/model/app_detection_info.c +++ b/lib/sbi/openapi/model/app_detection_info.c @@ -104,7 +104,7 @@ OpenAPI_app_detection_info_t *OpenAPI_app_detection_info_parseFromJSON(cJSON *ap ogs_error("OpenAPI_app_detection_info_parseFromJSON() failed [instance_id]"); goto end; } -} + } cJSON *sdf_descriptions = cJSON_GetObjectItemCaseSensitive(app_detection_infoJSON, "sdfDescriptions"); @@ -127,7 +127,7 @@ OpenAPI_app_detection_info_t *OpenAPI_app_detection_info_parseFromJSON(cJSON *ap OpenAPI_list_add(sdf_descriptionsList, sdf_descriptionsItem); } -} + } app_detection_info_local_var = OpenAPI_app_detection_info_create ( ogs_strdup_or_assert(app_id->valuestring), diff --git a/lib/sbi/openapi/model/app_port_id.c b/lib/sbi/openapi/model/app_port_id.c index 205529410..e0cac86b3 100644 --- a/lib/sbi/openapi/model/app_port_id.c +++ b/lib/sbi/openapi/model/app_port_id.c @@ -66,7 +66,7 @@ OpenAPI_app_port_id_t *OpenAPI_app_port_id_parseFromJSON(cJSON *app_port_idJSON) ogs_error("OpenAPI_app_port_id_parseFromJSON() failed [destination_port]"); goto end; } -} + } cJSON *originator_port = cJSON_GetObjectItemCaseSensitive(app_port_idJSON, "originatorPort"); @@ -75,7 +75,7 @@ OpenAPI_app_port_id_t *OpenAPI_app_port_id_parseFromJSON(cJSON *app_port_idJSON) ogs_error("OpenAPI_app_port_id_parseFromJSON() failed [originator_port]"); goto end; } -} + } app_port_id_local_var = OpenAPI_app_port_id_create ( destination_port ? destination_port->valuedouble : 0, diff --git a/lib/sbi/openapi/model/app_session_context.c b/lib/sbi/openapi/model/app_session_context.c index aa767f3d6..83d731af2 100644 --- a/lib/sbi/openapi/model/app_session_context.c +++ b/lib/sbi/openapi/model/app_session_context.c @@ -94,21 +94,21 @@ OpenAPI_app_session_context_t *OpenAPI_app_session_context_parseFromJSON(cJSON * OpenAPI_app_session_context_req_data_t *asc_req_data_local_nonprim = NULL; if (asc_req_data) { asc_req_data_local_nonprim = OpenAPI_app_session_context_req_data_parseFromJSON(asc_req_data); -} + } cJSON *asc_resp_data = cJSON_GetObjectItemCaseSensitive(app_session_contextJSON, "ascRespData"); OpenAPI_app_session_context_resp_data_t *asc_resp_data_local_nonprim = NULL; if (asc_resp_data) { asc_resp_data_local_nonprim = OpenAPI_app_session_context_resp_data_parseFromJSON(asc_resp_data); -} + } cJSON *evs_notif = cJSON_GetObjectItemCaseSensitive(app_session_contextJSON, "evsNotif"); OpenAPI_events_notification_t *evs_notif_local_nonprim = NULL; if (evs_notif) { evs_notif_local_nonprim = OpenAPI_events_notification_parseFromJSON(evs_notif); -} + } app_session_context_local_var = OpenAPI_app_session_context_create ( asc_req_data ? asc_req_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/app_session_context_req_data.c b/lib/sbi/openapi/model/app_session_context_req_data.c index d7a3549a1..ddaafb37b 100644 --- a/lib/sbi/openapi/model/app_session_context_req_data.c +++ b/lib/sbi/openapi/model/app_session_context_req_data.c @@ -414,7 +414,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [af_app_id]"); goto end; } -} + } cJSON *af_charg_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "afChargId"); @@ -423,7 +423,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [af_charg_id]"); goto end; } -} + } cJSON *af_req_data = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "afReqData"); @@ -434,14 +434,14 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par goto end; } af_req_dataVariable = OpenAPI_af_requested_data_FromString(af_req_data->valuestring); -} + } cJSON *af_rout_req = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "afRoutReq"); OpenAPI_af_routing_requirement_t *af_rout_req_local_nonprim = NULL; if (af_rout_req) { af_rout_req_local_nonprim = OpenAPI_af_routing_requirement_parseFromJSON(af_rout_req); -} + } cJSON *asp_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "aspId"); @@ -450,7 +450,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [asp_id]"); goto end; } -} + } cJSON *bdt_ref_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "bdtRefId"); @@ -459,7 +459,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [bdt_ref_id]"); goto end; } -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "dnn"); @@ -468,14 +468,14 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *ev_subsc = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "evSubsc"); OpenAPI_events_subsc_req_data_t *ev_subsc_local_nonprim = NULL; if (ev_subsc) { ev_subsc_local_nonprim = OpenAPI_events_subsc_req_data_parseFromJSON(ev_subsc); -} + } cJSON *mcptt_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "mcpttId"); @@ -484,7 +484,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [mcptt_id]"); goto end; } -} + } cJSON *mc_video_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "mcVideoId"); @@ -493,7 +493,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [mc_video_id]"); goto end; } -} + } cJSON *med_components = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "medComponents"); @@ -516,7 +516,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par localMapObject->string, OpenAPI_media_component_parseFromJSON(localMapObject)); OpenAPI_list_add(med_componentsList , localMapKeyPair); } -} + } cJSON *ip_domain = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "ipDomain"); @@ -525,7 +525,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [ip_domain]"); goto end; } -} + } cJSON *mps_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "mpsId"); @@ -534,7 +534,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [mps_id]"); goto end; } -} + } cJSON *mcs_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "mcsId"); @@ -543,7 +543,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [mcs_id]"); goto end; } -} + } cJSON *preempt_control_info = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "preemptControlInfo"); @@ -554,7 +554,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par goto end; } preempt_control_infoVariable = OpenAPI_preemption_control_information_FromString(preempt_control_info->valuestring); -} + } cJSON *res_prio = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "resPrio"); @@ -565,7 +565,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par goto end; } res_prioVariable = OpenAPI_reserv_priority_FromString(res_prio->valuestring); -} + } cJSON *serv_inf_status = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "servInfStatus"); @@ -576,7 +576,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par goto end; } serv_inf_statusVariable = OpenAPI_service_info_status_FromString(serv_inf_status->valuestring); -} + } cJSON *notif_uri = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "notifUri"); if (!notif_uri) { @@ -597,14 +597,14 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [serv_urn]"); goto end; } -} + } cJSON *slice_info = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "sliceInfo"); OpenAPI_snssai_t *slice_info_local_nonprim = NULL; if (slice_info) { slice_info_local_nonprim = OpenAPI_snssai_parseFromJSON(slice_info); -} + } cJSON *spon_id = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "sponId"); @@ -613,7 +613,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [spon_id]"); goto end; } -} + } cJSON *spon_status = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "sponStatus"); @@ -624,7 +624,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par goto end; } spon_statusVariable = OpenAPI_sponsoring_status_FromString(spon_status->valuestring); -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "supi"); @@ -633,7 +633,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "gpsi"); @@ -642,7 +642,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "suppFeat"); if (!supp_feat) { @@ -663,7 +663,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [ue_ipv4]"); goto end; } -} + } cJSON *ue_ipv6 = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "ueIpv6"); @@ -672,7 +672,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [ue_ipv6]"); goto end; } -} + } cJSON *ue_mac = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "ueMac"); @@ -681,21 +681,21 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par ogs_error("OpenAPI_app_session_context_req_data_parseFromJSON() failed [ue_mac]"); goto end; } -} + } cJSON *tsn_bridge_man_cont = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "tsnBridgeManCont"); OpenAPI_bridge_management_container_t *tsn_bridge_man_cont_local_nonprim = NULL; if (tsn_bridge_man_cont) { tsn_bridge_man_cont_local_nonprim = OpenAPI_bridge_management_container_parseFromJSON(tsn_bridge_man_cont); -} + } cJSON *tsn_port_man_cont_dstt = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "tsnPortManContDstt"); OpenAPI_port_management_container_t *tsn_port_man_cont_dstt_local_nonprim = NULL; if (tsn_port_man_cont_dstt) { tsn_port_man_cont_dstt_local_nonprim = OpenAPI_port_management_container_parseFromJSON(tsn_port_man_cont_dstt); -} + } cJSON *tsn_port_man_cont_nwtts = cJSON_GetObjectItemCaseSensitive(app_session_context_req_dataJSON, "tsnPortManContNwtts"); @@ -718,7 +718,7 @@ OpenAPI_app_session_context_req_data_t *OpenAPI_app_session_context_req_data_par OpenAPI_list_add(tsn_port_man_cont_nwttsList, tsn_port_man_cont_nwttsItem); } -} + } app_session_context_req_data_local_var = OpenAPI_app_session_context_req_data_create ( af_app_id ? ogs_strdup_or_assert(af_app_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/app_session_context_resp_data.c b/lib/sbi/openapi/model/app_session_context_resp_data.c index e6439716a..1bcc7c202 100644 --- a/lib/sbi/openapi/model/app_session_context_resp_data.c +++ b/lib/sbi/openapi/model/app_session_context_resp_data.c @@ -95,7 +95,7 @@ OpenAPI_app_session_context_resp_data_t *OpenAPI_app_session_context_resp_data_p goto end; } serv_auth_infoVariable = OpenAPI_serv_auth_info_FromString(serv_auth_info->valuestring); -} + } cJSON *ue_ids = cJSON_GetObjectItemCaseSensitive(app_session_context_resp_dataJSON, "ueIds"); @@ -118,7 +118,7 @@ OpenAPI_app_session_context_resp_data_t *OpenAPI_app_session_context_resp_data_p OpenAPI_list_add(ue_idsList, ue_idsItem); } -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(app_session_context_resp_dataJSON, "suppFeat"); @@ -127,7 +127,7 @@ OpenAPI_app_session_context_resp_data_t *OpenAPI_app_session_context_resp_data_p ogs_error("OpenAPI_app_session_context_resp_data_parseFromJSON() failed [supp_feat]"); goto end; } -} + } app_session_context_resp_data_local_var = OpenAPI_app_session_context_resp_data_create ( serv_auth_info ? serv_auth_infoVariable : 0, diff --git a/lib/sbi/openapi/model/app_session_context_update_data.c b/lib/sbi/openapi/model/app_session_context_update_data.c index 2742299c5..72687c6dd 100644 --- a/lib/sbi/openapi/model/app_session_context_update_data.c +++ b/lib/sbi/openapi/model/app_session_context_update_data.c @@ -299,14 +299,14 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [af_app_id]"); goto end; } -} + } cJSON *af_rout_req = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "afRoutReq"); OpenAPI_af_routing_requirement_rm_t *af_rout_req_local_nonprim = NULL; if (af_rout_req) { af_rout_req_local_nonprim = OpenAPI_af_routing_requirement_rm_parseFromJSON(af_rout_req); -} + } cJSON *asp_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "aspId"); @@ -315,7 +315,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [asp_id]"); goto end; } -} + } cJSON *bdt_ref_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "bdtRefId"); @@ -324,14 +324,14 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [bdt_ref_id]"); goto end; } -} + } cJSON *ev_subsc = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "evSubsc"); OpenAPI_events_subsc_req_data_rm_t *ev_subsc_local_nonprim = NULL; if (ev_subsc) { ev_subsc_local_nonprim = OpenAPI_events_subsc_req_data_rm_parseFromJSON(ev_subsc); -} + } cJSON *mcptt_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "mcpttId"); @@ -340,7 +340,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [mcptt_id]"); goto end; } -} + } cJSON *mc_video_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "mcVideoId"); @@ -349,7 +349,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [mc_video_id]"); goto end; } -} + } cJSON *med_components = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "medComponents"); @@ -372,7 +372,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da localMapObject->string, OpenAPI_media_component_rm_parseFromJSON(localMapObject)); OpenAPI_list_add(med_componentsList , localMapKeyPair); } -} + } cJSON *mps_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "mpsId"); @@ -381,7 +381,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [mps_id]"); goto end; } -} + } cJSON *mcs_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "mcsId"); @@ -390,14 +390,14 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [mcs_id]"); goto end; } -} + } cJSON *preempt_control_info = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "preemptControlInfo"); OpenAPI_preemption_control_information_rm_t *preempt_control_info_local_nonprim = NULL; if (preempt_control_info) { preempt_control_info_local_nonprim = OpenAPI_preemption_control_information_rm_parseFromJSON(preempt_control_info); -} + } cJSON *res_prio = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "resPrio"); @@ -408,7 +408,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da goto end; } res_prioVariable = OpenAPI_reserv_priority_FromString(res_prio->valuestring); -} + } cJSON *serv_inf_status = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "servInfStatus"); @@ -419,7 +419,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da goto end; } serv_inf_statusVariable = OpenAPI_service_info_status_FromString(serv_inf_status->valuestring); -} + } cJSON *sip_fork_ind = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "sipForkInd"); @@ -430,7 +430,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da goto end; } sip_fork_indVariable = OpenAPI_sip_forking_indication_FromString(sip_fork_ind->valuestring); -} + } cJSON *spon_id = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "sponId"); @@ -439,7 +439,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da ogs_error("OpenAPI_app_session_context_update_data_parseFromJSON() failed [spon_id]"); goto end; } -} + } cJSON *spon_status = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "sponStatus"); @@ -450,21 +450,21 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da goto end; } spon_statusVariable = OpenAPI_sponsoring_status_FromString(spon_status->valuestring); -} + } cJSON *tsn_bridge_man_cont = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "tsnBridgeManCont"); OpenAPI_bridge_management_container_t *tsn_bridge_man_cont_local_nonprim = NULL; if (tsn_bridge_man_cont) { tsn_bridge_man_cont_local_nonprim = OpenAPI_bridge_management_container_parseFromJSON(tsn_bridge_man_cont); -} + } cJSON *tsn_port_man_cont_dstt = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "tsnPortManContDstt"); OpenAPI_port_management_container_t *tsn_port_man_cont_dstt_local_nonprim = NULL; if (tsn_port_man_cont_dstt) { tsn_port_man_cont_dstt_local_nonprim = OpenAPI_port_management_container_parseFromJSON(tsn_port_man_cont_dstt); -} + } cJSON *tsn_port_man_cont_nwtts = cJSON_GetObjectItemCaseSensitive(app_session_context_update_dataJSON, "tsnPortManContNwtts"); @@ -487,7 +487,7 @@ OpenAPI_app_session_context_update_data_t *OpenAPI_app_session_context_update_da OpenAPI_list_add(tsn_port_man_cont_nwttsList, tsn_port_man_cont_nwttsItem); } -} + } app_session_context_update_data_local_var = OpenAPI_app_session_context_update_data_create ( af_app_id ? ogs_strdup_or_assert(af_app_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/app_session_context_update_data_patch.c b/lib/sbi/openapi/model/app_session_context_update_data_patch.c index 224188908..937e5836a 100644 --- a/lib/sbi/openapi/model/app_session_context_update_data_patch.c +++ b/lib/sbi/openapi/model/app_session_context_update_data_patch.c @@ -62,7 +62,7 @@ OpenAPI_app_session_context_update_data_patch_t *OpenAPI_app_session_context_upd OpenAPI_app_session_context_update_data_t *asc_req_data_local_nonprim = NULL; if (asc_req_data) { asc_req_data_local_nonprim = OpenAPI_app_session_context_update_data_parseFromJSON(asc_req_data); -} + } app_session_context_update_data_patch_local_var = OpenAPI_app_session_context_update_data_patch_create ( asc_req_data ? asc_req_data_local_nonprim : NULL diff --git a/lib/sbi/openapi/model/application_data_change_notif.c b/lib/sbi/openapi/model/application_data_change_notif.c index 1f93d9827..1cd1de85a 100644 --- a/lib/sbi/openapi/model/application_data_change_notif.c +++ b/lib/sbi/openapi/model/application_data_change_notif.c @@ -118,21 +118,21 @@ OpenAPI_application_data_change_notif_t *OpenAPI_application_data_change_notif_p OpenAPI_iptv_config_data_t *iptv_config_data_local_nonprim = NULL; if (iptv_config_data) { iptv_config_data_local_nonprim = OpenAPI_iptv_config_data_parseFromJSON(iptv_config_data); -} + } cJSON *pfd_data = cJSON_GetObjectItemCaseSensitive(application_data_change_notifJSON, "pfdData"); OpenAPI_pfd_change_notification_t *pfd_data_local_nonprim = NULL; if (pfd_data) { pfd_data_local_nonprim = OpenAPI_pfd_change_notification_parseFromJSON(pfd_data); -} + } cJSON *bdt_policy_data = cJSON_GetObjectItemCaseSensitive(application_data_change_notifJSON, "bdtPolicyData"); OpenAPI_bdt_policy_data_t *bdt_policy_data_local_nonprim = NULL; if (bdt_policy_data) { bdt_policy_data_local_nonprim = OpenAPI_bdt_policy_data_parseFromJSON(bdt_policy_data); -} + } cJSON *res_uri = cJSON_GetObjectItemCaseSensitive(application_data_change_notifJSON, "resUri"); if (!res_uri) { @@ -151,7 +151,7 @@ OpenAPI_application_data_change_notif_t *OpenAPI_application_data_change_notif_p OpenAPI_service_parameter_data_t *ser_param_data_local_nonprim = NULL; if (ser_param_data) { ser_param_data_local_nonprim = OpenAPI_service_parameter_data_parseFromJSON(ser_param_data); -} + } application_data_change_notif_local_var = OpenAPI_application_data_change_notif_create ( iptv_config_data ? iptv_config_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/application_data_subs.c b/lib/sbi/openapi/model/application_data_subs.c index c6db794ed..5897fda20 100644 --- a/lib/sbi/openapi/model/application_data_subs.c +++ b/lib/sbi/openapi/model/application_data_subs.c @@ -128,7 +128,7 @@ OpenAPI_application_data_subs_t *OpenAPI_application_data_subs_parseFromJSON(cJS OpenAPI_list_add(data_filtersList, data_filtersItem); } -} + } cJSON *expiry = cJSON_GetObjectItemCaseSensitive(application_data_subsJSON, "expiry"); @@ -137,7 +137,7 @@ OpenAPI_application_data_subs_t *OpenAPI_application_data_subs_parseFromJSON(cJS ogs_error("OpenAPI_application_data_subs_parseFromJSON() failed [expiry]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(application_data_subsJSON, "supportedFeatures"); @@ -146,7 +146,7 @@ OpenAPI_application_data_subs_t *OpenAPI_application_data_subs_parseFromJSON(cJS ogs_error("OpenAPI_application_data_subs_parseFromJSON() failed [supported_features]"); goto end; } -} + } application_data_subs_local_var = OpenAPI_application_data_subs_create ( ogs_strdup_or_assert(notification_uri->valuestring), diff --git a/lib/sbi/openapi/model/area.c b/lib/sbi/openapi/model/area.c index bf1cb4331..e0806030d 100644 --- a/lib/sbi/openapi/model/area.c +++ b/lib/sbi/openapi/model/area.c @@ -91,7 +91,7 @@ OpenAPI_area_t *OpenAPI_area_parseFromJSON(cJSON *areaJSON) } OpenAPI_list_add(tacsList , ogs_strdup_or_assert(tacs_local->valuestring)); } -} + } cJSON *area_code = cJSON_GetObjectItemCaseSensitive(areaJSON, "areaCode"); @@ -100,7 +100,7 @@ OpenAPI_area_t *OpenAPI_area_parseFromJSON(cJSON *areaJSON) ogs_error("OpenAPI_area_parseFromJSON() failed [area_code]"); goto end; } -} + } area_local_var = OpenAPI_area_create ( tacs ? tacsList : NULL, diff --git a/lib/sbi/openapi/model/area_1.c b/lib/sbi/openapi/model/area_1.c index 618213c8f..7dccc52d3 100644 --- a/lib/sbi/openapi/model/area_1.c +++ b/lib/sbi/openapi/model/area_1.c @@ -91,7 +91,7 @@ OpenAPI_area_1_t *OpenAPI_area_1_parseFromJSON(cJSON *area_1JSON) } OpenAPI_list_add(tacsList , ogs_strdup_or_assert(tacs_local->valuestring)); } -} + } cJSON *area_code = cJSON_GetObjectItemCaseSensitive(area_1JSON, "areaCode"); @@ -100,7 +100,7 @@ OpenAPI_area_1_t *OpenAPI_area_1_parseFromJSON(cJSON *area_1JSON) ogs_error("OpenAPI_area_1_parseFromJSON() failed [area_code]"); goto end; } -} + } area_1_local_var = OpenAPI_area_1_create ( tacs ? tacsList : NULL, diff --git a/lib/sbi/openapi/model/area_scope.c b/lib/sbi/openapi/model/area_scope.c index 797063df4..54224e08b 100644 --- a/lib/sbi/openapi/model/area_scope.c +++ b/lib/sbi/openapi/model/area_scope.c @@ -154,7 +154,7 @@ OpenAPI_area_scope_t *OpenAPI_area_scope_parseFromJSON(cJSON *area_scopeJSON) } OpenAPI_list_add(eutra_cell_id_listList , ogs_strdup_or_assert(eutra_cell_id_list_local->valuestring)); } -} + } cJSON *nr_cell_id_list = cJSON_GetObjectItemCaseSensitive(area_scopeJSON, "nrCellIdList"); @@ -174,7 +174,7 @@ OpenAPI_area_scope_t *OpenAPI_area_scope_parseFromJSON(cJSON *area_scopeJSON) } OpenAPI_list_add(nr_cell_id_listList , ogs_strdup_or_assert(nr_cell_id_list_local->valuestring)); } -} + } cJSON *tac_list = cJSON_GetObjectItemCaseSensitive(area_scopeJSON, "tacList"); @@ -194,7 +194,7 @@ OpenAPI_area_scope_t *OpenAPI_area_scope_parseFromJSON(cJSON *area_scopeJSON) } OpenAPI_list_add(tac_listList , ogs_strdup_or_assert(tac_list_local->valuestring)); } -} + } cJSON *tac_info_per_plmn = cJSON_GetObjectItemCaseSensitive(area_scopeJSON, "tacInfoPerPlmn"); @@ -217,7 +217,7 @@ OpenAPI_area_scope_t *OpenAPI_area_scope_parseFromJSON(cJSON *area_scopeJSON) localMapObject->string, OpenAPI_tac_info_parseFromJSON(localMapObject)); OpenAPI_list_add(tac_info_per_plmnList , localMapKeyPair); } -} + } area_scope_local_var = OpenAPI_area_scope_create ( eutra_cell_id_list ? eutra_cell_id_listList : NULL, diff --git a/lib/sbi/openapi/model/assign_ebi_data.c b/lib/sbi/openapi/model/assign_ebi_data.c index 9639dd048..454e840d1 100644 --- a/lib/sbi/openapi/model/assign_ebi_data.c +++ b/lib/sbi/openapi/model/assign_ebi_data.c @@ -145,7 +145,7 @@ OpenAPI_assign_ebi_data_t *OpenAPI_assign_ebi_data_parseFromJSON(cJSON *assign_e OpenAPI_list_add(arp_listList, arp_listItem); } -} + } cJSON *released_ebi_list = cJSON_GetObjectItemCaseSensitive(assign_ebi_dataJSON, "releasedEbiList"); @@ -165,14 +165,14 @@ OpenAPI_assign_ebi_data_t *OpenAPI_assign_ebi_data_parseFromJSON(cJSON *assign_e } OpenAPI_list_add(released_ebi_listList , &released_ebi_list_local->valuedouble); } -} + } cJSON *old_guami = cJSON_GetObjectItemCaseSensitive(assign_ebi_dataJSON, "oldGuami"); OpenAPI_guami_t *old_guami_local_nonprim = NULL; if (old_guami) { old_guami_local_nonprim = OpenAPI_guami_parseFromJSON(old_guami); -} + } assign_ebi_data_local_var = OpenAPI_assign_ebi_data_create ( pdu_session_id->valuedouble, diff --git a/lib/sbi/openapi/model/assign_ebi_failed.c b/lib/sbi/openapi/model/assign_ebi_failed.c index 540440430..3c92c7bbc 100644 --- a/lib/sbi/openapi/model/assign_ebi_failed.c +++ b/lib/sbi/openapi/model/assign_ebi_failed.c @@ -107,7 +107,7 @@ OpenAPI_assign_ebi_failed_t *OpenAPI_assign_ebi_failed_parseFromJSON(cJSON *assi OpenAPI_list_add(failed_arp_listList, failed_arp_listItem); } -} + } assign_ebi_failed_local_var = OpenAPI_assign_ebi_failed_create ( pdu_session_id->valuedouble, diff --git a/lib/sbi/openapi/model/assigned_ebi_data.c b/lib/sbi/openapi/model/assigned_ebi_data.c index 2d905534d..484a0409f 100644 --- a/lib/sbi/openapi/model/assigned_ebi_data.c +++ b/lib/sbi/openapi/model/assigned_ebi_data.c @@ -179,7 +179,7 @@ OpenAPI_assigned_ebi_data_t *OpenAPI_assigned_ebi_data_parseFromJSON(cJSON *assi OpenAPI_list_add(failed_arp_listList, failed_arp_listItem); } -} + } cJSON *released_ebi_list = cJSON_GetObjectItemCaseSensitive(assigned_ebi_dataJSON, "releasedEbiList"); @@ -199,7 +199,7 @@ OpenAPI_assigned_ebi_data_t *OpenAPI_assigned_ebi_data_parseFromJSON(cJSON *assi } OpenAPI_list_add(released_ebi_listList , &released_ebi_list_local->valuedouble); } -} + } assigned_ebi_data_local_var = OpenAPI_assigned_ebi_data_create ( pdu_session_id->valuedouble, diff --git a/lib/sbi/openapi/model/atom.c b/lib/sbi/openapi/model/atom.c index 8eba4e775..512d85e0b 100644 --- a/lib/sbi/openapi/model/atom.c +++ b/lib/sbi/openapi/model/atom.c @@ -97,7 +97,7 @@ OpenAPI_atom_t *OpenAPI_atom_parseFromJSON(cJSON *atomJSON) ogs_error("OpenAPI_atom_parseFromJSON() failed [negative]"); goto end; } -} + } atom_local_var = OpenAPI_atom_create ( ogs_strdup_or_assert(attr->valuestring), diff --git a/lib/sbi/openapi/model/atsss_capability.c b/lib/sbi/openapi/model/atsss_capability.c index 9c58cd2fc..2b99e01c2 100644 --- a/lib/sbi/openapi/model/atsss_capability.c +++ b/lib/sbi/openapi/model/atsss_capability.c @@ -75,7 +75,7 @@ OpenAPI_atsss_capability_t *OpenAPI_atsss_capability_parseFromJSON(cJSON *atsss_ ogs_error("OpenAPI_atsss_capability_parseFromJSON() failed [atsss_ll]"); goto end; } -} + } cJSON *mptcp = cJSON_GetObjectItemCaseSensitive(atsss_capabilityJSON, "mptcp"); @@ -84,7 +84,7 @@ OpenAPI_atsss_capability_t *OpenAPI_atsss_capability_parseFromJSON(cJSON *atsss_ ogs_error("OpenAPI_atsss_capability_parseFromJSON() failed [mptcp]"); goto end; } -} + } cJSON *rtt_without_pmf = cJSON_GetObjectItemCaseSensitive(atsss_capabilityJSON, "rttWithoutPmf"); @@ -93,7 +93,7 @@ OpenAPI_atsss_capability_t *OpenAPI_atsss_capability_parseFromJSON(cJSON *atsss_ ogs_error("OpenAPI_atsss_capability_parseFromJSON() failed [rtt_without_pmf]"); goto end; } -} + } atsss_capability_local_var = OpenAPI_atsss_capability_create ( atsss_ll ? atsss_ll->valueint : 0, diff --git a/lib/sbi/openapi/model/ausf_info.c b/lib/sbi/openapi/model/ausf_info.c index dedb7dc1e..83f0456c0 100644 --- a/lib/sbi/openapi/model/ausf_info.c +++ b/lib/sbi/openapi/model/ausf_info.c @@ -106,7 +106,7 @@ OpenAPI_ausf_info_t *OpenAPI_ausf_info_parseFromJSON(cJSON *ausf_infoJSON) ogs_error("OpenAPI_ausf_info_parseFromJSON() failed [group_id]"); goto end; } -} + } cJSON *supi_ranges = cJSON_GetObjectItemCaseSensitive(ausf_infoJSON, "supiRanges"); @@ -129,7 +129,7 @@ OpenAPI_ausf_info_t *OpenAPI_ausf_info_parseFromJSON(cJSON *ausf_infoJSON) OpenAPI_list_add(supi_rangesList, supi_rangesItem); } -} + } cJSON *routing_indicators = cJSON_GetObjectItemCaseSensitive(ausf_infoJSON, "routingIndicators"); @@ -149,7 +149,7 @@ OpenAPI_ausf_info_t *OpenAPI_ausf_info_parseFromJSON(cJSON *ausf_infoJSON) } OpenAPI_list_add(routing_indicatorsList , ogs_strdup_or_assert(routing_indicators_local->valuestring)); } -} + } ausf_info_local_var = OpenAPI_ausf_info_create ( group_id ? ogs_strdup_or_assert(group_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/auth_event.c b/lib/sbi/openapi/model/auth_event.c index 6a5aafab8..7ebe878a5 100644 --- a/lib/sbi/openapi/model/auth_event.c +++ b/lib/sbi/openapi/model/auth_event.c @@ -157,7 +157,7 @@ OpenAPI_auth_event_t *OpenAPI_auth_event_parseFromJSON(cJSON *auth_eventJSON) ogs_error("OpenAPI_auth_event_parseFromJSON() failed [auth_removal_ind]"); goto end; } -} + } auth_event_local_var = OpenAPI_auth_event_create ( ogs_strdup_or_assert(nf_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/authentication_info.c b/lib/sbi/openapi/model/authentication_info.c index 1f88c7d05..8a7843999 100644 --- a/lib/sbi/openapi/model/authentication_info.c +++ b/lib/sbi/openapi/model/authentication_info.c @@ -189,7 +189,7 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON * OpenAPI_resynchronization_info_t *resynchronization_info_local_nonprim = NULL; if (resynchronization_info) { resynchronization_info_local_nonprim = OpenAPI_resynchronization_info_parseFromJSON(resynchronization_info); -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "pei"); @@ -198,14 +198,14 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON * ogs_error("OpenAPI_authentication_info_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "traceData"); OpenAPI_trace_data_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data); -} + } cJSON *udm_group_id = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "udmGroupId"); @@ -214,7 +214,7 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON * ogs_error("OpenAPI_authentication_info_parseFromJSON() failed [udm_group_id]"); goto end; } -} + } cJSON *routing_indicator = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "routingIndicator"); @@ -223,7 +223,7 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON * ogs_error("OpenAPI_authentication_info_parseFromJSON() failed [routing_indicator]"); goto end; } -} + } cJSON *cell_cag_info = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "cellCagInfo"); @@ -243,7 +243,7 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON * } OpenAPI_list_add(cell_cag_infoList , ogs_strdup_or_assert(cell_cag_info_local->valuestring)); } -} + } cJSON *n5gc_ind = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "n5gcInd"); @@ -252,7 +252,7 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON * ogs_error("OpenAPI_authentication_info_parseFromJSON() failed [n5gc_ind]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(authentication_infoJSON, "supportedFeatures"); @@ -261,7 +261,7 @@ OpenAPI_authentication_info_t *OpenAPI_authentication_info_parseFromJSON(cJSON * ogs_error("OpenAPI_authentication_info_parseFromJSON() failed [supported_features]"); goto end; } -} + } authentication_info_local_var = OpenAPI_authentication_info_create ( ogs_strdup_or_assert(supi_or_suci->valuestring), diff --git a/lib/sbi/openapi/model/authentication_info_request.c b/lib/sbi/openapi/model/authentication_info_request.c index a8c224faa..dda1576c4 100644 --- a/lib/sbi/openapi/model/authentication_info_request.c +++ b/lib/sbi/openapi/model/authentication_info_request.c @@ -121,7 +121,7 @@ OpenAPI_authentication_info_request_t *OpenAPI_authentication_info_request_parse ogs_error("OpenAPI_authentication_info_request_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *serving_network_name = cJSON_GetObjectItemCaseSensitive(authentication_info_requestJSON, "servingNetworkName"); if (!serving_network_name) { @@ -140,7 +140,7 @@ OpenAPI_authentication_info_request_t *OpenAPI_authentication_info_request_parse OpenAPI_resynchronization_info_t *resynchronization_info_local_nonprim = NULL; if (resynchronization_info) { resynchronization_info_local_nonprim = OpenAPI_resynchronization_info_parseFromJSON(resynchronization_info); -} + } cJSON *ausf_instance_id = cJSON_GetObjectItemCaseSensitive(authentication_info_requestJSON, "ausfInstanceId"); if (!ausf_instance_id) { @@ -172,7 +172,7 @@ OpenAPI_authentication_info_request_t *OpenAPI_authentication_info_request_parse } OpenAPI_list_add(cell_cag_infoList , ogs_strdup_or_assert(cell_cag_info_local->valuestring)); } -} + } cJSON *n5gc_ind = cJSON_GetObjectItemCaseSensitive(authentication_info_requestJSON, "n5gcInd"); @@ -181,7 +181,7 @@ OpenAPI_authentication_info_request_t *OpenAPI_authentication_info_request_parse ogs_error("OpenAPI_authentication_info_request_parseFromJSON() failed [n5gc_ind]"); goto end; } -} + } authentication_info_request_local_var = OpenAPI_authentication_info_request_create ( supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/authentication_info_result.c b/lib/sbi/openapi/model/authentication_info_result.c index c59cb279e..42cf97a11 100644 --- a/lib/sbi/openapi/model/authentication_info_result.c +++ b/lib/sbi/openapi/model/authentication_info_result.c @@ -105,14 +105,14 @@ OpenAPI_authentication_info_result_t *OpenAPI_authentication_info_result_parseFr ogs_error("OpenAPI_authentication_info_result_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *authentication_vector = cJSON_GetObjectItemCaseSensitive(authentication_info_resultJSON, "authenticationVector"); OpenAPI_authentication_vector_t *authentication_vector_local_nonprim = NULL; if (authentication_vector) { authentication_vector_local_nonprim = OpenAPI_authentication_vector_parseFromJSON(authentication_vector); -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(authentication_info_resultJSON, "supi"); @@ -121,7 +121,7 @@ OpenAPI_authentication_info_result_t *OpenAPI_authentication_info_result_parseFr ogs_error("OpenAPI_authentication_info_result_parseFromJSON() failed [supi]"); goto end; } -} + } authentication_info_result_local_var = OpenAPI_authentication_info_result_create ( auth_typeVariable, diff --git a/lib/sbi/openapi/model/authentication_subscription.c b/lib/sbi/openapi/model/authentication_subscription.c index dccd0afab..c347ccb4e 100644 --- a/lib/sbi/openapi/model/authentication_subscription.c +++ b/lib/sbi/openapi/model/authentication_subscription.c @@ -182,7 +182,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [enc_permanent_key]"); goto end; } -} + } cJSON *protection_parameter_id = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "protectionParameterId"); @@ -191,14 +191,14 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [protection_parameter_id]"); goto end; } -} + } cJSON *sequence_number = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "sequenceNumber"); OpenAPI_sequence_number_t *sequence_number_local_nonprim = NULL; if (sequence_number) { sequence_number_local_nonprim = OpenAPI_sequence_number_parseFromJSON(sequence_number); -} + } cJSON *authentication_management_field = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "authenticationManagementField"); @@ -207,7 +207,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [authentication_management_field]"); goto end; } -} + } cJSON *algorithm_id = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "algorithmId"); @@ -216,7 +216,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [algorithm_id]"); goto end; } -} + } cJSON *enc_opc_key = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "encOpcKey"); @@ -225,7 +225,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [enc_opc_key]"); goto end; } -} + } cJSON *enc_topc_key = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "encTopcKey"); @@ -234,7 +234,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [enc_topc_key]"); goto end; } -} + } cJSON *vector_generation_in_hss = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "vectorGenerationInHss"); @@ -243,7 +243,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [vector_generation_in_hss]"); goto end; } -} + } cJSON *n5gc_auth_method = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "n5gcAuthMethod"); @@ -254,7 +254,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse goto end; } n5gc_auth_methodVariable = OpenAPI_auth_method_FromString(n5gc_auth_method->valuestring); -} + } cJSON *rg_authentication_ind = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "rgAuthenticationInd"); @@ -263,7 +263,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [rg_authentication_ind]"); goto end; } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(authentication_subscriptionJSON, "supi"); @@ -272,7 +272,7 @@ OpenAPI_authentication_subscription_t *OpenAPI_authentication_subscription_parse ogs_error("OpenAPI_authentication_subscription_parseFromJSON() failed [supi]"); goto end; } -} + } authentication_subscription_local_var = OpenAPI_authentication_subscription_create ( authentication_methodVariable, diff --git a/lib/sbi/openapi/model/authentication_vector.c b/lib/sbi/openapi/model/authentication_vector.c index 1d31490db..823931864 100644 --- a/lib/sbi/openapi/model/authentication_vector.c +++ b/lib/sbi/openapi/model/authentication_vector.c @@ -147,7 +147,7 @@ OpenAPI_authentication_vector_t *OpenAPI_authentication_vector_parseFromJSON(cJS ogs_error("OpenAPI_authentication_vector_parseFromJSON() failed [xres]"); goto end; } -} + } cJSON *autn = cJSON_GetObjectItemCaseSensitive(authentication_vectorJSON, "autn"); if (!autn) { @@ -168,7 +168,7 @@ OpenAPI_authentication_vector_t *OpenAPI_authentication_vector_parseFromJSON(cJS ogs_error("OpenAPI_authentication_vector_parseFromJSON() failed [ck_prime]"); goto end; } -} + } cJSON *ik_prime = cJSON_GetObjectItemCaseSensitive(authentication_vectorJSON, "ikPrime"); @@ -177,7 +177,7 @@ OpenAPI_authentication_vector_t *OpenAPI_authentication_vector_parseFromJSON(cJS ogs_error("OpenAPI_authentication_vector_parseFromJSON() failed [ik_prime]"); goto end; } -} + } cJSON *xres_star = cJSON_GetObjectItemCaseSensitive(authentication_vectorJSON, "xresStar"); @@ -186,7 +186,7 @@ OpenAPI_authentication_vector_t *OpenAPI_authentication_vector_parseFromJSON(cJS ogs_error("OpenAPI_authentication_vector_parseFromJSON() failed [xres_star]"); goto end; } -} + } cJSON *kausf = cJSON_GetObjectItemCaseSensitive(authentication_vectorJSON, "kausf"); @@ -195,7 +195,7 @@ OpenAPI_authentication_vector_t *OpenAPI_authentication_vector_parseFromJSON(cJS ogs_error("OpenAPI_authentication_vector_parseFromJSON() failed [kausf]"); goto end; } -} + } authentication_vector_local_var = OpenAPI_authentication_vector_create ( av_typeVariable, diff --git a/lib/sbi/openapi/model/authorization_data.c b/lib/sbi/openapi/model/authorization_data.c index 1b18dce76..f06420a79 100644 --- a/lib/sbi/openapi/model/authorization_data.c +++ b/lib/sbi/openapi/model/authorization_data.c @@ -108,7 +108,7 @@ OpenAPI_authorization_data_t *OpenAPI_authorization_data_parseFromJSON(cJSON *au ogs_error("OpenAPI_authorization_data_parseFromJSON() failed [validity_time]"); goto end; } -} + } authorization_data_local_var = OpenAPI_authorization_data_create ( authorization_dataList, diff --git a/lib/sbi/openapi/model/authorized_default_qos.c b/lib/sbi/openapi/model/authorized_default_qos.c index 307bf4af6..a99cc135d 100644 --- a/lib/sbi/openapi/model/authorized_default_qos.c +++ b/lib/sbi/openapi/model/authorized_default_qos.c @@ -149,14 +149,14 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [_5qi]"); goto end; } -} + } cJSON *arp = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "arp"); OpenAPI_arp_t *arp_local_nonprim = NULL; if (arp) { arp_local_nonprim = OpenAPI_arp_parseFromJSON(arp); -} + } cJSON *priority_level = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "priorityLevel"); @@ -165,7 +165,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [priority_level]"); goto end; } -} + } cJSON *aver_window = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "averWindow"); @@ -174,7 +174,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [aver_window]"); goto end; } -} + } cJSON *max_data_burst_vol = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "maxDataBurstVol"); @@ -183,7 +183,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [max_data_burst_vol]"); goto end; } -} + } cJSON *maxbr_ul = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "maxbrUl"); @@ -192,7 +192,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [maxbr_ul]"); goto end; } -} + } cJSON *maxbr_dl = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "maxbrDl"); @@ -201,7 +201,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [maxbr_dl]"); goto end; } -} + } cJSON *gbr_ul = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "gbrUl"); @@ -210,7 +210,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [gbr_ul]"); goto end; } -} + } cJSON *gbr_dl = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "gbrDl"); @@ -219,7 +219,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [gbr_dl]"); goto end; } -} + } cJSON *ext_max_data_burst_vol = cJSON_GetObjectItemCaseSensitive(authorized_default_qosJSON, "extMaxDataBurstVol"); @@ -228,7 +228,7 @@ OpenAPI_authorized_default_qos_t *OpenAPI_authorized_default_qos_parseFromJSON(c ogs_error("OpenAPI_authorized_default_qos_parseFromJSON() failed [ext_max_data_burst_vol]"); goto end; } -} + } authorized_default_qos_local_var = OpenAPI_authorized_default_qos_create ( _5qi ? _5qi->valuedouble : 0, diff --git a/lib/sbi/openapi/model/authorized_network_slice_info.c b/lib/sbi/openapi/model/authorized_network_slice_info.c index 2eed48e2d..6b7d16bd1 100644 --- a/lib/sbi/openapi/model/authorized_network_slice_info.c +++ b/lib/sbi/openapi/model/authorized_network_slice_info.c @@ -264,7 +264,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p OpenAPI_list_add(allowed_nssai_listList, allowed_nssai_listItem); } -} + } cJSON *configured_nssai = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "configuredNssai"); @@ -287,7 +287,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p OpenAPI_list_add(configured_nssaiList, configured_nssaiItem); } -} + } cJSON *target_amf_set = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "targetAmfSet"); @@ -296,7 +296,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p ogs_error("OpenAPI_authorized_network_slice_info_parseFromJSON() failed [target_amf_set]"); goto end; } -} + } cJSON *candidate_amf_list = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "candidateAmfList"); @@ -316,7 +316,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p } OpenAPI_list_add(candidate_amf_listList , ogs_strdup_or_assert(candidate_amf_list_local->valuestring)); } -} + } cJSON *rejected_nssai_in_plmn = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "rejectedNssaiInPlmn"); @@ -339,7 +339,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p OpenAPI_list_add(rejected_nssai_in_plmnList, rejected_nssai_in_plmnItem); } -} + } cJSON *rejected_nssai_in_ta = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "rejectedNssaiInTa"); @@ -362,14 +362,14 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p OpenAPI_list_add(rejected_nssai_in_taList, rejected_nssai_in_taItem); } -} + } cJSON *nsi_information = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "nsiInformation"); OpenAPI_nsi_information_t *nsi_information_local_nonprim = NULL; if (nsi_information) { nsi_information_local_nonprim = OpenAPI_nsi_information_parseFromJSON(nsi_information); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "supportedFeatures"); @@ -378,7 +378,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p ogs_error("OpenAPI_authorized_network_slice_info_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *nrf_amf_set = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "nrfAmfSet"); @@ -387,7 +387,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p ogs_error("OpenAPI_authorized_network_slice_info_parseFromJSON() failed [nrf_amf_set]"); goto end; } -} + } cJSON *nrf_amf_set_nf_mgt_uri = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "nrfAmfSetNfMgtUri"); @@ -396,7 +396,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p ogs_error("OpenAPI_authorized_network_slice_info_parseFromJSON() failed [nrf_amf_set_nf_mgt_uri]"); goto end; } -} + } cJSON *nrf_amf_set_access_token_uri = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "nrfAmfSetAccessTokenUri"); @@ -405,7 +405,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p ogs_error("OpenAPI_authorized_network_slice_info_parseFromJSON() failed [nrf_amf_set_access_token_uri]"); goto end; } -} + } cJSON *target_amf_service_set = cJSON_GetObjectItemCaseSensitive(authorized_network_slice_infoJSON, "targetAmfServiceSet"); @@ -414,7 +414,7 @@ OpenAPI_authorized_network_slice_info_t *OpenAPI_authorized_network_slice_info_p ogs_error("OpenAPI_authorized_network_slice_info_parseFromJSON() failed [target_amf_service_set]"); goto end; } -} + } authorized_network_slice_info_local_var = OpenAPI_authorized_network_slice_info_create ( allowed_nssai_list ? allowed_nssai_listList : NULL, diff --git a/lib/sbi/openapi/model/av5_ghe_aka.c b/lib/sbi/openapi/model/av5_ghe_aka.c index 5ef3179c9..2650b1c7b 100644 --- a/lib/sbi/openapi/model/av5_ghe_aka.c +++ b/lib/sbi/openapi/model/av5_ghe_aka.c @@ -117,7 +117,7 @@ OpenAPI_av5_ghe_aka_t *OpenAPI_av5_ghe_aka_parseFromJSON(cJSON *av5_ghe_akaJSON) ogs_error("OpenAPI_av5_ghe_aka_parseFromJSON() failed [xres_star]"); goto end; } -} + } cJSON *autn = cJSON_GetObjectItemCaseSensitive(av5_ghe_akaJSON, "autn"); if (!autn) { @@ -138,7 +138,7 @@ OpenAPI_av5_ghe_aka_t *OpenAPI_av5_ghe_aka_parseFromJSON(cJSON *av5_ghe_akaJSON) ogs_error("OpenAPI_av5_ghe_aka_parseFromJSON() failed [kausf]"); goto end; } -} + } av5_ghe_aka_local_var = OpenAPI_av5_ghe_aka_create ( av_typeVariable, diff --git a/lib/sbi/openapi/model/av_eap_aka_prime.c b/lib/sbi/openapi/model/av_eap_aka_prime.c index 09d7db403..1c6d8a89b 100644 --- a/lib/sbi/openapi/model/av_eap_aka_prime.c +++ b/lib/sbi/openapi/model/av_eap_aka_prime.c @@ -127,7 +127,7 @@ OpenAPI_av_eap_aka_prime_t *OpenAPI_av_eap_aka_prime_parseFromJSON(cJSON *av_eap ogs_error("OpenAPI_av_eap_aka_prime_parseFromJSON() failed [xres]"); goto end; } -} + } cJSON *autn = cJSON_GetObjectItemCaseSensitive(av_eap_aka_primeJSON, "autn"); if (!autn) { @@ -148,7 +148,7 @@ OpenAPI_av_eap_aka_prime_t *OpenAPI_av_eap_aka_prime_parseFromJSON(cJSON *av_eap ogs_error("OpenAPI_av_eap_aka_prime_parseFromJSON() failed [ck_prime]"); goto end; } -} + } cJSON *ik_prime = cJSON_GetObjectItemCaseSensitive(av_eap_aka_primeJSON, "ikPrime"); @@ -157,7 +157,7 @@ OpenAPI_av_eap_aka_prime_t *OpenAPI_av_eap_aka_prime_parseFromJSON(cJSON *av_eap ogs_error("OpenAPI_av_eap_aka_prime_parseFromJSON() failed [ik_prime]"); goto end; } -} + } av_eap_aka_prime_local_var = OpenAPI_av_eap_aka_prime_create ( av_typeVariable, diff --git a/lib/sbi/openapi/model/backup_amf_info.c b/lib/sbi/openapi/model/backup_amf_info.c index e293b667c..ce827e6d4 100644 --- a/lib/sbi/openapi/model/backup_amf_info.c +++ b/lib/sbi/openapi/model/backup_amf_info.c @@ -108,7 +108,7 @@ OpenAPI_backup_amf_info_t *OpenAPI_backup_amf_info_parseFromJSON(cJSON *backup_a OpenAPI_list_add(guami_listList, guami_listItem); } -} + } backup_amf_info_local_var = OpenAPI_backup_amf_info_create ( ogs_strdup_or_assert(backup_amf->valuestring), diff --git a/lib/sbi/openapi/model/battery_indication.c b/lib/sbi/openapi/model/battery_indication.c index d2cf92ca1..810ea237d 100644 --- a/lib/sbi/openapi/model/battery_indication.c +++ b/lib/sbi/openapi/model/battery_indication.c @@ -75,7 +75,7 @@ OpenAPI_battery_indication_t *OpenAPI_battery_indication_parseFromJSON(cJSON *ba ogs_error("OpenAPI_battery_indication_parseFromJSON() failed [battery_ind]"); goto end; } -} + } cJSON *replaceable_ind = cJSON_GetObjectItemCaseSensitive(battery_indicationJSON, "replaceableInd"); @@ -84,7 +84,7 @@ OpenAPI_battery_indication_t *OpenAPI_battery_indication_parseFromJSON(cJSON *ba ogs_error("OpenAPI_battery_indication_parseFromJSON() failed [replaceable_ind]"); goto end; } -} + } cJSON *rechargeable_ind = cJSON_GetObjectItemCaseSensitive(battery_indicationJSON, "rechargeableInd"); @@ -93,7 +93,7 @@ OpenAPI_battery_indication_t *OpenAPI_battery_indication_parseFromJSON(cJSON *ba ogs_error("OpenAPI_battery_indication_parseFromJSON() failed [rechargeable_ind]"); goto end; } -} + } battery_indication_local_var = OpenAPI_battery_indication_create ( battery_ind ? battery_ind->valueint : 0, diff --git a/lib/sbi/openapi/model/battery_indication_rm.c b/lib/sbi/openapi/model/battery_indication_rm.c index ff95ade3d..58209cc5b 100644 --- a/lib/sbi/openapi/model/battery_indication_rm.c +++ b/lib/sbi/openapi/model/battery_indication_rm.c @@ -75,7 +75,7 @@ OpenAPI_battery_indication_rm_t *OpenAPI_battery_indication_rm_parseFromJSON(cJS ogs_error("OpenAPI_battery_indication_rm_parseFromJSON() failed [battery_ind]"); goto end; } -} + } cJSON *replaceable_ind = cJSON_GetObjectItemCaseSensitive(battery_indication_rmJSON, "replaceableInd"); @@ -84,7 +84,7 @@ OpenAPI_battery_indication_rm_t *OpenAPI_battery_indication_rm_parseFromJSON(cJS ogs_error("OpenAPI_battery_indication_rm_parseFromJSON() failed [replaceable_ind]"); goto end; } -} + } cJSON *rechargeable_ind = cJSON_GetObjectItemCaseSensitive(battery_indication_rmJSON, "rechargeableInd"); @@ -93,7 +93,7 @@ OpenAPI_battery_indication_rm_t *OpenAPI_battery_indication_rm_parseFromJSON(cJS ogs_error("OpenAPI_battery_indication_rm_parseFromJSON() failed [rechargeable_ind]"); goto end; } -} + } battery_indication_rm_local_var = OpenAPI_battery_indication_rm_create ( battery_ind ? battery_ind->valueint : 0, diff --git a/lib/sbi/openapi/model/bdt_data.c b/lib/sbi/openapi/model/bdt_data.c index 1377cbfc0..427e87b13 100644 --- a/lib/sbi/openapi/model/bdt_data.c +++ b/lib/sbi/openapi/model/bdt_data.c @@ -205,14 +205,14 @@ OpenAPI_bdt_data_t *OpenAPI_bdt_data_parseFromJSON(cJSON *bdt_dataJSON) ogs_error("OpenAPI_bdt_data_parseFromJSON() failed [bdt_ref_id]"); goto end; } -} + } cJSON *nw_area_info = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "nwAreaInfo"); OpenAPI_network_area_info_1_t *nw_area_info_local_nonprim = NULL; if (nw_area_info) { nw_area_info_local_nonprim = OpenAPI_network_area_info_1_parseFromJSON(nw_area_info); -} + } cJSON *num_of_ues = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "numOfUes"); @@ -221,14 +221,14 @@ OpenAPI_bdt_data_t *OpenAPI_bdt_data_parseFromJSON(cJSON *bdt_dataJSON) ogs_error("OpenAPI_bdt_data_parseFromJSON() failed [num_of_ues]"); goto end; } -} + } cJSON *vol_per_ue = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "volPerUe"); OpenAPI_usage_threshold_t *vol_per_ue_local_nonprim = NULL; if (vol_per_ue) { vol_per_ue_local_nonprim = OpenAPI_usage_threshold_parseFromJSON(vol_per_ue); -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "dnn"); @@ -237,14 +237,14 @@ OpenAPI_bdt_data_t *OpenAPI_bdt_data_parseFromJSON(cJSON *bdt_dataJSON) ogs_error("OpenAPI_bdt_data_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *snssai = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "snssai"); OpenAPI_snssai_t *snssai_local_nonprim = NULL; if (snssai) { snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(snssai); -} + } cJSON *traffic_des = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "trafficDes"); @@ -253,14 +253,14 @@ OpenAPI_bdt_data_t *OpenAPI_bdt_data_parseFromJSON(cJSON *bdt_dataJSON) ogs_error("OpenAPI_bdt_data_parseFromJSON() failed [traffic_des]"); goto end; } -} + } cJSON *bdtp_status = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "bdtpStatus"); OpenAPI_bdt_policy_status_t *bdtp_status_local_nonprim = NULL; if (bdtp_status) { bdtp_status_local_nonprim = OpenAPI_bdt_policy_status_parseFromJSON(bdtp_status); -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(bdt_dataJSON, "suppFeat"); @@ -269,7 +269,7 @@ OpenAPI_bdt_data_t *OpenAPI_bdt_data_parseFromJSON(cJSON *bdt_dataJSON) ogs_error("OpenAPI_bdt_data_parseFromJSON() failed [supp_feat]"); goto end; } -} + } bdt_data_local_var = OpenAPI_bdt_data_create ( ogs_strdup_or_assert(asp_id->valuestring), diff --git a/lib/sbi/openapi/model/bdt_data_patch.c b/lib/sbi/openapi/model/bdt_data_patch.c index 418614b0a..072171bb5 100644 --- a/lib/sbi/openapi/model/bdt_data_patch.c +++ b/lib/sbi/openapi/model/bdt_data_patch.c @@ -78,14 +78,14 @@ OpenAPI_bdt_data_patch_t *OpenAPI_bdt_data_patch_parseFromJSON(cJSON *bdt_data_p OpenAPI_transfer_policy_t *trans_policy_local_nonprim = NULL; if (trans_policy) { trans_policy_local_nonprim = OpenAPI_transfer_policy_parseFromJSON(trans_policy); -} + } cJSON *bdtp_status = cJSON_GetObjectItemCaseSensitive(bdt_data_patchJSON, "bdtpStatus"); OpenAPI_bdt_policy_status_t *bdtp_status_local_nonprim = NULL; if (bdtp_status) { bdtp_status_local_nonprim = OpenAPI_bdt_policy_status_parseFromJSON(bdtp_status); -} + } bdt_data_patch_local_var = OpenAPI_bdt_data_patch_create ( trans_policy ? trans_policy_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/bdt_policy_data.c b/lib/sbi/openapi/model/bdt_policy_data.c index 9fdf72e2b..9f77777fc 100644 --- a/lib/sbi/openapi/model/bdt_policy_data.c +++ b/lib/sbi/openapi/model/bdt_policy_data.c @@ -112,7 +112,7 @@ OpenAPI_bdt_policy_data_t *OpenAPI_bdt_policy_data_parseFromJSON(cJSON *bdt_poli ogs_error("OpenAPI_bdt_policy_data_parseFromJSON() failed [inter_group_id]"); goto end; } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(bdt_policy_dataJSON, "supi"); @@ -121,7 +121,7 @@ OpenAPI_bdt_policy_data_t *OpenAPI_bdt_policy_data_parseFromJSON(cJSON *bdt_poli ogs_error("OpenAPI_bdt_policy_data_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *bdt_ref_id = cJSON_GetObjectItemCaseSensitive(bdt_policy_dataJSON, "bdtRefId"); if (!bdt_ref_id) { @@ -142,14 +142,14 @@ OpenAPI_bdt_policy_data_t *OpenAPI_bdt_policy_data_parseFromJSON(cJSON *bdt_poli ogs_error("OpenAPI_bdt_policy_data_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *snssai = cJSON_GetObjectItemCaseSensitive(bdt_policy_dataJSON, "snssai"); OpenAPI_snssai_t *snssai_local_nonprim = NULL; if (snssai) { snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(snssai); -} + } cJSON *res_uri = cJSON_GetObjectItemCaseSensitive(bdt_policy_dataJSON, "resUri"); @@ -158,7 +158,7 @@ OpenAPI_bdt_policy_data_t *OpenAPI_bdt_policy_data_parseFromJSON(cJSON *bdt_poli ogs_error("OpenAPI_bdt_policy_data_parseFromJSON() failed [res_uri]"); goto end; } -} + } bdt_policy_data_local_var = OpenAPI_bdt_policy_data_create ( inter_group_id ? ogs_strdup_or_assert(inter_group_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/binding_resp.c b/lib/sbi/openapi/model/binding_resp.c index bd5fa4af9..7944939df 100644 --- a/lib/sbi/openapi/model/binding_resp.c +++ b/lib/sbi/openapi/model/binding_resp.c @@ -84,7 +84,7 @@ OpenAPI_binding_resp_t *OpenAPI_binding_resp_parseFromJSON(cJSON *binding_respJS ogs_error("OpenAPI_binding_resp_parseFromJSON() failed [pcf_sm_fqdn]"); goto end; } -} + } cJSON *pcf_sm_ip_end_points = cJSON_GetObjectItemCaseSensitive(binding_respJSON, "pcfSmIpEndPoints"); @@ -107,7 +107,7 @@ OpenAPI_binding_resp_t *OpenAPI_binding_resp_parseFromJSON(cJSON *binding_respJS OpenAPI_list_add(pcf_sm_ip_end_pointsList, pcf_sm_ip_end_pointsItem); } -} + } binding_resp_local_var = OpenAPI_binding_resp_create ( pcf_sm_fqdn ? ogs_strdup_or_assert(pcf_sm_fqdn->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/bsf_info.c b/lib/sbi/openapi/model/bsf_info.c index 3f1963d41..3ca47ca46 100644 --- a/lib/sbi/openapi/model/bsf_info.c +++ b/lib/sbi/openapi/model/bsf_info.c @@ -155,7 +155,7 @@ OpenAPI_bsf_info_t *OpenAPI_bsf_info_parseFromJSON(cJSON *bsf_infoJSON) } OpenAPI_list_add(dnn_listList , ogs_strdup_or_assert(dnn_list_local->valuestring)); } -} + } cJSON *ip_domain_list = cJSON_GetObjectItemCaseSensitive(bsf_infoJSON, "ipDomainList"); @@ -175,7 +175,7 @@ OpenAPI_bsf_info_t *OpenAPI_bsf_info_parseFromJSON(cJSON *bsf_infoJSON) } OpenAPI_list_add(ip_domain_listList , ogs_strdup_or_assert(ip_domain_list_local->valuestring)); } -} + } cJSON *ipv4_address_ranges = cJSON_GetObjectItemCaseSensitive(bsf_infoJSON, "ipv4AddressRanges"); @@ -198,7 +198,7 @@ OpenAPI_bsf_info_t *OpenAPI_bsf_info_parseFromJSON(cJSON *bsf_infoJSON) OpenAPI_list_add(ipv4_address_rangesList, ipv4_address_rangesItem); } -} + } cJSON *ipv6_prefix_ranges = cJSON_GetObjectItemCaseSensitive(bsf_infoJSON, "ipv6PrefixRanges"); @@ -221,7 +221,7 @@ OpenAPI_bsf_info_t *OpenAPI_bsf_info_parseFromJSON(cJSON *bsf_infoJSON) OpenAPI_list_add(ipv6_prefix_rangesList, ipv6_prefix_rangesItem); } -} + } bsf_info_local_var = OpenAPI_bsf_info_create ( dnn_list ? dnn_listList : NULL, diff --git a/lib/sbi/openapi/model/cag_data.c b/lib/sbi/openapi/model/cag_data.c index 6d02a6a4c..2b11e6ec5 100644 --- a/lib/sbi/openapi/model/cag_data.c +++ b/lib/sbi/openapi/model/cag_data.c @@ -111,7 +111,7 @@ OpenAPI_cag_data_t *OpenAPI_cag_data_parseFromJSON(cJSON *cag_dataJSON) ogs_error("OpenAPI_cag_data_parseFromJSON() failed [provisioning_time]"); goto end; } -} + } cag_data_local_var = OpenAPI_cag_data_create ( cag_infosList, diff --git a/lib/sbi/openapi/model/cag_data_1.c b/lib/sbi/openapi/model/cag_data_1.c index 2ed91c45e..2cc52ad59 100644 --- a/lib/sbi/openapi/model/cag_data_1.c +++ b/lib/sbi/openapi/model/cag_data_1.c @@ -111,7 +111,7 @@ OpenAPI_cag_data_1_t *OpenAPI_cag_data_1_parseFromJSON(cJSON *cag_data_1JSON) ogs_error("OpenAPI_cag_data_1_parseFromJSON() failed [provisioning_time]"); goto end; } -} + } cag_data_1_local_var = OpenAPI_cag_data_1_create ( cag_infosList, diff --git a/lib/sbi/openapi/model/cag_info.c b/lib/sbi/openapi/model/cag_info.c index 053cfba80..d39cab890 100644 --- a/lib/sbi/openapi/model/cag_info.c +++ b/lib/sbi/openapi/model/cag_info.c @@ -100,7 +100,7 @@ OpenAPI_cag_info_t *OpenAPI_cag_info_parseFromJSON(cJSON *cag_infoJSON) ogs_error("OpenAPI_cag_info_parseFromJSON() failed [cag_only_indicator]"); goto end; } -} + } cag_info_local_var = OpenAPI_cag_info_create ( allowed_cag_listList, diff --git a/lib/sbi/openapi/model/cag_info_1.c b/lib/sbi/openapi/model/cag_info_1.c index 93a748da8..3d57b896e 100644 --- a/lib/sbi/openapi/model/cag_info_1.c +++ b/lib/sbi/openapi/model/cag_info_1.c @@ -100,7 +100,7 @@ OpenAPI_cag_info_1_t *OpenAPI_cag_info_1_parseFromJSON(cJSON *cag_info_1JSON) ogs_error("OpenAPI_cag_info_1_parseFromJSON() failed [cag_only_indicator]"); goto end; } -} + } cag_info_1_local_var = OpenAPI_cag_info_1_create ( allowed_cag_listList, diff --git a/lib/sbi/openapi/model/candidate_for_replacement.c b/lib/sbi/openapi/model/candidate_for_replacement.c index e89e5bb96..63e965f81 100644 --- a/lib/sbi/openapi/model/candidate_for_replacement.c +++ b/lib/sbi/openapi/model/candidate_for_replacement.c @@ -105,7 +105,7 @@ OpenAPI_candidate_for_replacement_t *OpenAPI_candidate_for_replacement_parseFrom } OpenAPI_list_add(dnnsList , ogs_strdup_or_assert(dnns_local->valuestring)); } -} + } candidate_for_replacement_local_var = OpenAPI_candidate_for_replacement_create ( snssai_local_nonprim, diff --git a/lib/sbi/openapi/model/change_item.c b/lib/sbi/openapi/model/change_item.c index 3dc7bd04c..d5c11a585 100644 --- a/lib/sbi/openapi/model/change_item.c +++ b/lib/sbi/openapi/model/change_item.c @@ -119,7 +119,7 @@ OpenAPI_change_item_t *OpenAPI_change_item_parseFromJSON(cJSON *change_itemJSON) ogs_error("OpenAPI_change_item_parseFromJSON() failed [from]"); goto end; } -} + } cJSON *orig_value = cJSON_GetObjectItemCaseSensitive(change_itemJSON, "origValue"); @@ -128,7 +128,7 @@ OpenAPI_change_item_t *OpenAPI_change_item_parseFromJSON(cJSON *change_itemJSON) ogs_error("OpenAPI_change_item_parseFromJSON() failed [orig_value]"); goto end; } -} + } cJSON *new_value = cJSON_GetObjectItemCaseSensitive(change_itemJSON, "newValue"); @@ -137,7 +137,7 @@ OpenAPI_change_item_t *OpenAPI_change_item_parseFromJSON(cJSON *change_itemJSON) ogs_error("OpenAPI_change_item_parseFromJSON() failed [new_value]"); goto end; } -} + } change_item_local_var = OpenAPI_change_item_create ( opVariable, diff --git a/lib/sbi/openapi/model/charging_data.c b/lib/sbi/openapi/model/charging_data.c index 99b021a3e..e77458e56 100644 --- a/lib/sbi/openapi/model/charging_data.c +++ b/lib/sbi/openapi/model/charging_data.c @@ -172,7 +172,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat goto end; } metering_methodVariable = OpenAPI_metering_method_FromString(metering_method->valuestring); -} + } cJSON *offline = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "offline"); @@ -181,7 +181,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat ogs_error("OpenAPI_charging_data_parseFromJSON() failed [offline]"); goto end; } -} + } cJSON *online = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "online"); @@ -190,7 +190,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat ogs_error("OpenAPI_charging_data_parseFromJSON() failed [online]"); goto end; } -} + } cJSON *sdf_handl = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "sdfHandl"); @@ -199,7 +199,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat ogs_error("OpenAPI_charging_data_parseFromJSON() failed [sdf_handl]"); goto end; } -} + } cJSON *rating_group = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "ratingGroup"); @@ -208,7 +208,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat ogs_error("OpenAPI_charging_data_parseFromJSON() failed [rating_group]"); goto end; } -} + } cJSON *reporting_level = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "reportingLevel"); @@ -219,7 +219,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat goto end; } reporting_levelVariable = OpenAPI_reporting_level_FromString(reporting_level->valuestring); -} + } cJSON *service_id = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "serviceId"); @@ -228,7 +228,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat ogs_error("OpenAPI_charging_data_parseFromJSON() failed [service_id]"); goto end; } -} + } cJSON *sponsor_id = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "sponsorId"); @@ -237,7 +237,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat ogs_error("OpenAPI_charging_data_parseFromJSON() failed [sponsor_id]"); goto end; } -} + } cJSON *app_svc_prov_id = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "appSvcProvId"); @@ -246,7 +246,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat ogs_error("OpenAPI_charging_data_parseFromJSON() failed [app_svc_prov_id]"); goto end; } -} + } cJSON *af_charging_identifier = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "afChargingIdentifier"); @@ -255,7 +255,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat ogs_error("OpenAPI_charging_data_parseFromJSON() failed [af_charging_identifier]"); goto end; } -} + } cJSON *af_charg_id = cJSON_GetObjectItemCaseSensitive(charging_dataJSON, "afChargId"); @@ -264,7 +264,7 @@ OpenAPI_charging_data_t *OpenAPI_charging_data_parseFromJSON(cJSON *charging_dat ogs_error("OpenAPI_charging_data_parseFromJSON() failed [af_charg_id]"); goto end; } -} + } charging_data_local_var = OpenAPI_charging_data_create ( ogs_strdup_or_assert(chg_id->valuestring), diff --git a/lib/sbi/openapi/model/charging_information.c b/lib/sbi/openapi/model/charging_information.c index 01b3b1e3d..b49c1acc2 100644 --- a/lib/sbi/openapi/model/charging_information.c +++ b/lib/sbi/openapi/model/charging_information.c @@ -128,7 +128,7 @@ OpenAPI_charging_information_t *OpenAPI_charging_information_parseFromJSON(cJSON ogs_error("OpenAPI_charging_information_parseFromJSON() failed [primary_chf_set_id]"); goto end; } -} + } cJSON *primary_chf_instance_id = cJSON_GetObjectItemCaseSensitive(charging_informationJSON, "primaryChfInstanceId"); @@ -137,7 +137,7 @@ OpenAPI_charging_information_t *OpenAPI_charging_information_parseFromJSON(cJSON ogs_error("OpenAPI_charging_information_parseFromJSON() failed [primary_chf_instance_id]"); goto end; } -} + } cJSON *secondary_chf_set_id = cJSON_GetObjectItemCaseSensitive(charging_informationJSON, "secondaryChfSetId"); @@ -146,7 +146,7 @@ OpenAPI_charging_information_t *OpenAPI_charging_information_parseFromJSON(cJSON ogs_error("OpenAPI_charging_information_parseFromJSON() failed [secondary_chf_set_id]"); goto end; } -} + } cJSON *secondary_chf_instance_id = cJSON_GetObjectItemCaseSensitive(charging_informationJSON, "secondaryChfInstanceId"); @@ -155,7 +155,7 @@ OpenAPI_charging_information_t *OpenAPI_charging_information_parseFromJSON(cJSON ogs_error("OpenAPI_charging_information_parseFromJSON() failed [secondary_chf_instance_id]"); goto end; } -} + } charging_information_local_var = OpenAPI_charging_information_create ( ogs_strdup_or_assert(primary_chf_address->valuestring), diff --git a/lib/sbi/openapi/model/chf_info.c b/lib/sbi/openapi/model/chf_info.c index 672e21197..ecb362e40 100644 --- a/lib/sbi/openapi/model/chf_info.c +++ b/lib/sbi/openapi/model/chf_info.c @@ -170,7 +170,7 @@ OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON) OpenAPI_list_add(supi_range_listList, supi_range_listItem); } -} + } cJSON *gpsi_range_list = cJSON_GetObjectItemCaseSensitive(chf_infoJSON, "gpsiRangeList"); @@ -193,7 +193,7 @@ OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON) OpenAPI_list_add(gpsi_range_listList, gpsi_range_listItem); } -} + } cJSON *plmn_range_list = cJSON_GetObjectItemCaseSensitive(chf_infoJSON, "plmnRangeList"); @@ -216,7 +216,7 @@ OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON) OpenAPI_list_add(plmn_range_listList, plmn_range_listItem); } -} + } cJSON *group_id = cJSON_GetObjectItemCaseSensitive(chf_infoJSON, "groupId"); @@ -225,7 +225,7 @@ OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON) ogs_error("OpenAPI_chf_info_parseFromJSON() failed [group_id]"); goto end; } -} + } cJSON *primary_chf_instance = cJSON_GetObjectItemCaseSensitive(chf_infoJSON, "primaryChfInstance"); @@ -234,7 +234,7 @@ OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON) ogs_error("OpenAPI_chf_info_parseFromJSON() failed [primary_chf_instance]"); goto end; } -} + } cJSON *secondary_chf_instance = cJSON_GetObjectItemCaseSensitive(chf_infoJSON, "secondaryChfInstance"); @@ -243,7 +243,7 @@ OpenAPI_chf_info_t *OpenAPI_chf_info_parseFromJSON(cJSON *chf_infoJSON) ogs_error("OpenAPI_chf_info_parseFromJSON() failed [secondary_chf_instance]"); goto end; } -} + } chf_info_local_var = OpenAPI_chf_info_create ( supi_range_list ? supi_range_listList : NULL, diff --git a/lib/sbi/openapi/model/civic_address.c b/lib/sbi/openapi/model/civic_address.c index 038bce1c2..21a34f601 100644 --- a/lib/sbi/openapi/model/civic_address.c +++ b/lib/sbi/openapi/model/civic_address.c @@ -388,7 +388,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [country]"); goto end; } -} + } cJSON *a1 = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "A1"); @@ -397,7 +397,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [a1]"); goto end; } -} + } cJSON *a2 = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "A2"); @@ -406,7 +406,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [a2]"); goto end; } -} + } cJSON *a3 = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "A3"); @@ -415,7 +415,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [a3]"); goto end; } -} + } cJSON *a4 = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "A4"); @@ -424,7 +424,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [a4]"); goto end; } -} + } cJSON *a5 = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "A5"); @@ -433,7 +433,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [a5]"); goto end; } -} + } cJSON *a6 = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "A6"); @@ -442,7 +442,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [a6]"); goto end; } -} + } cJSON *prd = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "PRD"); @@ -451,7 +451,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [prd]"); goto end; } -} + } cJSON *pod = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "POD"); @@ -460,7 +460,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [pod]"); goto end; } -} + } cJSON *sts = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "STS"); @@ -469,7 +469,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [sts]"); goto end; } -} + } cJSON *hno = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "HNO"); @@ -478,7 +478,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [hno]"); goto end; } -} + } cJSON *hns = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "HNS"); @@ -487,7 +487,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [hns]"); goto end; } -} + } cJSON *lmk = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "LMK"); @@ -496,7 +496,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [lmk]"); goto end; } -} + } cJSON *loc = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "LOC"); @@ -505,7 +505,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [loc]"); goto end; } -} + } cJSON *nam = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "NAM"); @@ -514,7 +514,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [nam]"); goto end; } -} + } cJSON *pc = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "PC"); @@ -523,7 +523,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [pc]"); goto end; } -} + } cJSON *bld = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "BLD"); @@ -532,7 +532,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [bld]"); goto end; } -} + } cJSON *unit = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "UNIT"); @@ -541,7 +541,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [unit]"); goto end; } -} + } cJSON *flr = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "FLR"); @@ -550,7 +550,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [flr]"); goto end; } -} + } cJSON *room = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "ROOM"); @@ -559,7 +559,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [room]"); goto end; } -} + } cJSON *plc = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "PLC"); @@ -568,7 +568,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [plc]"); goto end; } -} + } cJSON *pcn = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "PCN"); @@ -577,7 +577,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [pcn]"); goto end; } -} + } cJSON *pobox = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "POBOX"); @@ -586,7 +586,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [pobox]"); goto end; } -} + } cJSON *addcode = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "ADDCODE"); @@ -595,7 +595,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [addcode]"); goto end; } -} + } cJSON *seat = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "SEAT"); @@ -604,7 +604,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [seat]"); goto end; } -} + } cJSON *rd = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "RD"); @@ -613,7 +613,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [rd]"); goto end; } -} + } cJSON *rdsec = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "RDSEC"); @@ -622,7 +622,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [rdsec]"); goto end; } -} + } cJSON *rdbr = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "RDBR"); @@ -631,7 +631,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [rdbr]"); goto end; } -} + } cJSON *rdsubbr = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "RDSUBBR"); @@ -640,7 +640,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [rdsubbr]"); goto end; } -} + } cJSON *prm = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "PRM"); @@ -649,7 +649,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [prm]"); goto end; } -} + } cJSON *pom = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "POM"); @@ -658,7 +658,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [pom]"); goto end; } -} + } cJSON *usage_rules = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "usageRules"); @@ -667,7 +667,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [usage_rules]"); goto end; } -} + } cJSON *method = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "method"); @@ -676,7 +676,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [method]"); goto end; } -} + } cJSON *provided_by = cJSON_GetObjectItemCaseSensitive(civic_addressJSON, "providedBy"); @@ -685,7 +685,7 @@ OpenAPI_civic_address_t *OpenAPI_civic_address_parseFromJSON(cJSON *civic_addres ogs_error("OpenAPI_civic_address_parseFromJSON() failed [provided_by]"); goto end; } -} + } civic_address_local_var = OpenAPI_civic_address_create ( country ? ogs_strdup_or_assert(country->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/cn_assisted_ran_para.c b/lib/sbi/openapi/model/cn_assisted_ran_para.c index 3a0764116..aa476e56b 100644 --- a/lib/sbi/openapi/model/cn_assisted_ran_para.c +++ b/lib/sbi/openapi/model/cn_assisted_ran_para.c @@ -127,7 +127,7 @@ OpenAPI_cn_assisted_ran_para_t *OpenAPI_cn_assisted_ran_para_parseFromJSON(cJSON goto end; } stationary_indicationVariable = OpenAPI_stationary_indication_FromString(stationary_indication->valuestring); -} + } cJSON *communication_duration_time = cJSON_GetObjectItemCaseSensitive(cn_assisted_ran_paraJSON, "communicationDurationTime"); @@ -136,7 +136,7 @@ OpenAPI_cn_assisted_ran_para_t *OpenAPI_cn_assisted_ran_para_parseFromJSON(cJSON ogs_error("OpenAPI_cn_assisted_ran_para_parseFromJSON() failed [communication_duration_time]"); goto end; } -} + } cJSON *periodic_time = cJSON_GetObjectItemCaseSensitive(cn_assisted_ran_paraJSON, "periodicTime"); @@ -145,14 +145,14 @@ OpenAPI_cn_assisted_ran_para_t *OpenAPI_cn_assisted_ran_para_parseFromJSON(cJSON ogs_error("OpenAPI_cn_assisted_ran_para_parseFromJSON() failed [periodic_time]"); goto end; } -} + } cJSON *scheduled_communication_time = cJSON_GetObjectItemCaseSensitive(cn_assisted_ran_paraJSON, "scheduledCommunicationTime"); OpenAPI_scheduled_communication_time_t *scheduled_communication_time_local_nonprim = NULL; if (scheduled_communication_time) { scheduled_communication_time_local_nonprim = OpenAPI_scheduled_communication_time_parseFromJSON(scheduled_communication_time); -} + } cJSON *scheduled_communication_type = cJSON_GetObjectItemCaseSensitive(cn_assisted_ran_paraJSON, "scheduledCommunicationType"); @@ -163,7 +163,7 @@ OpenAPI_cn_assisted_ran_para_t *OpenAPI_cn_assisted_ran_para_parseFromJSON(cJSON goto end; } scheduled_communication_typeVariable = OpenAPI_scheduled_communication_type_FromString(scheduled_communication_type->valuestring); -} + } cJSON *traffic_profile = cJSON_GetObjectItemCaseSensitive(cn_assisted_ran_paraJSON, "trafficProfile"); @@ -174,14 +174,14 @@ OpenAPI_cn_assisted_ran_para_t *OpenAPI_cn_assisted_ran_para_parseFromJSON(cJSON goto end; } traffic_profileVariable = OpenAPI_traffic_profile_FromString(traffic_profile->valuestring); -} + } cJSON *battery_indication = cJSON_GetObjectItemCaseSensitive(cn_assisted_ran_paraJSON, "batteryIndication"); OpenAPI_battery_indication_t *battery_indication_local_nonprim = NULL; if (battery_indication) { battery_indication_local_nonprim = OpenAPI_battery_indication_parseFromJSON(battery_indication); -} + } cn_assisted_ran_para_local_var = OpenAPI_cn_assisted_ran_para_create ( stationary_indication ? stationary_indicationVariable : 0, diff --git a/lib/sbi/openapi/model/communication_characteristics.c b/lib/sbi/openapi/model/communication_characteristics.c index 43e385b21..64f05fe30 100644 --- a/lib/sbi/openapi/model/communication_characteristics.c +++ b/lib/sbi/openapi/model/communication_characteristics.c @@ -135,14 +135,14 @@ OpenAPI_communication_characteristics_t *OpenAPI_communication_characteristics_p OpenAPI_pp_subs_reg_timer_t *pp_subs_reg_timer_local_nonprim = NULL; if (pp_subs_reg_timer) { pp_subs_reg_timer_local_nonprim = OpenAPI_pp_subs_reg_timer_parseFromJSON(pp_subs_reg_timer); -} + } cJSON *pp_active_time = cJSON_GetObjectItemCaseSensitive(communication_characteristicsJSON, "ppActiveTime"); OpenAPI_pp_active_time_t *pp_active_time_local_nonprim = NULL; if (pp_active_time) { pp_active_time_local_nonprim = OpenAPI_pp_active_time_parseFromJSON(pp_active_time); -} + } cJSON *pp_dl_packet_count = cJSON_GetObjectItemCaseSensitive(communication_characteristicsJSON, "ppDlPacketCount"); @@ -151,28 +151,28 @@ OpenAPI_communication_characteristics_t *OpenAPI_communication_characteristics_p ogs_error("OpenAPI_communication_characteristics_parseFromJSON() failed [pp_dl_packet_count]"); goto end; } -} + } cJSON *pp_dl_packet_count_ext = cJSON_GetObjectItemCaseSensitive(communication_characteristicsJSON, "ppDlPacketCountExt"); OpenAPI_pp_dl_packet_count_ext_t *pp_dl_packet_count_ext_local_nonprim = NULL; if (pp_dl_packet_count_ext) { pp_dl_packet_count_ext_local_nonprim = OpenAPI_pp_dl_packet_count_ext_parseFromJSON(pp_dl_packet_count_ext); -} + } cJSON *pp_maximum_response_time = cJSON_GetObjectItemCaseSensitive(communication_characteristicsJSON, "ppMaximumResponseTime"); OpenAPI_pp_maximum_response_time_t *pp_maximum_response_time_local_nonprim = NULL; if (pp_maximum_response_time) { pp_maximum_response_time_local_nonprim = OpenAPI_pp_maximum_response_time_parseFromJSON(pp_maximum_response_time); -} + } cJSON *pp_maximum_latency = cJSON_GetObjectItemCaseSensitive(communication_characteristicsJSON, "ppMaximumLatency"); OpenAPI_pp_maximum_latency_t *pp_maximum_latency_local_nonprim = NULL; if (pp_maximum_latency) { pp_maximum_latency_local_nonprim = OpenAPI_pp_maximum_latency_parseFromJSON(pp_maximum_latency); -} + } communication_characteristics_local_var = OpenAPI_communication_characteristics_create ( pp_subs_reg_timer ? pp_subs_reg_timer_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/condition_data.c b/lib/sbi/openapi/model/condition_data.c index 1c33f94b5..f7e69542d 100644 --- a/lib/sbi/openapi/model/condition_data.c +++ b/lib/sbi/openapi/model/condition_data.c @@ -106,7 +106,7 @@ OpenAPI_condition_data_t *OpenAPI_condition_data_parseFromJSON(cJSON *condition_ ogs_error("OpenAPI_condition_data_parseFromJSON() failed [activation_time]"); goto end; } -} + } cJSON *deactivation_time = cJSON_GetObjectItemCaseSensitive(condition_dataJSON, "deactivationTime"); @@ -115,7 +115,7 @@ OpenAPI_condition_data_t *OpenAPI_condition_data_parseFromJSON(cJSON *condition_ ogs_error("OpenAPI_condition_data_parseFromJSON() failed [deactivation_time]"); goto end; } -} + } cJSON *access_type = cJSON_GetObjectItemCaseSensitive(condition_dataJSON, "accessType"); @@ -126,7 +126,7 @@ OpenAPI_condition_data_t *OpenAPI_condition_data_parseFromJSON(cJSON *condition_ goto end; } access_typeVariable = OpenAPI_access_type_FromString(access_type->valuestring); -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(condition_dataJSON, "ratType"); @@ -137,7 +137,7 @@ OpenAPI_condition_data_t *OpenAPI_condition_data_parseFromJSON(cJSON *condition_ goto end; } rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring); -} + } condition_data_local_var = OpenAPI_condition_data_create ( ogs_strdup_or_assert(cond_id->valuestring), diff --git a/lib/sbi/openapi/model/configured_snssai.c b/lib/sbi/openapi/model/configured_snssai.c index af7a9450a..645d17d06 100644 --- a/lib/sbi/openapi/model/configured_snssai.c +++ b/lib/sbi/openapi/model/configured_snssai.c @@ -86,7 +86,7 @@ OpenAPI_configured_snssai_t *OpenAPI_configured_snssai_parseFromJSON(cJSON *conf OpenAPI_snssai_t *mapped_home_snssai_local_nonprim = NULL; if (mapped_home_snssai) { mapped_home_snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(mapped_home_snssai); -} + } configured_snssai_local_var = OpenAPI_configured_snssai_create ( configured_snssai_local_nonprim, diff --git a/lib/sbi/openapi/model/confirmation_data.c b/lib/sbi/openapi/model/confirmation_data.c index 2388e8038..ee4e409f5 100644 --- a/lib/sbi/openapi/model/confirmation_data.c +++ b/lib/sbi/openapi/model/confirmation_data.c @@ -78,7 +78,7 @@ OpenAPI_confirmation_data_t *OpenAPI_confirmation_data_parseFromJSON(cJSON *conf ogs_error("OpenAPI_confirmation_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } confirmation_data_local_var = OpenAPI_confirmation_data_create ( ogs_strdup_or_assert(res_star->valuestring), diff --git a/lib/sbi/openapi/model/confirmation_data_response.c b/lib/sbi/openapi/model/confirmation_data_response.c index e0c92bcd5..9fbc04f4e 100644 --- a/lib/sbi/openapi/model/confirmation_data_response.c +++ b/lib/sbi/openapi/model/confirmation_data_response.c @@ -89,7 +89,7 @@ OpenAPI_confirmation_data_response_t *OpenAPI_confirmation_data_response_parseFr ogs_error("OpenAPI_confirmation_data_response_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *kseaf = cJSON_GetObjectItemCaseSensitive(confirmation_data_responseJSON, "kseaf"); @@ -98,7 +98,7 @@ OpenAPI_confirmation_data_response_t *OpenAPI_confirmation_data_response_parseFr ogs_error("OpenAPI_confirmation_data_response_parseFromJSON() failed [kseaf]"); goto end; } -} + } confirmation_data_response_local_var = OpenAPI_confirmation_data_response_create ( auth_resultVariable, diff --git a/lib/sbi/openapi/model/context_data_sets.c b/lib/sbi/openapi/model/context_data_sets.c index effe17d1e..3f7e17c36 100644 --- a/lib/sbi/openapi/model/context_data_sets.c +++ b/lib/sbi/openapi/model/context_data_sets.c @@ -230,14 +230,14 @@ OpenAPI_context_data_sets_t *OpenAPI_context_data_sets_parseFromJSON(cJSON *cont OpenAPI_amf3_gpp_access_registration_t *amf3_gpp_local_nonprim = NULL; if (amf3_gpp) { amf3_gpp_local_nonprim = OpenAPI_amf3_gpp_access_registration_parseFromJSON(amf3_gpp); -} + } cJSON *amf_non3_gpp = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "amfNon3Gpp"); OpenAPI_amf_non3_gpp_access_registration_t *amf_non3_gpp_local_nonprim = NULL; if (amf_non3_gpp) { amf_non3_gpp_local_nonprim = OpenAPI_amf_non3_gpp_access_registration_parseFromJSON(amf_non3_gpp); -} + } cJSON *sdm_subscriptions = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "sdmSubscriptions"); @@ -260,7 +260,7 @@ OpenAPI_context_data_sets_t *OpenAPI_context_data_sets_parseFromJSON(cJSON *cont OpenAPI_list_add(sdm_subscriptionsList, sdm_subscriptionsItem); } -} + } cJSON *ee_subscriptions = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "eeSubscriptions"); @@ -283,21 +283,21 @@ OpenAPI_context_data_sets_t *OpenAPI_context_data_sets_parseFromJSON(cJSON *cont OpenAPI_list_add(ee_subscriptionsList, ee_subscriptionsItem); } -} + } cJSON *smsf3_gpp_access = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "smsf3GppAccess"); OpenAPI_smsf_registration_t *smsf3_gpp_access_local_nonprim = NULL; if (smsf3_gpp_access) { smsf3_gpp_access_local_nonprim = OpenAPI_smsf_registration_parseFromJSON(smsf3_gpp_access); -} + } cJSON *smsf_non3_gpp_access = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "smsfNon3GppAccess"); OpenAPI_smsf_registration_t *smsf_non3_gpp_access_local_nonprim = NULL; if (smsf_non3_gpp_access) { smsf_non3_gpp_access_local_nonprim = OpenAPI_smsf_registration_parseFromJSON(smsf_non3_gpp_access); -} + } cJSON *subscription_data_subscriptions = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "subscriptionDataSubscriptions"); @@ -320,7 +320,7 @@ OpenAPI_context_data_sets_t *OpenAPI_context_data_sets_parseFromJSON(cJSON *cont OpenAPI_list_add(subscription_data_subscriptionsList, subscription_data_subscriptionsItem); } -} + } cJSON *smf_registrations = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "smfRegistrations"); @@ -343,14 +343,14 @@ OpenAPI_context_data_sets_t *OpenAPI_context_data_sets_parseFromJSON(cJSON *cont OpenAPI_list_add(smf_registrationsList, smf_registrationsItem); } -} + } cJSON *ip_sm_gw = cJSON_GetObjectItemCaseSensitive(context_data_setsJSON, "ipSmGw"); OpenAPI_ip_sm_gw_registration_t *ip_sm_gw_local_nonprim = NULL; if (ip_sm_gw) { ip_sm_gw_local_nonprim = OpenAPI_ip_sm_gw_registration_parseFromJSON(ip_sm_gw); -} + } context_data_sets_local_var = OpenAPI_context_data_sets_create ( amf3_gpp ? amf3_gpp_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/context_info.c b/lib/sbi/openapi/model/context_info.c index 9bf4d89fb..f9b1c26e4 100644 --- a/lib/sbi/openapi/model/context_info.c +++ b/lib/sbi/openapi/model/context_info.c @@ -81,7 +81,7 @@ OpenAPI_context_info_t *OpenAPI_context_info_parseFromJSON(cJSON *context_infoJS } OpenAPI_list_add(orig_headersList , ogs_strdup_or_assert(orig_headers_local->valuestring)); } -} + } context_info_local_var = OpenAPI_context_info_create ( orig_headers ? orig_headersList : NULL diff --git a/lib/sbi/openapi/model/data_change_notify.c b/lib/sbi/openapi/model/data_change_notify.c index e00dd79e2..23788db65 100644 --- a/lib/sbi/openapi/model/data_change_notify.c +++ b/lib/sbi/openapi/model/data_change_notify.c @@ -185,7 +185,7 @@ OpenAPI_data_change_notify_t *OpenAPI_data_change_notify_parseFromJSON(cJSON *da } OpenAPI_list_add(original_callback_referenceList , ogs_strdup_or_assert(original_callback_reference_local->valuestring)); } -} + } cJSON *ue_id = cJSON_GetObjectItemCaseSensitive(data_change_notifyJSON, "ueId"); @@ -194,7 +194,7 @@ OpenAPI_data_change_notify_t *OpenAPI_data_change_notify_parseFromJSON(cJSON *da ogs_error("OpenAPI_data_change_notify_parseFromJSON() failed [ue_id]"); goto end; } -} + } cJSON *notify_items = cJSON_GetObjectItemCaseSensitive(data_change_notifyJSON, "notifyItems"); @@ -217,14 +217,14 @@ OpenAPI_data_change_notify_t *OpenAPI_data_change_notify_parseFromJSON(cJSON *da OpenAPI_list_add(notify_itemsList, notify_itemsItem); } -} + } cJSON *sdm_subscription = cJSON_GetObjectItemCaseSensitive(data_change_notifyJSON, "sdmSubscription"); OpenAPI_sdm_subscription_1_t *sdm_subscription_local_nonprim = NULL; if (sdm_subscription) { sdm_subscription_local_nonprim = OpenAPI_sdm_subscription_1_parseFromJSON(sdm_subscription); -} + } cJSON *additional_sdm_subscriptions = cJSON_GetObjectItemCaseSensitive(data_change_notifyJSON, "additionalSdmSubscriptions"); @@ -247,7 +247,7 @@ OpenAPI_data_change_notify_t *OpenAPI_data_change_notify_parseFromJSON(cJSON *da OpenAPI_list_add(additional_sdm_subscriptionsList, additional_sdm_subscriptionsItem); } -} + } cJSON *subscription_data_subscriptions = cJSON_GetObjectItemCaseSensitive(data_change_notifyJSON, "subscriptionDataSubscriptions"); @@ -270,7 +270,7 @@ OpenAPI_data_change_notify_t *OpenAPI_data_change_notify_parseFromJSON(cJSON *da OpenAPI_list_add(subscription_data_subscriptionsList, subscription_data_subscriptionsItem); } -} + } data_change_notify_local_var = OpenAPI_data_change_notify_create ( original_callback_reference ? original_callback_referenceList : NULL, diff --git a/lib/sbi/openapi/model/data_filter.c b/lib/sbi/openapi/model/data_filter.c index 31d64ae40..9522dafd0 100644 --- a/lib/sbi/openapi/model/data_filter.c +++ b/lib/sbi/openapi/model/data_filter.c @@ -263,7 +263,7 @@ OpenAPI_data_filter_t *OpenAPI_data_filter_parseFromJSON(cJSON *data_filterJSON) } OpenAPI_list_add(dnnsList , ogs_strdup_or_assert(dnns_local->valuestring)); } -} + } cJSON *snssais = cJSON_GetObjectItemCaseSensitive(data_filterJSON, "snssais"); @@ -286,7 +286,7 @@ OpenAPI_data_filter_t *OpenAPI_data_filter_parseFromJSON(cJSON *data_filterJSON) OpenAPI_list_add(snssaisList, snssaisItem); } -} + } cJSON *internal_group_ids = cJSON_GetObjectItemCaseSensitive(data_filterJSON, "internalGroupIds"); @@ -306,7 +306,7 @@ OpenAPI_data_filter_t *OpenAPI_data_filter_parseFromJSON(cJSON *data_filterJSON) } OpenAPI_list_add(internal_group_idsList , ogs_strdup_or_assert(internal_group_ids_local->valuestring)); } -} + } cJSON *supis = cJSON_GetObjectItemCaseSensitive(data_filterJSON, "supis"); @@ -326,7 +326,7 @@ OpenAPI_data_filter_t *OpenAPI_data_filter_parseFromJSON(cJSON *data_filterJSON) } OpenAPI_list_add(supisList , ogs_strdup_or_assert(supis_local->valuestring)); } -} + } cJSON *app_ids = cJSON_GetObjectItemCaseSensitive(data_filterJSON, "appIds"); @@ -346,7 +346,7 @@ OpenAPI_data_filter_t *OpenAPI_data_filter_parseFromJSON(cJSON *data_filterJSON) } OpenAPI_list_add(app_idsList , ogs_strdup_or_assert(app_ids_local->valuestring)); } -} + } cJSON *ue_ipv4s = cJSON_GetObjectItemCaseSensitive(data_filterJSON, "ueIpv4s"); @@ -366,7 +366,7 @@ OpenAPI_data_filter_t *OpenAPI_data_filter_parseFromJSON(cJSON *data_filterJSON) } OpenAPI_list_add(ue_ipv4sList , ogs_strdup_or_assert(ue_ipv4s_local->valuestring)); } -} + } cJSON *ue_ipv6s = cJSON_GetObjectItemCaseSensitive(data_filterJSON, "ueIpv6s"); @@ -386,7 +386,7 @@ OpenAPI_data_filter_t *OpenAPI_data_filter_parseFromJSON(cJSON *data_filterJSON) } OpenAPI_list_add(ue_ipv6sList , ogs_strdup_or_assert(ue_ipv6s_local->valuestring)); } -} + } cJSON *ue_macs = cJSON_GetObjectItemCaseSensitive(data_filterJSON, "ueMacs"); @@ -406,7 +406,7 @@ OpenAPI_data_filter_t *OpenAPI_data_filter_parseFromJSON(cJSON *data_filterJSON) } OpenAPI_list_add(ue_macsList , ogs_strdup_or_assert(ue_macs_local->valuestring)); } -} + } data_filter_local_var = OpenAPI_data_filter_create ( data_ind_local_nonprim, diff --git a/lib/sbi/openapi/model/datalink_reporting_configuration.c b/lib/sbi/openapi/model/datalink_reporting_configuration.c index 3d97a52dd..2ccbd5e2d 100644 --- a/lib/sbi/openapi/model/datalink_reporting_configuration.c +++ b/lib/sbi/openapi/model/datalink_reporting_configuration.c @@ -132,7 +132,7 @@ OpenAPI_datalink_reporting_configuration_t *OpenAPI_datalink_reporting_configura OpenAPI_list_add(ddd_traffic_desList, ddd_traffic_desItem); } -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(datalink_reporting_configurationJSON, "dnn"); @@ -141,14 +141,14 @@ OpenAPI_datalink_reporting_configuration_t *OpenAPI_datalink_reporting_configura ogs_error("OpenAPI_datalink_reporting_configuration_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *slice = cJSON_GetObjectItemCaseSensitive(datalink_reporting_configurationJSON, "slice"); OpenAPI_snssai_t *slice_local_nonprim = NULL; if (slice) { slice_local_nonprim = OpenAPI_snssai_parseFromJSON(slice); -} + } cJSON *ddd_status_list = cJSON_GetObjectItemCaseSensitive(datalink_reporting_configurationJSON, "dddStatusList"); @@ -170,7 +170,7 @@ OpenAPI_datalink_reporting_configuration_t *OpenAPI_datalink_reporting_configura OpenAPI_list_add(ddd_status_listList, (void *)OpenAPI_dl_data_delivery_status_FromString(ddd_status_list_local_nonprimitive->valuestring)); } -} + } datalink_reporting_configuration_local_var = OpenAPI_datalink_reporting_configuration_create ( ddd_traffic_des ? ddd_traffic_desList : NULL, diff --git a/lib/sbi/openapi/model/ddd_traffic_descriptor.c b/lib/sbi/openapi/model/ddd_traffic_descriptor.c index bf84cad7e..29cda82a0 100644 --- a/lib/sbi/openapi/model/ddd_traffic_descriptor.c +++ b/lib/sbi/openapi/model/ddd_traffic_descriptor.c @@ -87,7 +87,7 @@ OpenAPI_ddd_traffic_descriptor_t *OpenAPI_ddd_traffic_descriptor_parseFromJSON(c ogs_error("OpenAPI_ddd_traffic_descriptor_parseFromJSON() failed [ipv4_addr]"); goto end; } -} + } cJSON *ipv6_addr = cJSON_GetObjectItemCaseSensitive(ddd_traffic_descriptorJSON, "ipv6Addr"); @@ -96,7 +96,7 @@ OpenAPI_ddd_traffic_descriptor_t *OpenAPI_ddd_traffic_descriptor_parseFromJSON(c ogs_error("OpenAPI_ddd_traffic_descriptor_parseFromJSON() failed [ipv6_addr]"); goto end; } -} + } cJSON *port_number = cJSON_GetObjectItemCaseSensitive(ddd_traffic_descriptorJSON, "portNumber"); @@ -105,7 +105,7 @@ OpenAPI_ddd_traffic_descriptor_t *OpenAPI_ddd_traffic_descriptor_parseFromJSON(c ogs_error("OpenAPI_ddd_traffic_descriptor_parseFromJSON() failed [port_number]"); goto end; } -} + } cJSON *mac_addr = cJSON_GetObjectItemCaseSensitive(ddd_traffic_descriptorJSON, "macAddr"); @@ -114,7 +114,7 @@ OpenAPI_ddd_traffic_descriptor_t *OpenAPI_ddd_traffic_descriptor_parseFromJSON(c ogs_error("OpenAPI_ddd_traffic_descriptor_parseFromJSON() failed [mac_addr]"); goto end; } -} + } ddd_traffic_descriptor_local_var = OpenAPI_ddd_traffic_descriptor_create ( ipv4_addr ? ogs_strdup_or_assert(ipv4_addr->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/ddn_failure_sub_info.c b/lib/sbi/openapi/model/ddn_failure_sub_info.c index 90f16418e..c81101bfb 100644 --- a/lib/sbi/openapi/model/ddn_failure_sub_info.c +++ b/lib/sbi/openapi/model/ddn_failure_sub_info.c @@ -108,7 +108,7 @@ OpenAPI_ddn_failure_sub_info_t *OpenAPI_ddn_failure_sub_info_parseFromJSON(cJSON OpenAPI_list_add(ddd_traffic_descriptor_listList, ddd_traffic_descriptor_listItem); } -} + } ddn_failure_sub_info_local_var = OpenAPI_ddn_failure_sub_info_create ( ogs_strdup_or_assert(notify_correlation_id->valuestring), diff --git a/lib/sbi/openapi/model/ddn_failure_subs.c b/lib/sbi/openapi/model/ddn_failure_subs.c index 7774cfdd0..878b7292d 100644 --- a/lib/sbi/openapi/model/ddn_failure_subs.c +++ b/lib/sbi/openapi/model/ddn_failure_subs.c @@ -83,7 +83,7 @@ OpenAPI_ddn_failure_subs_t *OpenAPI_ddn_failure_subs_parseFromJSON(cJSON *ddn_fa ogs_error("OpenAPI_ddn_failure_subs_parseFromJSON() failed [ddn_failure_subs_ind]"); goto end; } -} + } cJSON *ddn_failure_subs_info_list = cJSON_GetObjectItemCaseSensitive(ddn_failure_subsJSON, "ddnFailureSubsInfoList"); @@ -106,7 +106,7 @@ OpenAPI_ddn_failure_subs_t *OpenAPI_ddn_failure_subs_parseFromJSON(cJSON *ddn_fa OpenAPI_list_add(ddn_failure_subs_info_listList, ddn_failure_subs_info_listItem); } -} + } ddn_failure_subs_local_var = OpenAPI_ddn_failure_subs_create ( ddn_failure_subs_ind ? ddn_failure_subs_ind->valueint : 0, diff --git a/lib/sbi/openapi/model/default_notification_subscription.c b/lib/sbi/openapi/model/default_notification_subscription.c index 89e1665b1..57309cef0 100644 --- a/lib/sbi/openapi/model/default_notification_subscription.c +++ b/lib/sbi/openapi/model/default_notification_subscription.c @@ -141,7 +141,7 @@ OpenAPI_default_notification_subscription_t *OpenAPI_default_notification_subscr goto end; } n1_message_classVariable = OpenAPI_n1_message_class_FromString(n1_message_class->valuestring); -} + } cJSON *n2_information_class = cJSON_GetObjectItemCaseSensitive(default_notification_subscriptionJSON, "n2InformationClass"); @@ -152,7 +152,7 @@ OpenAPI_default_notification_subscription_t *OpenAPI_default_notification_subscr goto end; } n2_information_classVariable = OpenAPI_n2_information_class_FromString(n2_information_class->valuestring); -} + } cJSON *versions = cJSON_GetObjectItemCaseSensitive(default_notification_subscriptionJSON, "versions"); @@ -172,7 +172,7 @@ OpenAPI_default_notification_subscription_t *OpenAPI_default_notification_subscr } OpenAPI_list_add(versionsList , ogs_strdup_or_assert(versions_local->valuestring)); } -} + } cJSON *binding = cJSON_GetObjectItemCaseSensitive(default_notification_subscriptionJSON, "binding"); @@ -181,7 +181,7 @@ OpenAPI_default_notification_subscription_t *OpenAPI_default_notification_subscr ogs_error("OpenAPI_default_notification_subscription_parseFromJSON() failed [binding]"); goto end; } -} + } default_notification_subscription_local_var = OpenAPI_default_notification_subscription_create ( notification_typeVariable, diff --git a/lib/sbi/openapi/model/default_unrelated_class.c b/lib/sbi/openapi/model/default_unrelated_class.c index 8d4ecbb93..6f539e36d 100644 --- a/lib/sbi/openapi/model/default_unrelated_class.c +++ b/lib/sbi/openapi/model/default_unrelated_class.c @@ -144,7 +144,7 @@ OpenAPI_default_unrelated_class_t *OpenAPI_default_unrelated_class_parseFromJSON OpenAPI_list_add(allowed_geographic_areaList, allowed_geographic_areaItem); } -} + } cJSON *privacy_check_related_action = cJSON_GetObjectItemCaseSensitive(default_unrelated_classJSON, "privacyCheckRelatedAction"); @@ -155,7 +155,7 @@ OpenAPI_default_unrelated_class_t *OpenAPI_default_unrelated_class_parseFromJSON goto end; } privacy_check_related_actionVariable = OpenAPI_privacy_check_related_action_FromString(privacy_check_related_action->valuestring); -} + } cJSON *code_word_ind = cJSON_GetObjectItemCaseSensitive(default_unrelated_classJSON, "codeWordInd"); @@ -166,14 +166,14 @@ OpenAPI_default_unrelated_class_t *OpenAPI_default_unrelated_class_parseFromJSON goto end; } code_word_indVariable = OpenAPI_code_word_ind_FromString(code_word_ind->valuestring); -} + } cJSON *valid_time_period = cJSON_GetObjectItemCaseSensitive(default_unrelated_classJSON, "validTimePeriod"); OpenAPI_valid_time_period_t *valid_time_period_local_nonprim = NULL; if (valid_time_period) { valid_time_period_local_nonprim = OpenAPI_valid_time_period_parseFromJSON(valid_time_period); -} + } cJSON *code_word_list = cJSON_GetObjectItemCaseSensitive(default_unrelated_classJSON, "codeWordList"); @@ -193,7 +193,7 @@ OpenAPI_default_unrelated_class_t *OpenAPI_default_unrelated_class_parseFromJSON } OpenAPI_list_add(code_word_listList , ogs_strdup_or_assert(code_word_list_local->valuestring)); } -} + } default_unrelated_class_local_var = OpenAPI_default_unrelated_class_create ( allowed_geographic_area ? allowed_geographic_areaList : NULL, diff --git a/lib/sbi/openapi/model/default_unrelated_class_1.c b/lib/sbi/openapi/model/default_unrelated_class_1.c index bdb373205..a42dcfa57 100644 --- a/lib/sbi/openapi/model/default_unrelated_class_1.c +++ b/lib/sbi/openapi/model/default_unrelated_class_1.c @@ -144,7 +144,7 @@ OpenAPI_default_unrelated_class_1_t *OpenAPI_default_unrelated_class_1_parseFrom OpenAPI_list_add(allowed_geographic_areaList, allowed_geographic_areaItem); } -} + } cJSON *privacy_check_related_action = cJSON_GetObjectItemCaseSensitive(default_unrelated_class_1JSON, "privacyCheckRelatedAction"); @@ -155,7 +155,7 @@ OpenAPI_default_unrelated_class_1_t *OpenAPI_default_unrelated_class_1_parseFrom goto end; } privacy_check_related_actionVariable = OpenAPI_privacy_check_related_action_FromString(privacy_check_related_action->valuestring); -} + } cJSON *code_word_ind = cJSON_GetObjectItemCaseSensitive(default_unrelated_class_1JSON, "codeWordInd"); @@ -166,14 +166,14 @@ OpenAPI_default_unrelated_class_1_t *OpenAPI_default_unrelated_class_1_parseFrom goto end; } code_word_indVariable = OpenAPI_code_word_ind_FromString(code_word_ind->valuestring); -} + } cJSON *valid_time_period = cJSON_GetObjectItemCaseSensitive(default_unrelated_class_1JSON, "validTimePeriod"); OpenAPI_valid_time_period_1_t *valid_time_period_local_nonprim = NULL; if (valid_time_period) { valid_time_period_local_nonprim = OpenAPI_valid_time_period_1_parseFromJSON(valid_time_period); -} + } cJSON *code_word_list = cJSON_GetObjectItemCaseSensitive(default_unrelated_class_1JSON, "codeWordList"); @@ -193,7 +193,7 @@ OpenAPI_default_unrelated_class_1_t *OpenAPI_default_unrelated_class_1_parseFrom } OpenAPI_list_add(code_word_listList , ogs_strdup_or_assert(code_word_list_local->valuestring)); } -} + } default_unrelated_class_1_local_var = OpenAPI_default_unrelated_class_1_create ( allowed_geographic_area ? allowed_geographic_areaList : NULL, diff --git a/lib/sbi/openapi/model/deregistration_data.c b/lib/sbi/openapi/model/deregistration_data.c index d5e053aa8..1f98a171d 100644 --- a/lib/sbi/openapi/model/deregistration_data.c +++ b/lib/sbi/openapi/model/deregistration_data.c @@ -99,7 +99,7 @@ OpenAPI_deregistration_data_t *OpenAPI_deregistration_data_parseFromJSON(cJSON * goto end; } access_typeVariable = OpenAPI_access_type_FromString(access_type->valuestring); -} + } cJSON *pdu_session_id = cJSON_GetObjectItemCaseSensitive(deregistration_dataJSON, "pduSessionId"); @@ -108,7 +108,7 @@ OpenAPI_deregistration_data_t *OpenAPI_deregistration_data_parseFromJSON(cJSON * ogs_error("OpenAPI_deregistration_data_parseFromJSON() failed [pdu_session_id]"); goto end; } -} + } cJSON *new_smf_instance_id = cJSON_GetObjectItemCaseSensitive(deregistration_dataJSON, "newSmfInstanceId"); @@ -117,7 +117,7 @@ OpenAPI_deregistration_data_t *OpenAPI_deregistration_data_parseFromJSON(cJSON * ogs_error("OpenAPI_deregistration_data_parseFromJSON() failed [new_smf_instance_id]"); goto end; } -} + } deregistration_data_local_var = OpenAPI_deregistration_data_create ( dereg_reasonVariable, diff --git a/lib/sbi/openapi/model/deregistration_info.c b/lib/sbi/openapi/model/deregistration_info.c index 02b15562a..6257c44ae 100644 --- a/lib/sbi/openapi/model/deregistration_info.c +++ b/lib/sbi/openapi/model/deregistration_info.c @@ -78,7 +78,7 @@ OpenAPI_deregistration_info_t *OpenAPI_deregistration_info_parseFromJSON(cJSON * ogs_error("OpenAPI_deregistration_info_parseFromJSON() failed [supported_features]"); goto end; } -} + } deregistration_info_local_var = OpenAPI_deregistration_info_create ( ogs_strdup_or_assert(supi->valuestring), diff --git a/lib/sbi/openapi/model/dnai_information.c b/lib/sbi/openapi/model/dnai_information.c index d34406d43..fd5053d28 100644 --- a/lib/sbi/openapi/model/dnai_information.c +++ b/lib/sbi/openapi/model/dnai_information.c @@ -86,7 +86,7 @@ OpenAPI_dnai_information_t *OpenAPI_dnai_information_parseFromJSON(cJSON *dnai_i ogs_error("OpenAPI_dnai_information_parseFromJSON() failed [no_dnai_change_ind]"); goto end; } -} + } cJSON *no_local_psa_change_ind = cJSON_GetObjectItemCaseSensitive(dnai_informationJSON, "noLocalPsaChangeInd"); @@ -95,7 +95,7 @@ OpenAPI_dnai_information_t *OpenAPI_dnai_information_parseFromJSON(cJSON *dnai_i ogs_error("OpenAPI_dnai_information_parseFromJSON() failed [no_local_psa_change_ind]"); goto end; } -} + } dnai_information_local_var = OpenAPI_dnai_information_create ( ogs_strdup_or_assert(dnai->valuestring), diff --git a/lib/sbi/openapi/model/dnn_configuration.c b/lib/sbi/openapi/model/dnn_configuration.c index d56249027..a5b5f2740 100644 --- a/lib/sbi/openapi/model/dnn_configuration.c +++ b/lib/sbi/openapi/model/dnn_configuration.c @@ -354,21 +354,21 @@ OpenAPI_dnn_configuration_t *OpenAPI_dnn_configuration_parseFromJSON(cJSON *dnn_ ogs_error("OpenAPI_dnn_configuration_parseFromJSON() failed [iwk_eps_ind]"); goto end; } -} + } cJSON *_5g_qos_profile = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "5gQosProfile"); OpenAPI_subscribed_default_qos_t *_5g_qos_profile_local_nonprim = NULL; if (_5g_qos_profile) { _5g_qos_profile_local_nonprim = OpenAPI_subscribed_default_qos_parseFromJSON(_5g_qos_profile); -} + } cJSON *session_ambr = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "sessionAmbr"); OpenAPI_ambr_t *session_ambr_local_nonprim = NULL; if (session_ambr) { session_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(session_ambr); -} + } cJSON *_3gpp_charging_characteristics = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "3gppChargingCharacteristics"); @@ -377,7 +377,7 @@ OpenAPI_dnn_configuration_t *OpenAPI_dnn_configuration_parseFromJSON(cJSON *dnn_ ogs_error("OpenAPI_dnn_configuration_parseFromJSON() failed [_3gpp_charging_characteristics]"); goto end; } -} + } cJSON *static_ip_address = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "staticIpAddress"); @@ -400,14 +400,14 @@ OpenAPI_dnn_configuration_t *OpenAPI_dnn_configuration_parseFromJSON(cJSON *dnn_ OpenAPI_list_add(static_ip_addressList, static_ip_addressItem); } -} + } cJSON *up_security = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "upSecurity"); OpenAPI_up_security_t *up_security_local_nonprim = NULL; if (up_security) { up_security_local_nonprim = OpenAPI_up_security_parseFromJSON(up_security); -} + } cJSON *pdu_session_continuity_ind = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "pduSessionContinuityInd"); @@ -418,7 +418,7 @@ OpenAPI_dnn_configuration_t *OpenAPI_dnn_configuration_parseFromJSON(cJSON *dnn_ goto end; } pdu_session_continuity_indVariable = OpenAPI_pdu_session_continuity_ind_FromString(pdu_session_continuity_ind->valuestring); -} + } cJSON *nidd_nef_id = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "niddNefId"); @@ -427,14 +427,14 @@ OpenAPI_dnn_configuration_t *OpenAPI_dnn_configuration_parseFromJSON(cJSON *dnn_ ogs_error("OpenAPI_dnn_configuration_parseFromJSON() failed [nidd_nef_id]"); goto end; } -} + } cJSON *nidd_info = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "niddInfo"); OpenAPI_nidd_information_t *nidd_info_local_nonprim = NULL; if (nidd_info) { nidd_info_local_nonprim = OpenAPI_nidd_information_parseFromJSON(nidd_info); -} + } cJSON *redundant_session_allowed = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "redundantSessionAllowed"); @@ -443,14 +443,14 @@ OpenAPI_dnn_configuration_t *OpenAPI_dnn_configuration_parseFromJSON(cJSON *dnn_ ogs_error("OpenAPI_dnn_configuration_parseFromJSON() failed [redundant_session_allowed]"); goto end; } -} + } cJSON *acs_info = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "acsInfo"); OpenAPI_acs_info_t *acs_info_local_nonprim = NULL; if (acs_info) { acs_info_local_nonprim = OpenAPI_acs_info_parseFromJSON(acs_info); -} + } cJSON *ipv4_frame_route_list = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "ipv4FrameRouteList"); @@ -473,7 +473,7 @@ OpenAPI_dnn_configuration_t *OpenAPI_dnn_configuration_parseFromJSON(cJSON *dnn_ OpenAPI_list_add(ipv4_frame_route_listList, ipv4_frame_route_listItem); } -} + } cJSON *ipv6_frame_route_list = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "ipv6FrameRouteList"); @@ -496,7 +496,7 @@ OpenAPI_dnn_configuration_t *OpenAPI_dnn_configuration_parseFromJSON(cJSON *dnn_ OpenAPI_list_add(ipv6_frame_route_listList, ipv6_frame_route_listItem); } -} + } cJSON *atsss_allowed = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "atsssAllowed"); @@ -505,7 +505,7 @@ OpenAPI_dnn_configuration_t *OpenAPI_dnn_configuration_parseFromJSON(cJSON *dnn_ ogs_error("OpenAPI_dnn_configuration_parseFromJSON() failed [atsss_allowed]"); goto end; } -} + } cJSON *secondary_auth = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "secondaryAuth"); @@ -514,7 +514,7 @@ OpenAPI_dnn_configuration_t *OpenAPI_dnn_configuration_parseFromJSON(cJSON *dnn_ ogs_error("OpenAPI_dnn_configuration_parseFromJSON() failed [secondary_auth]"); goto end; } -} + } cJSON *dn_aaa_ip_address_allocation = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "dnAaaIpAddressAllocation"); @@ -523,14 +523,14 @@ OpenAPI_dnn_configuration_t *OpenAPI_dnn_configuration_parseFromJSON(cJSON *dnn_ ogs_error("OpenAPI_dnn_configuration_parseFromJSON() failed [dn_aaa_ip_address_allocation]"); goto end; } -} + } cJSON *dn_aaa_address = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "dnAaaAddress"); OpenAPI_ip_address_t *dn_aaa_address_local_nonprim = NULL; if (dn_aaa_address) { dn_aaa_address_local_nonprim = OpenAPI_ip_address_parseFromJSON(dn_aaa_address); -} + } cJSON *iptv_acc_ctrl_info = cJSON_GetObjectItemCaseSensitive(dnn_configurationJSON, "iptvAccCtrlInfo"); @@ -539,7 +539,7 @@ OpenAPI_dnn_configuration_t *OpenAPI_dnn_configuration_parseFromJSON(cJSON *dnn_ ogs_error("OpenAPI_dnn_configuration_parseFromJSON() failed [iptv_acc_ctrl_info]"); goto end; } -} + } dnn_configuration_local_var = OpenAPI_dnn_configuration_create ( pdu_session_types_local_nonprim, diff --git a/lib/sbi/openapi/model/dnn_configuration_1.c b/lib/sbi/openapi/model/dnn_configuration_1.c index 8d9dbcbe9..d193e3065 100644 --- a/lib/sbi/openapi/model/dnn_configuration_1.c +++ b/lib/sbi/openapi/model/dnn_configuration_1.c @@ -354,21 +354,21 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_parseFromJSON(cJSON * ogs_error("OpenAPI_dnn_configuration_1_parseFromJSON() failed [iwk_eps_ind]"); goto end; } -} + } cJSON *_5g_qos_profile = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "5gQosProfile"); OpenAPI_subscribed_default_qos_1_t *_5g_qos_profile_local_nonprim = NULL; if (_5g_qos_profile) { _5g_qos_profile_local_nonprim = OpenAPI_subscribed_default_qos_1_parseFromJSON(_5g_qos_profile); -} + } cJSON *session_ambr = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "sessionAmbr"); OpenAPI_ambr_1_t *session_ambr_local_nonprim = NULL; if (session_ambr) { session_ambr_local_nonprim = OpenAPI_ambr_1_parseFromJSON(session_ambr); -} + } cJSON *_3gpp_charging_characteristics = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "3gppChargingCharacteristics"); @@ -377,7 +377,7 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_parseFromJSON(cJSON * ogs_error("OpenAPI_dnn_configuration_1_parseFromJSON() failed [_3gpp_charging_characteristics]"); goto end; } -} + } cJSON *static_ip_address = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "staticIpAddress"); @@ -400,14 +400,14 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_parseFromJSON(cJSON * OpenAPI_list_add(static_ip_addressList, static_ip_addressItem); } -} + } cJSON *up_security = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "upSecurity"); OpenAPI_up_security_1_t *up_security_local_nonprim = NULL; if (up_security) { up_security_local_nonprim = OpenAPI_up_security_1_parseFromJSON(up_security); -} + } cJSON *pdu_session_continuity_ind = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "pduSessionContinuityInd"); @@ -418,7 +418,7 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_parseFromJSON(cJSON * goto end; } pdu_session_continuity_indVariable = OpenAPI_pdu_session_continuity_ind_FromString(pdu_session_continuity_ind->valuestring); -} + } cJSON *nidd_nef_id = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "niddNefId"); @@ -427,14 +427,14 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_parseFromJSON(cJSON * ogs_error("OpenAPI_dnn_configuration_1_parseFromJSON() failed [nidd_nef_id]"); goto end; } -} + } cJSON *nidd_info = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "niddInfo"); OpenAPI_nidd_information_1_t *nidd_info_local_nonprim = NULL; if (nidd_info) { nidd_info_local_nonprim = OpenAPI_nidd_information_1_parseFromJSON(nidd_info); -} + } cJSON *redundant_session_allowed = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "redundantSessionAllowed"); @@ -443,14 +443,14 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_parseFromJSON(cJSON * ogs_error("OpenAPI_dnn_configuration_1_parseFromJSON() failed [redundant_session_allowed]"); goto end; } -} + } cJSON *acs_info = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "acsInfo"); OpenAPI_acs_info_1_t *acs_info_local_nonprim = NULL; if (acs_info) { acs_info_local_nonprim = OpenAPI_acs_info_1_parseFromJSON(acs_info); -} + } cJSON *ipv4_frame_route_list = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "ipv4FrameRouteList"); @@ -473,7 +473,7 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_parseFromJSON(cJSON * OpenAPI_list_add(ipv4_frame_route_listList, ipv4_frame_route_listItem); } -} + } cJSON *ipv6_frame_route_list = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "ipv6FrameRouteList"); @@ -496,7 +496,7 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_parseFromJSON(cJSON * OpenAPI_list_add(ipv6_frame_route_listList, ipv6_frame_route_listItem); } -} + } cJSON *atsss_allowed = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "atsssAllowed"); @@ -505,7 +505,7 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_parseFromJSON(cJSON * ogs_error("OpenAPI_dnn_configuration_1_parseFromJSON() failed [atsss_allowed]"); goto end; } -} + } cJSON *secondary_auth = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "secondaryAuth"); @@ -514,7 +514,7 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_parseFromJSON(cJSON * ogs_error("OpenAPI_dnn_configuration_1_parseFromJSON() failed [secondary_auth]"); goto end; } -} + } cJSON *dn_aaa_ip_address_allocation = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "dnAaaIpAddressAllocation"); @@ -523,14 +523,14 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_parseFromJSON(cJSON * ogs_error("OpenAPI_dnn_configuration_1_parseFromJSON() failed [dn_aaa_ip_address_allocation]"); goto end; } -} + } cJSON *dn_aaa_address = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "dnAaaAddress"); OpenAPI_ip_address_1_t *dn_aaa_address_local_nonprim = NULL; if (dn_aaa_address) { dn_aaa_address_local_nonprim = OpenAPI_ip_address_1_parseFromJSON(dn_aaa_address); -} + } cJSON *iptv_acc_ctrl_info = cJSON_GetObjectItemCaseSensitive(dnn_configuration_1JSON, "iptvAccCtrlInfo"); @@ -539,7 +539,7 @@ OpenAPI_dnn_configuration_1_t *OpenAPI_dnn_configuration_1_parseFromJSON(cJSON * ogs_error("OpenAPI_dnn_configuration_1_parseFromJSON() failed [iptv_acc_ctrl_info]"); goto end; } -} + } dnn_configuration_1_local_var = OpenAPI_dnn_configuration_1_create ( pdu_session_types_local_nonprim, diff --git a/lib/sbi/openapi/model/dnn_info.c b/lib/sbi/openapi/model/dnn_info.c index 0245f37c5..cd46b114a 100644 --- a/lib/sbi/openapi/model/dnn_info.c +++ b/lib/sbi/openapi/model/dnn_info.c @@ -144,7 +144,7 @@ OpenAPI_dnn_info_t *OpenAPI_dnn_info_parseFromJSON(cJSON *dnn_infoJSON) ogs_error("OpenAPI_dnn_info_parseFromJSON() failed [default_dnn_indicator]"); goto end; } -} + } cJSON *lbo_roaming_allowed = cJSON_GetObjectItemCaseSensitive(dnn_infoJSON, "lboRoamingAllowed"); @@ -153,7 +153,7 @@ OpenAPI_dnn_info_t *OpenAPI_dnn_info_parseFromJSON(cJSON *dnn_infoJSON) ogs_error("OpenAPI_dnn_info_parseFromJSON() failed [lbo_roaming_allowed]"); goto end; } -} + } cJSON *iwk_eps_ind = cJSON_GetObjectItemCaseSensitive(dnn_infoJSON, "iwkEpsInd"); @@ -162,7 +162,7 @@ OpenAPI_dnn_info_t *OpenAPI_dnn_info_parseFromJSON(cJSON *dnn_infoJSON) ogs_error("OpenAPI_dnn_info_parseFromJSON() failed [iwk_eps_ind]"); goto end; } -} + } cJSON *dnn_barred = cJSON_GetObjectItemCaseSensitive(dnn_infoJSON, "dnnBarred"); @@ -171,7 +171,7 @@ OpenAPI_dnn_info_t *OpenAPI_dnn_info_parseFromJSON(cJSON *dnn_infoJSON) ogs_error("OpenAPI_dnn_info_parseFromJSON() failed [dnn_barred]"); goto end; } -} + } cJSON *invoke_nef_ind = cJSON_GetObjectItemCaseSensitive(dnn_infoJSON, "invokeNefInd"); @@ -180,7 +180,7 @@ OpenAPI_dnn_info_t *OpenAPI_dnn_info_parseFromJSON(cJSON *dnn_infoJSON) ogs_error("OpenAPI_dnn_info_parseFromJSON() failed [invoke_nef_ind]"); goto end; } -} + } cJSON *smf_list = cJSON_GetObjectItemCaseSensitive(dnn_infoJSON, "smfList"); @@ -200,7 +200,7 @@ OpenAPI_dnn_info_t *OpenAPI_dnn_info_parseFromJSON(cJSON *dnn_infoJSON) } OpenAPI_list_add(smf_listList , ogs_strdup_or_assert(smf_list_local->valuestring)); } -} + } cJSON *same_smf_ind = cJSON_GetObjectItemCaseSensitive(dnn_infoJSON, "sameSmfInd"); @@ -209,7 +209,7 @@ OpenAPI_dnn_info_t *OpenAPI_dnn_info_parseFromJSON(cJSON *dnn_infoJSON) ogs_error("OpenAPI_dnn_info_parseFromJSON() failed [same_smf_ind]"); goto end; } -} + } dnn_info_local_var = OpenAPI_dnn_info_create ( ogs_strdup_or_assert(dnn->valuestring), diff --git a/lib/sbi/openapi/model/dnn_route_selection_descriptor.c b/lib/sbi/openapi/model/dnn_route_selection_descriptor.c index 9ef8a82ea..3eadf9de5 100644 --- a/lib/sbi/openapi/model/dnn_route_selection_descriptor.c +++ b/lib/sbi/openapi/model/dnn_route_selection_descriptor.c @@ -126,7 +126,7 @@ OpenAPI_dnn_route_selection_descriptor_t *OpenAPI_dnn_route_selection_descriptor OpenAPI_list_add(ssc_modesList, (void *)OpenAPI_ssc_mode_FromString(ssc_modes_local_nonprimitive->valuestring)); } -} + } cJSON *pdu_sess_types = cJSON_GetObjectItemCaseSensitive(dnn_route_selection_descriptorJSON, "pduSessTypes"); @@ -148,7 +148,7 @@ OpenAPI_dnn_route_selection_descriptor_t *OpenAPI_dnn_route_selection_descriptor OpenAPI_list_add(pdu_sess_typesList, (void *)OpenAPI_pdu_session_type_FromString(pdu_sess_types_local_nonprimitive->valuestring)); } -} + } cJSON *atsss_info = cJSON_GetObjectItemCaseSensitive(dnn_route_selection_descriptorJSON, "atsssInfo"); @@ -157,7 +157,7 @@ OpenAPI_dnn_route_selection_descriptor_t *OpenAPI_dnn_route_selection_descriptor ogs_error("OpenAPI_dnn_route_selection_descriptor_parseFromJSON() failed [atsss_info]"); goto end; } -} + } dnn_route_selection_descriptor_local_var = OpenAPI_dnn_route_selection_descriptor_create ( ogs_strdup_or_assert(dnn->valuestring), diff --git a/lib/sbi/openapi/model/dnn_upf_info_item.c b/lib/sbi/openapi/model/dnn_upf_info_item.c index 1a5f03d73..30bf86aca 100644 --- a/lib/sbi/openapi/model/dnn_upf_info_item.c +++ b/lib/sbi/openapi/model/dnn_upf_info_item.c @@ -194,7 +194,7 @@ OpenAPI_dnn_upf_info_item_t *OpenAPI_dnn_upf_info_item_parseFromJSON(cJSON *dnn_ } OpenAPI_list_add(dnai_listList , ogs_strdup_or_assert(dnai_list_local->valuestring)); } -} + } cJSON *pdu_session_types = cJSON_GetObjectItemCaseSensitive(dnn_upf_info_itemJSON, "pduSessionTypes"); @@ -216,7 +216,7 @@ OpenAPI_dnn_upf_info_item_t *OpenAPI_dnn_upf_info_item_parseFromJSON(cJSON *dnn_ OpenAPI_list_add(pdu_session_typesList, (void *)OpenAPI_pdu_session_type_FromString(pdu_session_types_local_nonprimitive->valuestring)); } -} + } cJSON *ipv4_address_ranges = cJSON_GetObjectItemCaseSensitive(dnn_upf_info_itemJSON, "ipv4AddressRanges"); @@ -239,7 +239,7 @@ OpenAPI_dnn_upf_info_item_t *OpenAPI_dnn_upf_info_item_parseFromJSON(cJSON *dnn_ OpenAPI_list_add(ipv4_address_rangesList, ipv4_address_rangesItem); } -} + } cJSON *ipv6_prefix_ranges = cJSON_GetObjectItemCaseSensitive(dnn_upf_info_itemJSON, "ipv6PrefixRanges"); @@ -262,7 +262,7 @@ OpenAPI_dnn_upf_info_item_t *OpenAPI_dnn_upf_info_item_parseFromJSON(cJSON *dnn_ OpenAPI_list_add(ipv6_prefix_rangesList, ipv6_prefix_rangesItem); } -} + } cJSON *dnai_nw_instance_list = cJSON_GetObjectItemCaseSensitive(dnn_upf_info_itemJSON, "dnaiNwInstanceList"); @@ -279,7 +279,7 @@ OpenAPI_dnn_upf_info_item_t *OpenAPI_dnn_upf_info_item_parseFromJSON(cJSON *dnn_ cJSON *localMapObject = dnai_nw_instance_list_local_map; OpenAPI_list_add(dnai_nw_instance_listList , localMapKeyPair); } -} + } dnn_upf_info_item_local_var = OpenAPI_dnn_upf_info_item_create ( ogs_strdup_or_assert(dnn->valuestring), diff --git a/lib/sbi/openapi/model/downlink_data_notification_control.c b/lib/sbi/openapi/model/downlink_data_notification_control.c index db1efcbc4..4217348de 100644 --- a/lib/sbi/openapi/model/downlink_data_notification_control.c +++ b/lib/sbi/openapi/model/downlink_data_notification_control.c @@ -97,7 +97,7 @@ OpenAPI_downlink_data_notification_control_t *OpenAPI_downlink_data_notification OpenAPI_list_add(notif_ctrl_indsList, (void *)OpenAPI_notification_control_indication_FromString(notif_ctrl_inds_local_nonprimitive->valuestring)); } -} + } cJSON *types_of_notif = cJSON_GetObjectItemCaseSensitive(downlink_data_notification_controlJSON, "typesOfNotif"); @@ -119,7 +119,7 @@ OpenAPI_downlink_data_notification_control_t *OpenAPI_downlink_data_notification OpenAPI_list_add(types_of_notifList, (void *)OpenAPI_dl_data_delivery_status_FromString(types_of_notif_local_nonprimitive->valuestring)); } -} + } downlink_data_notification_control_local_var = OpenAPI_downlink_data_notification_control_create ( notif_ctrl_inds ? notif_ctrl_indsList : NULL, diff --git a/lib/sbi/openapi/model/downlink_data_notification_control_rm.c b/lib/sbi/openapi/model/downlink_data_notification_control_rm.c index ec68062ee..60d8adcd2 100644 --- a/lib/sbi/openapi/model/downlink_data_notification_control_rm.c +++ b/lib/sbi/openapi/model/downlink_data_notification_control_rm.c @@ -97,7 +97,7 @@ OpenAPI_downlink_data_notification_control_rm_t *OpenAPI_downlink_data_notificat OpenAPI_list_add(notif_ctrl_indsList, (void *)OpenAPI_notification_control_indication_FromString(notif_ctrl_inds_local_nonprimitive->valuestring)); } -} + } cJSON *types_of_notif = cJSON_GetObjectItemCaseSensitive(downlink_data_notification_control_rmJSON, "typesOfNotif"); @@ -119,7 +119,7 @@ OpenAPI_downlink_data_notification_control_rm_t *OpenAPI_downlink_data_notificat OpenAPI_list_add(types_of_notifList, (void *)OpenAPI_dl_data_delivery_status_FromString(types_of_notif_local_nonprimitive->valuestring)); } -} + } downlink_data_notification_control_rm_local_var = OpenAPI_downlink_data_notification_control_rm_create ( notif_ctrl_inds ? notif_ctrl_indsList : NULL, diff --git a/lib/sbi/openapi/model/dynamic5_qi.c b/lib/sbi/openapi/model/dynamic5_qi.c index 9f1bc9e2d..d8d60394d 100644 --- a/lib/sbi/openapi/model/dynamic5_qi.c +++ b/lib/sbi/openapi/model/dynamic5_qi.c @@ -181,7 +181,7 @@ OpenAPI_dynamic5_qi_t *OpenAPI_dynamic5_qi_parseFromJSON(cJSON *dynamic5_qiJSON) ogs_error("OpenAPI_dynamic5_qi_parseFromJSON() failed [aver_window]"); goto end; } -} + } cJSON *max_data_burst_vol = cJSON_GetObjectItemCaseSensitive(dynamic5_qiJSON, "maxDataBurstVol"); @@ -190,7 +190,7 @@ OpenAPI_dynamic5_qi_t *OpenAPI_dynamic5_qi_parseFromJSON(cJSON *dynamic5_qiJSON) ogs_error("OpenAPI_dynamic5_qi_parseFromJSON() failed [max_data_burst_vol]"); goto end; } -} + } cJSON *ext_max_data_burst_vol = cJSON_GetObjectItemCaseSensitive(dynamic5_qiJSON, "extMaxDataBurstVol"); @@ -199,7 +199,7 @@ OpenAPI_dynamic5_qi_t *OpenAPI_dynamic5_qi_parseFromJSON(cJSON *dynamic5_qiJSON) ogs_error("OpenAPI_dynamic5_qi_parseFromJSON() failed [ext_max_data_burst_vol]"); goto end; } -} + } cJSON *ext_packet_del_budget = cJSON_GetObjectItemCaseSensitive(dynamic5_qiJSON, "extPacketDelBudget"); @@ -208,7 +208,7 @@ OpenAPI_dynamic5_qi_t *OpenAPI_dynamic5_qi_parseFromJSON(cJSON *dynamic5_qiJSON) ogs_error("OpenAPI_dynamic5_qi_parseFromJSON() failed [ext_packet_del_budget]"); goto end; } -} + } cJSON *cn_packet_delay_budget_dl = cJSON_GetObjectItemCaseSensitive(dynamic5_qiJSON, "cnPacketDelayBudgetDl"); @@ -217,7 +217,7 @@ OpenAPI_dynamic5_qi_t *OpenAPI_dynamic5_qi_parseFromJSON(cJSON *dynamic5_qiJSON) ogs_error("OpenAPI_dynamic5_qi_parseFromJSON() failed [cn_packet_delay_budget_dl]"); goto end; } -} + } cJSON *cn_packet_delay_budget_ul = cJSON_GetObjectItemCaseSensitive(dynamic5_qiJSON, "cnPacketDelayBudgetUl"); @@ -226,7 +226,7 @@ OpenAPI_dynamic5_qi_t *OpenAPI_dynamic5_qi_parseFromJSON(cJSON *dynamic5_qiJSON) ogs_error("OpenAPI_dynamic5_qi_parseFromJSON() failed [cn_packet_delay_budget_ul]"); goto end; } -} + } dynamic5_qi_local_var = OpenAPI_dynamic5_qi_create ( resource_typeVariable, diff --git a/lib/sbi/openapi/model/eap_session.c b/lib/sbi/openapi/model/eap_session.c index 61c47a4fe..5d91ac02d 100644 --- a/lib/sbi/openapi/model/eap_session.c +++ b/lib/sbi/openapi/model/eap_session.c @@ -136,7 +136,7 @@ OpenAPI_eap_session_t *OpenAPI_eap_session_parseFromJSON(cJSON *eap_sessionJSON) ogs_error("OpenAPI_eap_session_parseFromJSON() failed [k_seaf]"); goto end; } -} + } cJSON *_links = cJSON_GetObjectItemCaseSensitive(eap_sessionJSON, "_links"); @@ -159,7 +159,7 @@ OpenAPI_eap_session_t *OpenAPI_eap_session_parseFromJSON(cJSON *eap_sessionJSON) localMapObject->string, OpenAPI_links_value_schema_parseFromJSON(localMapObject)); OpenAPI_list_add(_linksList , localMapKeyPair); } -} + } cJSON *auth_result = cJSON_GetObjectItemCaseSensitive(eap_sessionJSON, "authResult"); @@ -170,7 +170,7 @@ OpenAPI_eap_session_t *OpenAPI_eap_session_parseFromJSON(cJSON *eap_sessionJSON) goto end; } auth_resultVariable = OpenAPI_auth_result_FromString(auth_result->valuestring); -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(eap_sessionJSON, "supi"); @@ -179,7 +179,7 @@ OpenAPI_eap_session_t *OpenAPI_eap_session_parseFromJSON(cJSON *eap_sessionJSON) ogs_error("OpenAPI_eap_session_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(eap_sessionJSON, "supportedFeatures"); @@ -188,7 +188,7 @@ OpenAPI_eap_session_t *OpenAPI_eap_session_parseFromJSON(cJSON *eap_sessionJSON) ogs_error("OpenAPI_eap_session_parseFromJSON() failed [supported_features]"); goto end; } -} + } eap_session_local_var = OpenAPI_eap_session_create ( ogs_strdup_or_assert(eap_payload->valuestring), diff --git a/lib/sbi/openapi/model/ec_restriction.c b/lib/sbi/openapi/model/ec_restriction.c index ba0ea5ef1..2dea67783 100644 --- a/lib/sbi/openapi/model/ec_restriction.c +++ b/lib/sbi/openapi/model/ec_restriction.c @@ -137,7 +137,7 @@ OpenAPI_ec_restriction_t *OpenAPI_ec_restriction_parseFromJSON(cJSON *ec_restric OpenAPI_list_add(plmn_ec_infosList, plmn_ec_infosItem); } -} + } cJSON *mtc_provider_information = cJSON_GetObjectItemCaseSensitive(ec_restrictionJSON, "mtcProviderInformation"); @@ -146,7 +146,7 @@ OpenAPI_ec_restriction_t *OpenAPI_ec_restriction_parseFromJSON(cJSON *ec_restric ogs_error("OpenAPI_ec_restriction_parseFromJSON() failed [mtc_provider_information]"); goto end; } -} + } ec_restriction_local_var = OpenAPI_ec_restriction_create ( ogs_strdup_or_assert(af_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/ec_restriction_data_wb.c b/lib/sbi/openapi/model/ec_restriction_data_wb.c index 3857f50ad..2f370c901 100644 --- a/lib/sbi/openapi/model/ec_restriction_data_wb.c +++ b/lib/sbi/openapi/model/ec_restriction_data_wb.c @@ -64,7 +64,7 @@ OpenAPI_ec_restriction_data_wb_t *OpenAPI_ec_restriction_data_wb_parseFromJSON(c ogs_error("OpenAPI_ec_restriction_data_wb_parseFromJSON() failed [ec_mode_a_restricted]"); goto end; } -} + } cJSON *ec_mode_b_restricted = cJSON_GetObjectItemCaseSensitive(ec_restriction_data_wbJSON, "ecModeBRestricted"); if (!ec_mode_b_restricted) { diff --git a/lib/sbi/openapi/model/ecgi.c b/lib/sbi/openapi/model/ecgi.c index 7624fc2aa..84ac6a29c 100644 --- a/lib/sbi/openapi/model/ecgi.c +++ b/lib/sbi/openapi/model/ecgi.c @@ -102,7 +102,7 @@ OpenAPI_ecgi_t *OpenAPI_ecgi_parseFromJSON(cJSON *ecgiJSON) ogs_error("OpenAPI_ecgi_parseFromJSON() failed [nid]"); goto end; } -} + } ecgi_local_var = OpenAPI_ecgi_create ( plmn_id_local_nonprim, diff --git a/lib/sbi/openapi/model/ecgi_1.c b/lib/sbi/openapi/model/ecgi_1.c index a7fadb04d..50cb4428d 100644 --- a/lib/sbi/openapi/model/ecgi_1.c +++ b/lib/sbi/openapi/model/ecgi_1.c @@ -102,7 +102,7 @@ OpenAPI_ecgi_1_t *OpenAPI_ecgi_1_parseFromJSON(cJSON *ecgi_1JSON) ogs_error("OpenAPI_ecgi_1_parseFromJSON() failed [nid]"); goto end; } -} + } ecgi_1_local_var = OpenAPI_ecgi_1_create ( plmn_id_local_nonprim, diff --git a/lib/sbi/openapi/model/ee_group_profile_data.c b/lib/sbi/openapi/model/ee_group_profile_data.c index c388e5641..ae601bfe1 100644 --- a/lib/sbi/openapi/model/ee_group_profile_data.c +++ b/lib/sbi/openapi/model/ee_group_profile_data.c @@ -121,7 +121,7 @@ OpenAPI_ee_group_profile_data_t *OpenAPI_ee_group_profile_data_parseFromJSON(cJS OpenAPI_list_add(restricted_event_typesList, restricted_event_typesItem); } -} + } cJSON *allowed_mtc_provider = cJSON_GetObjectItemCaseSensitive(ee_group_profile_dataJSON, "allowedMtcProvider"); @@ -138,7 +138,7 @@ OpenAPI_ee_group_profile_data_t *OpenAPI_ee_group_profile_data_parseFromJSON(cJS cJSON *localMapObject = allowed_mtc_provider_local_map; OpenAPI_list_add(allowed_mtc_providerList , localMapKeyPair); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(ee_group_profile_dataJSON, "supportedFeatures"); @@ -147,7 +147,7 @@ OpenAPI_ee_group_profile_data_t *OpenAPI_ee_group_profile_data_parseFromJSON(cJS ogs_error("OpenAPI_ee_group_profile_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } ee_group_profile_data_local_var = OpenAPI_ee_group_profile_data_create ( restricted_event_types ? restricted_event_typesList : NULL, diff --git a/lib/sbi/openapi/model/ee_profile_data.c b/lib/sbi/openapi/model/ee_profile_data.c index 235ebc7ea..a18b34a8b 100644 --- a/lib/sbi/openapi/model/ee_profile_data.c +++ b/lib/sbi/openapi/model/ee_profile_data.c @@ -121,7 +121,7 @@ OpenAPI_ee_profile_data_t *OpenAPI_ee_profile_data_parseFromJSON(cJSON *ee_profi OpenAPI_list_add(restricted_event_typesList, restricted_event_typesItem); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(ee_profile_dataJSON, "supportedFeatures"); @@ -130,7 +130,7 @@ OpenAPI_ee_profile_data_t *OpenAPI_ee_profile_data_parseFromJSON(cJSON *ee_profi ogs_error("OpenAPI_ee_profile_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *allowed_mtc_provider = cJSON_GetObjectItemCaseSensitive(ee_profile_dataJSON, "allowedMtcProvider"); @@ -147,7 +147,7 @@ OpenAPI_ee_profile_data_t *OpenAPI_ee_profile_data_parseFromJSON(cJSON *ee_profi cJSON *localMapObject = allowed_mtc_provider_local_map; OpenAPI_list_add(allowed_mtc_providerList , localMapKeyPair); } -} + } ee_profile_data_local_var = OpenAPI_ee_profile_data_create ( restricted_event_types ? restricted_event_typesList : NULL, diff --git a/lib/sbi/openapi/model/ee_subscription.c b/lib/sbi/openapi/model/ee_subscription.c index 1de6f7119..38213f278 100644 --- a/lib/sbi/openapi/model/ee_subscription.c +++ b/lib/sbi/openapi/model/ee_subscription.c @@ -210,7 +210,7 @@ OpenAPI_ee_subscription_t *OpenAPI_ee_subscription_parseFromJSON(cJSON *ee_subsc OpenAPI_reporting_options_t *reporting_options_local_nonprim = NULL; if (reporting_options) { reporting_options_local_nonprim = OpenAPI_reporting_options_parseFromJSON(reporting_options); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(ee_subscriptionJSON, "supportedFeatures"); @@ -219,7 +219,7 @@ OpenAPI_ee_subscription_t *OpenAPI_ee_subscription_parseFromJSON(cJSON *ee_subsc ogs_error("OpenAPI_ee_subscription_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *subscription_id = cJSON_GetObjectItemCaseSensitive(ee_subscriptionJSON, "subscriptionId"); @@ -228,14 +228,14 @@ OpenAPI_ee_subscription_t *OpenAPI_ee_subscription_parseFromJSON(cJSON *ee_subsc ogs_error("OpenAPI_ee_subscription_parseFromJSON() failed [subscription_id]"); goto end; } -} + } cJSON *context_info = cJSON_GetObjectItemCaseSensitive(ee_subscriptionJSON, "contextInfo"); OpenAPI_context_info_t *context_info_local_nonprim = NULL; if (context_info) { context_info_local_nonprim = OpenAPI_context_info_parseFromJSON(context_info); -} + } cJSON *epc_applied_ind = cJSON_GetObjectItemCaseSensitive(ee_subscriptionJSON, "epcAppliedInd"); @@ -244,7 +244,7 @@ OpenAPI_ee_subscription_t *OpenAPI_ee_subscription_parseFromJSON(cJSON *ee_subsc ogs_error("OpenAPI_ee_subscription_parseFromJSON() failed [epc_applied_ind]"); goto end; } -} + } cJSON *scef_diam_host = cJSON_GetObjectItemCaseSensitive(ee_subscriptionJSON, "scefDiamHost"); @@ -253,7 +253,7 @@ OpenAPI_ee_subscription_t *OpenAPI_ee_subscription_parseFromJSON(cJSON *ee_subsc ogs_error("OpenAPI_ee_subscription_parseFromJSON() failed [scef_diam_host]"); goto end; } -} + } cJSON *scef_diam_realm = cJSON_GetObjectItemCaseSensitive(ee_subscriptionJSON, "scefDiamRealm"); @@ -262,7 +262,7 @@ OpenAPI_ee_subscription_t *OpenAPI_ee_subscription_parseFromJSON(cJSON *ee_subsc ogs_error("OpenAPI_ee_subscription_parseFromJSON() failed [scef_diam_realm]"); goto end; } -} + } cJSON *notify_correlation_id = cJSON_GetObjectItemCaseSensitive(ee_subscriptionJSON, "notifyCorrelationId"); @@ -271,7 +271,7 @@ OpenAPI_ee_subscription_t *OpenAPI_ee_subscription_parseFromJSON(cJSON *ee_subsc ogs_error("OpenAPI_ee_subscription_parseFromJSON() failed [notify_correlation_id]"); goto end; } -} + } ee_subscription_local_var = OpenAPI_ee_subscription_create ( ogs_strdup_or_assert(callback_reference->valuestring), diff --git a/lib/sbi/openapi/model/emergency_info.c b/lib/sbi/openapi/model/emergency_info.c index 7b857e2d2..51f516037 100644 --- a/lib/sbi/openapi/model/emergency_info.c +++ b/lib/sbi/openapi/model/emergency_info.c @@ -93,14 +93,14 @@ OpenAPI_emergency_info_t *OpenAPI_emergency_info_parseFromJSON(cJSON *emergency_ ogs_error("OpenAPI_emergency_info_parseFromJSON() failed [pgw_fqdn]"); goto end; } -} + } cJSON *pgw_ip_address = cJSON_GetObjectItemCaseSensitive(emergency_infoJSON, "pgwIpAddress"); OpenAPI_ip_address_t *pgw_ip_address_local_nonprim = NULL; if (pgw_ip_address) { pgw_ip_address_local_nonprim = OpenAPI_ip_address_parseFromJSON(pgw_ip_address); -} + } cJSON *smf_instance_id = cJSON_GetObjectItemCaseSensitive(emergency_infoJSON, "smfInstanceId"); @@ -109,7 +109,7 @@ OpenAPI_emergency_info_t *OpenAPI_emergency_info_parseFromJSON(cJSON *emergency_ ogs_error("OpenAPI_emergency_info_parseFromJSON() failed [smf_instance_id]"); goto end; } -} + } cJSON *epdg_ind = cJSON_GetObjectItemCaseSensitive(emergency_infoJSON, "epdgInd"); @@ -118,7 +118,7 @@ OpenAPI_emergency_info_t *OpenAPI_emergency_info_parseFromJSON(cJSON *emergency_ ogs_error("OpenAPI_emergency_info_parseFromJSON() failed [epdg_ind]"); goto end; } -} + } emergency_info_local_var = OpenAPI_emergency_info_create ( pgw_fqdn ? ogs_strdup_or_assert(pgw_fqdn->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/emergency_info_1.c b/lib/sbi/openapi/model/emergency_info_1.c index 551884bc0..04bb551be 100644 --- a/lib/sbi/openapi/model/emergency_info_1.c +++ b/lib/sbi/openapi/model/emergency_info_1.c @@ -93,14 +93,14 @@ OpenAPI_emergency_info_1_t *OpenAPI_emergency_info_1_parseFromJSON(cJSON *emerge ogs_error("OpenAPI_emergency_info_1_parseFromJSON() failed [pgw_fqdn]"); goto end; } -} + } cJSON *pgw_ip_address = cJSON_GetObjectItemCaseSensitive(emergency_info_1JSON, "pgwIpAddress"); OpenAPI_ip_address_1_t *pgw_ip_address_local_nonprim = NULL; if (pgw_ip_address) { pgw_ip_address_local_nonprim = OpenAPI_ip_address_1_parseFromJSON(pgw_ip_address); -} + } cJSON *smf_instance_id = cJSON_GetObjectItemCaseSensitive(emergency_info_1JSON, "smfInstanceId"); @@ -109,7 +109,7 @@ OpenAPI_emergency_info_1_t *OpenAPI_emergency_info_1_parseFromJSON(cJSON *emerge ogs_error("OpenAPI_emergency_info_1_parseFromJSON() failed [smf_instance_id]"); goto end; } -} + } cJSON *epdg_ind = cJSON_GetObjectItemCaseSensitive(emergency_info_1JSON, "epdgInd"); @@ -118,7 +118,7 @@ OpenAPI_emergency_info_1_t *OpenAPI_emergency_info_1_parseFromJSON(cJSON *emerge ogs_error("OpenAPI_emergency_info_1_parseFromJSON() failed [epdg_ind]"); goto end; } -} + } emergency_info_1_local_var = OpenAPI_emergency_info_1_create ( pgw_fqdn ? ogs_strdup_or_assert(pgw_fqdn->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/enhanced_coverage_restriction_data.c b/lib/sbi/openapi/model/enhanced_coverage_restriction_data.c index 2c6c09000..518254395 100644 --- a/lib/sbi/openapi/model/enhanced_coverage_restriction_data.c +++ b/lib/sbi/openapi/model/enhanced_coverage_restriction_data.c @@ -88,7 +88,7 @@ OpenAPI_enhanced_coverage_restriction_data_t *OpenAPI_enhanced_coverage_restrict OpenAPI_list_add(plmn_ec_info_listList, plmn_ec_info_listItem); } -} + } enhanced_coverage_restriction_data_local_var = OpenAPI_enhanced_coverage_restriction_data_create ( plmn_ec_info_list ? plmn_ec_info_listList : NULL diff --git a/lib/sbi/openapi/model/eps_interworking_info.c b/lib/sbi/openapi/model/eps_interworking_info.c index ba8a96e25..a813c3857 100644 --- a/lib/sbi/openapi/model/eps_interworking_info.c +++ b/lib/sbi/openapi/model/eps_interworking_info.c @@ -91,7 +91,7 @@ OpenAPI_eps_interworking_info_t *OpenAPI_eps_interworking_info_parseFromJSON(cJS localMapObject->string, OpenAPI_eps_iwk_pgw_parseFromJSON(localMapObject)); OpenAPI_list_add(eps_iwk_pgwsList , localMapKeyPair); } -} + } eps_interworking_info_local_var = OpenAPI_eps_interworking_info_create ( eps_iwk_pgws ? eps_iwk_pgwsList : NULL diff --git a/lib/sbi/openapi/model/eps_pdn_cnx_info.c b/lib/sbi/openapi/model/eps_pdn_cnx_info.c index 5172e1187..50c768002 100644 --- a/lib/sbi/openapi/model/eps_pdn_cnx_info.c +++ b/lib/sbi/openapi/model/eps_pdn_cnx_info.c @@ -85,7 +85,7 @@ OpenAPI_eps_pdn_cnx_info_t *OpenAPI_eps_pdn_cnx_info_parseFromJSON(cJSON *eps_pd ogs_error("OpenAPI_eps_pdn_cnx_info_parseFromJSON() failed [pgw_node_name]"); goto end; } -} + } cJSON *linked_bearer_id = cJSON_GetObjectItemCaseSensitive(eps_pdn_cnx_infoJSON, "linkedBearerId"); @@ -94,7 +94,7 @@ OpenAPI_eps_pdn_cnx_info_t *OpenAPI_eps_pdn_cnx_info_parseFromJSON(cJSON *eps_pd ogs_error("OpenAPI_eps_pdn_cnx_info_parseFromJSON() failed [linked_bearer_id]"); goto end; } -} + } eps_pdn_cnx_info_local_var = OpenAPI_eps_pdn_cnx_info_create ( pgw_s8c_fteid->valueint, diff --git a/lib/sbi/openapi/model/error_report.c b/lib/sbi/openapi/model/error_report.c index fb63dc5fb..3ddf80a24 100644 --- a/lib/sbi/openapi/model/error_report.c +++ b/lib/sbi/openapi/model/error_report.c @@ -142,7 +142,7 @@ OpenAPI_error_report_t *OpenAPI_error_report_parseFromJSON(cJSON *error_reportJS OpenAPI_problem_details_t *error_local_nonprim = NULL; if (error) { error_local_nonprim = OpenAPI_problem_details_parseFromJSON(error); -} + } cJSON *rule_reports = cJSON_GetObjectItemCaseSensitive(error_reportJSON, "ruleReports"); @@ -165,7 +165,7 @@ OpenAPI_error_report_t *OpenAPI_error_report_parseFromJSON(cJSON *error_reportJS OpenAPI_list_add(rule_reportsList, rule_reportsItem); } -} + } cJSON *sess_rule_reports = cJSON_GetObjectItemCaseSensitive(error_reportJSON, "sessRuleReports"); @@ -188,7 +188,7 @@ OpenAPI_error_report_t *OpenAPI_error_report_parseFromJSON(cJSON *error_reportJS OpenAPI_list_add(sess_rule_reportsList, sess_rule_reportsItem); } -} + } cJSON *pol_dec_failure_reports = cJSON_GetObjectItemCaseSensitive(error_reportJSON, "polDecFailureReports"); @@ -210,7 +210,7 @@ OpenAPI_error_report_t *OpenAPI_error_report_parseFromJSON(cJSON *error_reportJS OpenAPI_list_add(pol_dec_failure_reportsList, (void *)OpenAPI_policy_decision_failure_code_FromString(pol_dec_failure_reports_local_nonprimitive->valuestring)); } -} + } cJSON *alt_qos_param_id = cJSON_GetObjectItemCaseSensitive(error_reportJSON, "altQosParamId"); @@ -219,7 +219,7 @@ OpenAPI_error_report_t *OpenAPI_error_report_parseFromJSON(cJSON *error_reportJS ogs_error("OpenAPI_error_report_parseFromJSON() failed [alt_qos_param_id]"); goto end; } -} + } error_report_local_var = OpenAPI_error_report_create ( error ? error_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/eth_flow_description.c b/lib/sbi/openapi/model/eth_flow_description.c index e8b883698..cfb40466e 100644 --- a/lib/sbi/openapi/model/eth_flow_description.c +++ b/lib/sbi/openapi/model/eth_flow_description.c @@ -137,7 +137,7 @@ OpenAPI_eth_flow_description_t *OpenAPI_eth_flow_description_parseFromJSON(cJSON ogs_error("OpenAPI_eth_flow_description_parseFromJSON() failed [dest_mac_addr]"); goto end; } -} + } cJSON *eth_type = cJSON_GetObjectItemCaseSensitive(eth_flow_descriptionJSON, "ethType"); if (!eth_type) { @@ -158,7 +158,7 @@ OpenAPI_eth_flow_description_t *OpenAPI_eth_flow_description_parseFromJSON(cJSON ogs_error("OpenAPI_eth_flow_description_parseFromJSON() failed [f_desc]"); goto end; } -} + } cJSON *f_dir = cJSON_GetObjectItemCaseSensitive(eth_flow_descriptionJSON, "fDir"); @@ -169,7 +169,7 @@ OpenAPI_eth_flow_description_t *OpenAPI_eth_flow_description_parseFromJSON(cJSON goto end; } f_dirVariable = OpenAPI_flow_direction_FromString(f_dir->valuestring); -} + } cJSON *source_mac_addr = cJSON_GetObjectItemCaseSensitive(eth_flow_descriptionJSON, "sourceMacAddr"); @@ -178,7 +178,7 @@ OpenAPI_eth_flow_description_t *OpenAPI_eth_flow_description_parseFromJSON(cJSON ogs_error("OpenAPI_eth_flow_description_parseFromJSON() failed [source_mac_addr]"); goto end; } -} + } cJSON *vlan_tags = cJSON_GetObjectItemCaseSensitive(eth_flow_descriptionJSON, "vlanTags"); @@ -198,7 +198,7 @@ OpenAPI_eth_flow_description_t *OpenAPI_eth_flow_description_parseFromJSON(cJSON } OpenAPI_list_add(vlan_tagsList , ogs_strdup_or_assert(vlan_tags_local->valuestring)); } -} + } cJSON *src_mac_addr_end = cJSON_GetObjectItemCaseSensitive(eth_flow_descriptionJSON, "srcMacAddrEnd"); @@ -207,7 +207,7 @@ OpenAPI_eth_flow_description_t *OpenAPI_eth_flow_description_parseFromJSON(cJSON ogs_error("OpenAPI_eth_flow_description_parseFromJSON() failed [src_mac_addr_end]"); goto end; } -} + } cJSON *dest_mac_addr_end = cJSON_GetObjectItemCaseSensitive(eth_flow_descriptionJSON, "destMacAddrEnd"); @@ -216,7 +216,7 @@ OpenAPI_eth_flow_description_t *OpenAPI_eth_flow_description_parseFromJSON(cJSON ogs_error("OpenAPI_eth_flow_description_parseFromJSON() failed [dest_mac_addr_end]"); goto end; } -} + } eth_flow_description_local_var = OpenAPI_eth_flow_description_create ( dest_mac_addr ? ogs_strdup_or_assert(dest_mac_addr->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/eutra_location.c b/lib/sbi/openapi/model/eutra_location.c index 60cf03463..c2e79bcae 100644 --- a/lib/sbi/openapi/model/eutra_location.c +++ b/lib/sbi/openapi/model/eutra_location.c @@ -175,7 +175,7 @@ OpenAPI_eutra_location_t *OpenAPI_eutra_location_parseFromJSON(cJSON *eutra_loca ogs_error("OpenAPI_eutra_location_parseFromJSON() failed [ignore_tai]"); goto end; } -} + } cJSON *ecgi = cJSON_GetObjectItemCaseSensitive(eutra_locationJSON, "ecgi"); if (!ecgi) { @@ -194,7 +194,7 @@ OpenAPI_eutra_location_t *OpenAPI_eutra_location_parseFromJSON(cJSON *eutra_loca ogs_error("OpenAPI_eutra_location_parseFromJSON() failed [ignore_ecgi]"); goto end; } -} + } cJSON *age_of_location_information = cJSON_GetObjectItemCaseSensitive(eutra_locationJSON, "ageOfLocationInformation"); @@ -203,7 +203,7 @@ OpenAPI_eutra_location_t *OpenAPI_eutra_location_parseFromJSON(cJSON *eutra_loca ogs_error("OpenAPI_eutra_location_parseFromJSON() failed [age_of_location_information]"); goto end; } -} + } cJSON *ue_location_timestamp = cJSON_GetObjectItemCaseSensitive(eutra_locationJSON, "ueLocationTimestamp"); @@ -212,7 +212,7 @@ OpenAPI_eutra_location_t *OpenAPI_eutra_location_parseFromJSON(cJSON *eutra_loca ogs_error("OpenAPI_eutra_location_parseFromJSON() failed [ue_location_timestamp]"); goto end; } -} + } cJSON *geographical_information = cJSON_GetObjectItemCaseSensitive(eutra_locationJSON, "geographicalInformation"); @@ -221,7 +221,7 @@ OpenAPI_eutra_location_t *OpenAPI_eutra_location_parseFromJSON(cJSON *eutra_loca ogs_error("OpenAPI_eutra_location_parseFromJSON() failed [geographical_information]"); goto end; } -} + } cJSON *geodetic_information = cJSON_GetObjectItemCaseSensitive(eutra_locationJSON, "geodeticInformation"); @@ -230,21 +230,21 @@ OpenAPI_eutra_location_t *OpenAPI_eutra_location_parseFromJSON(cJSON *eutra_loca ogs_error("OpenAPI_eutra_location_parseFromJSON() failed [geodetic_information]"); goto end; } -} + } cJSON *global_ngenb_id = cJSON_GetObjectItemCaseSensitive(eutra_locationJSON, "globalNgenbId"); OpenAPI_global_ran_node_id_t *global_ngenb_id_local_nonprim = NULL; if (global_ngenb_id) { global_ngenb_id_local_nonprim = OpenAPI_global_ran_node_id_parseFromJSON(global_ngenb_id); -} + } cJSON *global_enb_id = cJSON_GetObjectItemCaseSensitive(eutra_locationJSON, "globalENbId"); OpenAPI_global_ran_node_id_t *global_enb_id_local_nonprim = NULL; if (global_enb_id) { global_enb_id_local_nonprim = OpenAPI_global_ran_node_id_parseFromJSON(global_enb_id); -} + } eutra_location_local_var = OpenAPI_eutra_location_create ( tai_local_nonprim, diff --git a/lib/sbi/openapi/model/events_notification.c b/lib/sbi/openapi/model/events_notification.c index c64fa2d2f..94a69f355 100644 --- a/lib/sbi/openapi/model/events_notification.c +++ b/lib/sbi/openapi/model/events_notification.c @@ -471,28 +471,28 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON * goto end; } access_typeVariable = OpenAPI_access_type_FromString(access_type->valuestring); -} + } cJSON *add_access_info = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "addAccessInfo"); OpenAPI_additional_access_info_t *add_access_info_local_nonprim = NULL; if (add_access_info) { add_access_info_local_nonprim = OpenAPI_additional_access_info_parseFromJSON(add_access_info); -} + } cJSON *rel_access_info = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "relAccessInfo"); OpenAPI_additional_access_info_t *rel_access_info_local_nonprim = NULL; if (rel_access_info) { rel_access_info_local_nonprim = OpenAPI_additional_access_info_parseFromJSON(rel_access_info); -} + } cJSON *an_charg_addr = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "anChargAddr"); OpenAPI_acc_net_charging_address_t *an_charg_addr_local_nonprim = NULL; if (an_charg_addr) { an_charg_addr_local_nonprim = OpenAPI_acc_net_charging_address_parseFromJSON(an_charg_addr); -} + } cJSON *an_charg_ids = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "anChargIds"); @@ -515,14 +515,14 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON * OpenAPI_list_add(an_charg_idsList, an_charg_idsItem); } -} + } cJSON *an_gw_addr = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "anGwAddr"); OpenAPI_an_gw_address_t *an_gw_addr_local_nonprim = NULL; if (an_gw_addr) { an_gw_addr_local_nonprim = OpenAPI_an_gw_address_parseFromJSON(an_gw_addr); -} + } cJSON *ev_subs_uri = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "evSubsUri"); if (!ev_subs_uri) { @@ -583,7 +583,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON * OpenAPI_list_add(failed_resourc_alloc_reportsList, failed_resourc_alloc_reportsItem); } -} + } cJSON *succ_resourc_alloc_reports = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "succResourcAllocReports"); @@ -606,7 +606,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON * OpenAPI_list_add(succ_resourc_alloc_reportsList, succ_resourc_alloc_reportsItem); } -} + } cJSON *no_net_loc_supp = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "noNetLocSupp"); @@ -617,7 +617,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON * goto end; } no_net_loc_suppVariable = OpenAPI_net_loc_access_support_FromString(no_net_loc_supp->valuestring); -} + } cJSON *out_of_cred_reports = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "outOfCredReports"); @@ -640,14 +640,14 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON * OpenAPI_list_add(out_of_cred_reportsList, out_of_cred_reportsItem); } -} + } cJSON *plmn_id = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "plmnId"); OpenAPI_plmn_id_nid_t *plmn_id_local_nonprim = NULL; if (plmn_id) { plmn_id_local_nonprim = OpenAPI_plmn_id_nid_parseFromJSON(plmn_id); -} + } cJSON *qnc_reports = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "qncReports"); @@ -670,7 +670,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON * OpenAPI_list_add(qnc_reportsList, qnc_reportsItem); } -} + } cJSON *qos_mon_reports = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "qosMonReports"); @@ -693,7 +693,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON * OpenAPI_list_add(qos_mon_reportsList, qos_mon_reportsItem); } -} + } cJSON *ran_nas_rel_causes = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "ranNasRelCauses"); @@ -716,7 +716,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON * OpenAPI_list_add(ran_nas_rel_causesList, ran_nas_rel_causesItem); } -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "ratType"); @@ -727,14 +727,14 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON * goto end; } rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring); -} + } cJSON *ue_loc = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "ueLoc"); OpenAPI_user_location_t *ue_loc_local_nonprim = NULL; if (ue_loc) { ue_loc_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_loc); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "ueTimeZone"); @@ -743,28 +743,28 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON * ogs_error("OpenAPI_events_notification_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *usg_rep = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "usgRep"); OpenAPI_accumulated_usage_t *usg_rep_local_nonprim = NULL; if (usg_rep) { usg_rep_local_nonprim = OpenAPI_accumulated_usage_parseFromJSON(usg_rep); -} + } cJSON *tsn_bridge_man_cont = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "tsnBridgeManCont"); OpenAPI_bridge_management_container_t *tsn_bridge_man_cont_local_nonprim = NULL; if (tsn_bridge_man_cont) { tsn_bridge_man_cont_local_nonprim = OpenAPI_bridge_management_container_parseFromJSON(tsn_bridge_man_cont); -} + } cJSON *tsn_port_man_cont_dstt = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "tsnPortManContDstt"); OpenAPI_port_management_container_t *tsn_port_man_cont_dstt_local_nonprim = NULL; if (tsn_port_man_cont_dstt) { tsn_port_man_cont_dstt_local_nonprim = OpenAPI_port_management_container_parseFromJSON(tsn_port_man_cont_dstt); -} + } cJSON *tsn_port_man_cont_nwtts = cJSON_GetObjectItemCaseSensitive(events_notificationJSON, "tsnPortManContNwtts"); @@ -787,7 +787,7 @@ OpenAPI_events_notification_t *OpenAPI_events_notification_parseFromJSON(cJSON * OpenAPI_list_add(tsn_port_man_cont_nwttsList, tsn_port_man_cont_nwttsItem); } -} + } events_notification_local_var = OpenAPI_events_notification_create ( access_type ? access_typeVariable : 0, diff --git a/lib/sbi/openapi/model/events_subsc_put_data.c b/lib/sbi/openapi/model/events_subsc_put_data.c index 49e3328db..70edb87e5 100644 --- a/lib/sbi/openapi/model/events_subsc_put_data.c +++ b/lib/sbi/openapi/model/events_subsc_put_data.c @@ -607,7 +607,7 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS ogs_error("OpenAPI_events_subsc_put_data_parseFromJSON() failed [notif_uri]"); goto end; } -} + } cJSON *req_qos_mon_params = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "reqQosMonParams"); @@ -629,14 +629,14 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS OpenAPI_list_add(req_qos_mon_paramsList, (void *)OpenAPI_requested_qos_monitoring_parameter_FromString(req_qos_mon_params_local_nonprimitive->valuestring)); } -} + } cJSON *qos_mon = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "qosMon"); OpenAPI_qos_monitoring_information_t *qos_mon_local_nonprim = NULL; if (qos_mon) { qos_mon_local_nonprim = OpenAPI_qos_monitoring_information_parseFromJSON(qos_mon); -} + } cJSON *req_anis = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "reqAnis"); @@ -658,14 +658,14 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS OpenAPI_list_add(req_anisList, (void *)OpenAPI_required_access_info_FromString(req_anis_local_nonprimitive->valuestring)); } -} + } cJSON *usg_thres = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "usgThres"); OpenAPI_usage_threshold_t *usg_thres_local_nonprim = NULL; if (usg_thres) { usg_thres_local_nonprim = OpenAPI_usage_threshold_parseFromJSON(usg_thres); -} + } cJSON *notif_corre_id = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "notifCorreId"); @@ -674,7 +674,7 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS ogs_error("OpenAPI_events_subsc_put_data_parseFromJSON() failed [notif_corre_id]"); goto end; } -} + } cJSON *access_type = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "accessType"); @@ -685,28 +685,28 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS goto end; } access_typeVariable = OpenAPI_access_type_FromString(access_type->valuestring); -} + } cJSON *add_access_info = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "addAccessInfo"); OpenAPI_additional_access_info_t *add_access_info_local_nonprim = NULL; if (add_access_info) { add_access_info_local_nonprim = OpenAPI_additional_access_info_parseFromJSON(add_access_info); -} + } cJSON *rel_access_info = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "relAccessInfo"); OpenAPI_additional_access_info_t *rel_access_info_local_nonprim = NULL; if (rel_access_info) { rel_access_info_local_nonprim = OpenAPI_additional_access_info_parseFromJSON(rel_access_info); -} + } cJSON *an_charg_addr = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "anChargAddr"); OpenAPI_acc_net_charging_address_t *an_charg_addr_local_nonprim = NULL; if (an_charg_addr) { an_charg_addr_local_nonprim = OpenAPI_acc_net_charging_address_parseFromJSON(an_charg_addr); -} + } cJSON *an_charg_ids = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "anChargIds"); @@ -729,14 +729,14 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS OpenAPI_list_add(an_charg_idsList, an_charg_idsItem); } -} + } cJSON *an_gw_addr = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "anGwAddr"); OpenAPI_an_gw_address_t *an_gw_addr_local_nonprim = NULL; if (an_gw_addr) { an_gw_addr_local_nonprim = OpenAPI_an_gw_address_parseFromJSON(an_gw_addr); -} + } cJSON *ev_subs_uri = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "evSubsUri"); if (!ev_subs_uri) { @@ -797,7 +797,7 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS OpenAPI_list_add(failed_resourc_alloc_reportsList, failed_resourc_alloc_reportsItem); } -} + } cJSON *succ_resourc_alloc_reports = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "succResourcAllocReports"); @@ -820,7 +820,7 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS OpenAPI_list_add(succ_resourc_alloc_reportsList, succ_resourc_alloc_reportsItem); } -} + } cJSON *no_net_loc_supp = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "noNetLocSupp"); @@ -831,7 +831,7 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS goto end; } no_net_loc_suppVariable = OpenAPI_net_loc_access_support_FromString(no_net_loc_supp->valuestring); -} + } cJSON *out_of_cred_reports = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "outOfCredReports"); @@ -854,14 +854,14 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS OpenAPI_list_add(out_of_cred_reportsList, out_of_cred_reportsItem); } -} + } cJSON *plmn_id = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "plmnId"); OpenAPI_plmn_id_nid_t *plmn_id_local_nonprim = NULL; if (plmn_id) { plmn_id_local_nonprim = OpenAPI_plmn_id_nid_parseFromJSON(plmn_id); -} + } cJSON *qnc_reports = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "qncReports"); @@ -884,7 +884,7 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS OpenAPI_list_add(qnc_reportsList, qnc_reportsItem); } -} + } cJSON *qos_mon_reports = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "qosMonReports"); @@ -907,7 +907,7 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS OpenAPI_list_add(qos_mon_reportsList, qos_mon_reportsItem); } -} + } cJSON *ran_nas_rel_causes = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "ranNasRelCauses"); @@ -930,7 +930,7 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS OpenAPI_list_add(ran_nas_rel_causesList, ran_nas_rel_causesItem); } -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "ratType"); @@ -941,14 +941,14 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS goto end; } rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring); -} + } cJSON *ue_loc = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "ueLoc"); OpenAPI_user_location_t *ue_loc_local_nonprim = NULL; if (ue_loc) { ue_loc_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_loc); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "ueTimeZone"); @@ -957,28 +957,28 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS ogs_error("OpenAPI_events_subsc_put_data_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *usg_rep = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "usgRep"); OpenAPI_accumulated_usage_t *usg_rep_local_nonprim = NULL; if (usg_rep) { usg_rep_local_nonprim = OpenAPI_accumulated_usage_parseFromJSON(usg_rep); -} + } cJSON *tsn_bridge_man_cont = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "tsnBridgeManCont"); OpenAPI_bridge_management_container_t *tsn_bridge_man_cont_local_nonprim = NULL; if (tsn_bridge_man_cont) { tsn_bridge_man_cont_local_nonprim = OpenAPI_bridge_management_container_parseFromJSON(tsn_bridge_man_cont); -} + } cJSON *tsn_port_man_cont_dstt = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "tsnPortManContDstt"); OpenAPI_port_management_container_t *tsn_port_man_cont_dstt_local_nonprim = NULL; if (tsn_port_man_cont_dstt) { tsn_port_man_cont_dstt_local_nonprim = OpenAPI_port_management_container_parseFromJSON(tsn_port_man_cont_dstt); -} + } cJSON *tsn_port_man_cont_nwtts = cJSON_GetObjectItemCaseSensitive(events_subsc_put_dataJSON, "tsnPortManContNwtts"); @@ -1001,7 +1001,7 @@ OpenAPI_events_subsc_put_data_t *OpenAPI_events_subsc_put_data_parseFromJSON(cJS OpenAPI_list_add(tsn_port_man_cont_nwttsList, tsn_port_man_cont_nwttsItem); } -} + } events_subsc_put_data_local_var = OpenAPI_events_subsc_put_data_create ( eventsList, diff --git a/lib/sbi/openapi/model/events_subsc_req_data.c b/lib/sbi/openapi/model/events_subsc_req_data.c index 6f3f377c0..3a84a80b5 100644 --- a/lib/sbi/openapi/model/events_subsc_req_data.c +++ b/lib/sbi/openapi/model/events_subsc_req_data.c @@ -186,7 +186,7 @@ OpenAPI_events_subsc_req_data_t *OpenAPI_events_subsc_req_data_parseFromJSON(cJS ogs_error("OpenAPI_events_subsc_req_data_parseFromJSON() failed [notif_uri]"); goto end; } -} + } cJSON *req_qos_mon_params = cJSON_GetObjectItemCaseSensitive(events_subsc_req_dataJSON, "reqQosMonParams"); @@ -208,14 +208,14 @@ OpenAPI_events_subsc_req_data_t *OpenAPI_events_subsc_req_data_parseFromJSON(cJS OpenAPI_list_add(req_qos_mon_paramsList, (void *)OpenAPI_requested_qos_monitoring_parameter_FromString(req_qos_mon_params_local_nonprimitive->valuestring)); } -} + } cJSON *qos_mon = cJSON_GetObjectItemCaseSensitive(events_subsc_req_dataJSON, "qosMon"); OpenAPI_qos_monitoring_information_t *qos_mon_local_nonprim = NULL; if (qos_mon) { qos_mon_local_nonprim = OpenAPI_qos_monitoring_information_parseFromJSON(qos_mon); -} + } cJSON *req_anis = cJSON_GetObjectItemCaseSensitive(events_subsc_req_dataJSON, "reqAnis"); @@ -237,14 +237,14 @@ OpenAPI_events_subsc_req_data_t *OpenAPI_events_subsc_req_data_parseFromJSON(cJS OpenAPI_list_add(req_anisList, (void *)OpenAPI_required_access_info_FromString(req_anis_local_nonprimitive->valuestring)); } -} + } cJSON *usg_thres = cJSON_GetObjectItemCaseSensitive(events_subsc_req_dataJSON, "usgThres"); OpenAPI_usage_threshold_t *usg_thres_local_nonprim = NULL; if (usg_thres) { usg_thres_local_nonprim = OpenAPI_usage_threshold_parseFromJSON(usg_thres); -} + } cJSON *notif_corre_id = cJSON_GetObjectItemCaseSensitive(events_subsc_req_dataJSON, "notifCorreId"); @@ -253,7 +253,7 @@ OpenAPI_events_subsc_req_data_t *OpenAPI_events_subsc_req_data_parseFromJSON(cJS ogs_error("OpenAPI_events_subsc_req_data_parseFromJSON() failed [notif_corre_id]"); goto end; } -} + } events_subsc_req_data_local_var = OpenAPI_events_subsc_req_data_create ( eventsList, diff --git a/lib/sbi/openapi/model/events_subsc_req_data_rm.c b/lib/sbi/openapi/model/events_subsc_req_data_rm.c index 3adabcea5..8481f0826 100644 --- a/lib/sbi/openapi/model/events_subsc_req_data_rm.c +++ b/lib/sbi/openapi/model/events_subsc_req_data_rm.c @@ -186,7 +186,7 @@ OpenAPI_events_subsc_req_data_rm_t *OpenAPI_events_subsc_req_data_rm_parseFromJS ogs_error("OpenAPI_events_subsc_req_data_rm_parseFromJSON() failed [notif_uri]"); goto end; } -} + } cJSON *req_qos_mon_params = cJSON_GetObjectItemCaseSensitive(events_subsc_req_data_rmJSON, "reqQosMonParams"); @@ -208,14 +208,14 @@ OpenAPI_events_subsc_req_data_rm_t *OpenAPI_events_subsc_req_data_rm_parseFromJS OpenAPI_list_add(req_qos_mon_paramsList, (void *)OpenAPI_requested_qos_monitoring_parameter_FromString(req_qos_mon_params_local_nonprimitive->valuestring)); } -} + } cJSON *qos_mon = cJSON_GetObjectItemCaseSensitive(events_subsc_req_data_rmJSON, "qosMon"); OpenAPI_qos_monitoring_information_rm_t *qos_mon_local_nonprim = NULL; if (qos_mon) { qos_mon_local_nonprim = OpenAPI_qos_monitoring_information_rm_parseFromJSON(qos_mon); -} + } cJSON *req_anis = cJSON_GetObjectItemCaseSensitive(events_subsc_req_data_rmJSON, "reqAnis"); @@ -237,14 +237,14 @@ OpenAPI_events_subsc_req_data_rm_t *OpenAPI_events_subsc_req_data_rm_parseFromJS OpenAPI_list_add(req_anisList, (void *)OpenAPI_required_access_info_FromString(req_anis_local_nonprimitive->valuestring)); } -} + } cJSON *usg_thres = cJSON_GetObjectItemCaseSensitive(events_subsc_req_data_rmJSON, "usgThres"); OpenAPI_usage_threshold_rm_t *usg_thres_local_nonprim = NULL; if (usg_thres) { usg_thres_local_nonprim = OpenAPI_usage_threshold_rm_parseFromJSON(usg_thres); -} + } cJSON *notif_corre_id = cJSON_GetObjectItemCaseSensitive(events_subsc_req_data_rmJSON, "notifCorreId"); @@ -253,7 +253,7 @@ OpenAPI_events_subsc_req_data_rm_t *OpenAPI_events_subsc_req_data_rm_parseFromJS ogs_error("OpenAPI_events_subsc_req_data_rm_parseFromJSON() failed [notif_corre_id]"); goto end; } -} + } events_subsc_req_data_rm_local_var = OpenAPI_events_subsc_req_data_rm_create ( eventsList, diff --git a/lib/sbi/openapi/model/exemption_ind.c b/lib/sbi/openapi/model/exemption_ind.c index 0f58d70c4..7a797d3fd 100644 --- a/lib/sbi/openapi/model/exemption_ind.c +++ b/lib/sbi/openapi/model/exemption_ind.c @@ -75,7 +75,7 @@ OpenAPI_exemption_ind_t *OpenAPI_exemption_ind_parseFromJSON(cJSON *exemption_in ogs_error("OpenAPI_exemption_ind_parseFromJSON() failed [dnn_congestion]"); goto end; } -} + } cJSON *snssai_only_congestion = cJSON_GetObjectItemCaseSensitive(exemption_indJSON, "snssaiOnlyCongestion"); @@ -84,7 +84,7 @@ OpenAPI_exemption_ind_t *OpenAPI_exemption_ind_parseFromJSON(cJSON *exemption_in ogs_error("OpenAPI_exemption_ind_parseFromJSON() failed [snssai_only_congestion]"); goto end; } -} + } cJSON *snssai_dnn_congestion = cJSON_GetObjectItemCaseSensitive(exemption_indJSON, "snssaiDnnCongestion"); @@ -93,7 +93,7 @@ OpenAPI_exemption_ind_t *OpenAPI_exemption_ind_parseFromJSON(cJSON *exemption_in ogs_error("OpenAPI_exemption_ind_parseFromJSON() failed [snssai_dnn_congestion]"); goto end; } -} + } exemption_ind_local_var = OpenAPI_exemption_ind_create ( dnn_congestion ? dnn_congestion->valueint : 0, diff --git a/lib/sbi/openapi/model/expected_ue_behaviour.c b/lib/sbi/openapi/model/expected_ue_behaviour.c index a67575970..7ce7b17fa 100644 --- a/lib/sbi/openapi/model/expected_ue_behaviour.c +++ b/lib/sbi/openapi/model/expected_ue_behaviour.c @@ -229,7 +229,7 @@ OpenAPI_expected_ue_behaviour_t *OpenAPI_expected_ue_behaviour_parseFromJSON(cJS OpenAPI_stationary_indication_rm_t *stationary_indication_local_nonprim = NULL; if (stationary_indication) { stationary_indication_local_nonprim = OpenAPI_stationary_indication_rm_parseFromJSON(stationary_indication); -} + } cJSON *communication_duration_time = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviourJSON, "communicationDurationTime"); @@ -238,14 +238,14 @@ OpenAPI_expected_ue_behaviour_t *OpenAPI_expected_ue_behaviour_parseFromJSON(cJS ogs_error("OpenAPI_expected_ue_behaviour_parseFromJSON() failed [communication_duration_time]"); goto end; } -} + } cJSON *scheduled_communication_type = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviourJSON, "scheduledCommunicationType"); OpenAPI_scheduled_communication_type_rm_t *scheduled_communication_type_local_nonprim = NULL; if (scheduled_communication_type) { scheduled_communication_type_local_nonprim = OpenAPI_scheduled_communication_type_rm_parseFromJSON(scheduled_communication_type); -} + } cJSON *periodic_time = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviourJSON, "periodicTime"); @@ -254,14 +254,14 @@ OpenAPI_expected_ue_behaviour_t *OpenAPI_expected_ue_behaviour_parseFromJSON(cJS ogs_error("OpenAPI_expected_ue_behaviour_parseFromJSON() failed [periodic_time]"); goto end; } -} + } cJSON *scheduled_communication_time = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviourJSON, "scheduledCommunicationTime"); OpenAPI_scheduled_communication_time_rm_t *scheduled_communication_time_local_nonprim = NULL; if (scheduled_communication_time) { scheduled_communication_time_local_nonprim = OpenAPI_scheduled_communication_time_rm_parseFromJSON(scheduled_communication_time); -} + } cJSON *expected_umts = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviourJSON, "expectedUmts"); @@ -284,21 +284,21 @@ OpenAPI_expected_ue_behaviour_t *OpenAPI_expected_ue_behaviour_parseFromJSON(cJS OpenAPI_list_add(expected_umtsList, expected_umtsItem); } -} + } cJSON *traffic_profile = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviourJSON, "trafficProfile"); OpenAPI_traffic_profile_rm_t *traffic_profile_local_nonprim = NULL; if (traffic_profile) { traffic_profile_local_nonprim = OpenAPI_traffic_profile_rm_parseFromJSON(traffic_profile); -} + } cJSON *battery_indication = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviourJSON, "batteryIndication"); OpenAPI_battery_indication_rm_t *battery_indication_local_nonprim = NULL; if (battery_indication) { battery_indication_local_nonprim = OpenAPI_battery_indication_rm_parseFromJSON(battery_indication); -} + } cJSON *validity_time = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviourJSON, "validityTime"); @@ -307,7 +307,7 @@ OpenAPI_expected_ue_behaviour_t *OpenAPI_expected_ue_behaviour_parseFromJSON(cJS ogs_error("OpenAPI_expected_ue_behaviour_parseFromJSON() failed [validity_time]"); goto end; } -} + } cJSON *mtc_provider_information = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviourJSON, "mtcProviderInformation"); @@ -316,7 +316,7 @@ OpenAPI_expected_ue_behaviour_t *OpenAPI_expected_ue_behaviour_parseFromJSON(cJS ogs_error("OpenAPI_expected_ue_behaviour_parseFromJSON() failed [mtc_provider_information]"); goto end; } -} + } expected_ue_behaviour_local_var = OpenAPI_expected_ue_behaviour_create ( ogs_strdup_or_assert(af_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/expected_ue_behaviour_data.c b/lib/sbi/openapi/model/expected_ue_behaviour_data.c index 0705d01c6..3ee5c71fd 100644 --- a/lib/sbi/openapi/model/expected_ue_behaviour_data.c +++ b/lib/sbi/openapi/model/expected_ue_behaviour_data.c @@ -163,7 +163,7 @@ OpenAPI_expected_ue_behaviour_data_t *OpenAPI_expected_ue_behaviour_data_parseFr goto end; } stationary_indicationVariable = OpenAPI_stationary_indication_FromString(stationary_indication->valuestring); -} + } cJSON *communication_duration_time = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_dataJSON, "communicationDurationTime"); @@ -172,7 +172,7 @@ OpenAPI_expected_ue_behaviour_data_t *OpenAPI_expected_ue_behaviour_data_parseFr ogs_error("OpenAPI_expected_ue_behaviour_data_parseFromJSON() failed [communication_duration_time]"); goto end; } -} + } cJSON *periodic_time = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_dataJSON, "periodicTime"); @@ -181,14 +181,14 @@ OpenAPI_expected_ue_behaviour_data_t *OpenAPI_expected_ue_behaviour_data_parseFr ogs_error("OpenAPI_expected_ue_behaviour_data_parseFromJSON() failed [periodic_time]"); goto end; } -} + } cJSON *scheduled_communication_time = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_dataJSON, "scheduledCommunicationTime"); OpenAPI_scheduled_communication_time_t *scheduled_communication_time_local_nonprim = NULL; if (scheduled_communication_time) { scheduled_communication_time_local_nonprim = OpenAPI_scheduled_communication_time_parseFromJSON(scheduled_communication_time); -} + } cJSON *scheduled_communication_type = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_dataJSON, "scheduledCommunicationType"); @@ -199,7 +199,7 @@ OpenAPI_expected_ue_behaviour_data_t *OpenAPI_expected_ue_behaviour_data_parseFr goto end; } scheduled_communication_typeVariable = OpenAPI_scheduled_communication_type_FromString(scheduled_communication_type->valuestring); -} + } cJSON *expected_umts = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_dataJSON, "expectedUmts"); @@ -222,7 +222,7 @@ OpenAPI_expected_ue_behaviour_data_t *OpenAPI_expected_ue_behaviour_data_parseFr OpenAPI_list_add(expected_umtsList, expected_umtsItem); } -} + } cJSON *traffic_profile = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_dataJSON, "trafficProfile"); @@ -233,14 +233,14 @@ OpenAPI_expected_ue_behaviour_data_t *OpenAPI_expected_ue_behaviour_data_parseFr goto end; } traffic_profileVariable = OpenAPI_traffic_profile_FromString(traffic_profile->valuestring); -} + } cJSON *battery_indication = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_dataJSON, "batteryIndication"); OpenAPI_battery_indication_t *battery_indication_local_nonprim = NULL; if (battery_indication) { battery_indication_local_nonprim = OpenAPI_battery_indication_parseFromJSON(battery_indication); -} + } cJSON *validity_time = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_dataJSON, "validityTime"); @@ -249,7 +249,7 @@ OpenAPI_expected_ue_behaviour_data_t *OpenAPI_expected_ue_behaviour_data_parseFr ogs_error("OpenAPI_expected_ue_behaviour_data_parseFromJSON() failed [validity_time]"); goto end; } -} + } expected_ue_behaviour_data_local_var = OpenAPI_expected_ue_behaviour_data_create ( stationary_indication ? stationary_indicationVariable : 0, diff --git a/lib/sbi/openapi/model/expected_ue_behaviour_data_1.c b/lib/sbi/openapi/model/expected_ue_behaviour_data_1.c index ee4c4fc4c..3a443f928 100644 --- a/lib/sbi/openapi/model/expected_ue_behaviour_data_1.c +++ b/lib/sbi/openapi/model/expected_ue_behaviour_data_1.c @@ -163,7 +163,7 @@ OpenAPI_expected_ue_behaviour_data_1_t *OpenAPI_expected_ue_behaviour_data_1_par goto end; } stationary_indicationVariable = OpenAPI_stationary_indication_FromString(stationary_indication->valuestring); -} + } cJSON *communication_duration_time = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_data_1JSON, "communicationDurationTime"); @@ -172,7 +172,7 @@ OpenAPI_expected_ue_behaviour_data_1_t *OpenAPI_expected_ue_behaviour_data_1_par ogs_error("OpenAPI_expected_ue_behaviour_data_1_parseFromJSON() failed [communication_duration_time]"); goto end; } -} + } cJSON *periodic_time = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_data_1JSON, "periodicTime"); @@ -181,14 +181,14 @@ OpenAPI_expected_ue_behaviour_data_1_t *OpenAPI_expected_ue_behaviour_data_1_par ogs_error("OpenAPI_expected_ue_behaviour_data_1_parseFromJSON() failed [periodic_time]"); goto end; } -} + } cJSON *scheduled_communication_time = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_data_1JSON, "scheduledCommunicationTime"); OpenAPI_scheduled_communication_time_1_t *scheduled_communication_time_local_nonprim = NULL; if (scheduled_communication_time) { scheduled_communication_time_local_nonprim = OpenAPI_scheduled_communication_time_1_parseFromJSON(scheduled_communication_time); -} + } cJSON *scheduled_communication_type = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_data_1JSON, "scheduledCommunicationType"); @@ -199,7 +199,7 @@ OpenAPI_expected_ue_behaviour_data_1_t *OpenAPI_expected_ue_behaviour_data_1_par goto end; } scheduled_communication_typeVariable = OpenAPI_scheduled_communication_type_FromString(scheduled_communication_type->valuestring); -} + } cJSON *expected_umts = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_data_1JSON, "expectedUmts"); @@ -222,7 +222,7 @@ OpenAPI_expected_ue_behaviour_data_1_t *OpenAPI_expected_ue_behaviour_data_1_par OpenAPI_list_add(expected_umtsList, expected_umtsItem); } -} + } cJSON *traffic_profile = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_data_1JSON, "trafficProfile"); @@ -233,14 +233,14 @@ OpenAPI_expected_ue_behaviour_data_1_t *OpenAPI_expected_ue_behaviour_data_1_par goto end; } traffic_profileVariable = OpenAPI_traffic_profile_FromString(traffic_profile->valuestring); -} + } cJSON *battery_indication = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_data_1JSON, "batteryIndication"); OpenAPI_battery_indication_t *battery_indication_local_nonprim = NULL; if (battery_indication) { battery_indication_local_nonprim = OpenAPI_battery_indication_parseFromJSON(battery_indication); -} + } cJSON *validity_time = cJSON_GetObjectItemCaseSensitive(expected_ue_behaviour_data_1JSON, "validityTime"); @@ -249,7 +249,7 @@ OpenAPI_expected_ue_behaviour_data_1_t *OpenAPI_expected_ue_behaviour_data_1_par ogs_error("OpenAPI_expected_ue_behaviour_data_1_parseFromJSON() failed [validity_time]"); goto end; } -} + } expected_ue_behaviour_data_1_local_var = OpenAPI_expected_ue_behaviour_data_1_create ( stationary_indication ? stationary_indicationVariable : 0, diff --git a/lib/sbi/openapi/model/exposure_data_change_notification.c b/lib/sbi/openapi/model/exposure_data_change_notification.c index abf5d5a5c..d2ca97937 100644 --- a/lib/sbi/openapi/model/exposure_data_change_notification.c +++ b/lib/sbi/openapi/model/exposure_data_change_notification.c @@ -122,14 +122,14 @@ OpenAPI_exposure_data_change_notification_t *OpenAPI_exposure_data_change_notifi ogs_error("OpenAPI_exposure_data_change_notification_parseFromJSON() failed [ue_id]"); goto end; } -} + } cJSON *access_and_mobility_data = cJSON_GetObjectItemCaseSensitive(exposure_data_change_notificationJSON, "accessAndMobilityData"); OpenAPI_access_and_mobility_data_t *access_and_mobility_data_local_nonprim = NULL; if (access_and_mobility_data) { access_and_mobility_data_local_nonprim = OpenAPI_access_and_mobility_data_parseFromJSON(access_and_mobility_data); -} + } cJSON *pdu_session_management_data = cJSON_GetObjectItemCaseSensitive(exposure_data_change_notificationJSON, "pduSessionManagementData"); @@ -152,7 +152,7 @@ OpenAPI_exposure_data_change_notification_t *OpenAPI_exposure_data_change_notifi OpenAPI_list_add(pdu_session_management_dataList, pdu_session_management_dataItem); } -} + } cJSON *del_resources = cJSON_GetObjectItemCaseSensitive(exposure_data_change_notificationJSON, "delResources"); @@ -172,7 +172,7 @@ OpenAPI_exposure_data_change_notification_t *OpenAPI_exposure_data_change_notifi } OpenAPI_list_add(del_resourcesList , ogs_strdup_or_assert(del_resources_local->valuestring)); } -} + } exposure_data_change_notification_local_var = OpenAPI_exposure_data_change_notification_create ( ue_id ? ogs_strdup_or_assert(ue_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/exposure_data_subscription.c b/lib/sbi/openapi/model/exposure_data_subscription.c index 6d75caa53..3cac4b3eb 100644 --- a/lib/sbi/openapi/model/exposure_data_subscription.c +++ b/lib/sbi/openapi/model/exposure_data_subscription.c @@ -131,7 +131,7 @@ OpenAPI_exposure_data_subscription_t *OpenAPI_exposure_data_subscription_parseFr ogs_error("OpenAPI_exposure_data_subscription_parseFromJSON() failed [expiry]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(exposure_data_subscriptionJSON, "supportedFeatures"); @@ -140,7 +140,7 @@ OpenAPI_exposure_data_subscription_t *OpenAPI_exposure_data_subscription_parseFr ogs_error("OpenAPI_exposure_data_subscription_parseFromJSON() failed [supported_features]"); goto end; } -} + } exposure_data_subscription_local_var = OpenAPI_exposure_data_subscription_create ( ogs_strdup_or_assert(notification_uri->valuestring), diff --git a/lib/sbi/openapi/model/ext_amf_event_subscription.c b/lib/sbi/openapi/model/ext_amf_event_subscription.c index b2438ab6d..279e91bac 100644 --- a/lib/sbi/openapi/model/ext_amf_event_subscription.c +++ b/lib/sbi/openapi/model/ext_amf_event_subscription.c @@ -283,7 +283,7 @@ OpenAPI_ext_amf_event_subscription_t *OpenAPI_ext_amf_event_subscription_parseFr ogs_error("OpenAPI_ext_amf_event_subscription_parseFromJSON() failed [subs_change_notify_uri]"); goto end; } -} + } cJSON *subs_change_notify_correlation_id = cJSON_GetObjectItemCaseSensitive(ext_amf_event_subscriptionJSON, "subsChangeNotifyCorrelationId"); @@ -292,7 +292,7 @@ OpenAPI_ext_amf_event_subscription_t *OpenAPI_ext_amf_event_subscription_parseFr ogs_error("OpenAPI_ext_amf_event_subscription_parseFromJSON() failed [subs_change_notify_correlation_id]"); goto end; } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(ext_amf_event_subscriptionJSON, "supi"); @@ -301,7 +301,7 @@ OpenAPI_ext_amf_event_subscription_t *OpenAPI_ext_amf_event_subscription_parseFr ogs_error("OpenAPI_ext_amf_event_subscription_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *group_id = cJSON_GetObjectItemCaseSensitive(ext_amf_event_subscriptionJSON, "groupId"); @@ -310,7 +310,7 @@ OpenAPI_ext_amf_event_subscription_t *OpenAPI_ext_amf_event_subscription_parseFr ogs_error("OpenAPI_ext_amf_event_subscription_parseFromJSON() failed [group_id]"); goto end; } -} + } cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(ext_amf_event_subscriptionJSON, "gpsi"); @@ -319,7 +319,7 @@ OpenAPI_ext_amf_event_subscription_t *OpenAPI_ext_amf_event_subscription_parseFr ogs_error("OpenAPI_ext_amf_event_subscription_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(ext_amf_event_subscriptionJSON, "pei"); @@ -328,7 +328,7 @@ OpenAPI_ext_amf_event_subscription_t *OpenAPI_ext_amf_event_subscription_parseFr ogs_error("OpenAPI_ext_amf_event_subscription_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *any_ue = cJSON_GetObjectItemCaseSensitive(ext_amf_event_subscriptionJSON, "anyUE"); @@ -337,14 +337,14 @@ OpenAPI_ext_amf_event_subscription_t *OpenAPI_ext_amf_event_subscription_parseFr ogs_error("OpenAPI_ext_amf_event_subscription_parseFromJSON() failed [any_ue]"); goto end; } -} + } cJSON *options = cJSON_GetObjectItemCaseSensitive(ext_amf_event_subscriptionJSON, "options"); OpenAPI_amf_event_mode_t *options_local_nonprim = NULL; if (options) { options_local_nonprim = OpenAPI_amf_event_mode_parseFromJSON(options); -} + } cJSON *source_nf_type = cJSON_GetObjectItemCaseSensitive(ext_amf_event_subscriptionJSON, "sourceNfType"); @@ -355,7 +355,7 @@ OpenAPI_ext_amf_event_subscription_t *OpenAPI_ext_amf_event_subscription_parseFr goto end; } source_nf_typeVariable = OpenAPI_nf_type_FromString(source_nf_type->valuestring); -} + } cJSON *binding_info = cJSON_GetObjectItemCaseSensitive(ext_amf_event_subscriptionJSON, "bindingInfo"); @@ -375,7 +375,7 @@ OpenAPI_ext_amf_event_subscription_t *OpenAPI_ext_amf_event_subscription_parseFr } OpenAPI_list_add(binding_infoList , ogs_strdup_or_assert(binding_info_local->valuestring)); } -} + } cJSON *subscribing_nf_type = cJSON_GetObjectItemCaseSensitive(ext_amf_event_subscriptionJSON, "subscribingNfType"); @@ -386,7 +386,7 @@ OpenAPI_ext_amf_event_subscription_t *OpenAPI_ext_amf_event_subscription_parseFr goto end; } subscribing_nf_typeVariable = OpenAPI_nf_type_FromString(subscribing_nf_type->valuestring); -} + } ext_amf_event_subscription_local_var = OpenAPI_ext_amf_event_subscription_create ( event_listList, diff --git a/lib/sbi/openapi/model/ext_problem_details.c b/lib/sbi/openapi/model/ext_problem_details.c index eafa9ec37..a7f1a7fd4 100644 --- a/lib/sbi/openapi/model/ext_problem_details.c +++ b/lib/sbi/openapi/model/ext_problem_details.c @@ -194,7 +194,7 @@ OpenAPI_ext_problem_details_t *OpenAPI_ext_problem_details_parseFromJSON(cJSON * ogs_error("OpenAPI_ext_problem_details_parseFromJSON() failed [type]"); goto end; } -} + } cJSON *title = cJSON_GetObjectItemCaseSensitive(ext_problem_detailsJSON, "title"); @@ -203,7 +203,7 @@ OpenAPI_ext_problem_details_t *OpenAPI_ext_problem_details_parseFromJSON(cJSON * ogs_error("OpenAPI_ext_problem_details_parseFromJSON() failed [title]"); goto end; } -} + } cJSON *status = cJSON_GetObjectItemCaseSensitive(ext_problem_detailsJSON, "status"); @@ -212,7 +212,7 @@ OpenAPI_ext_problem_details_t *OpenAPI_ext_problem_details_parseFromJSON(cJSON * ogs_error("OpenAPI_ext_problem_details_parseFromJSON() failed [status]"); goto end; } -} + } cJSON *detail = cJSON_GetObjectItemCaseSensitive(ext_problem_detailsJSON, "detail"); @@ -221,7 +221,7 @@ OpenAPI_ext_problem_details_t *OpenAPI_ext_problem_details_parseFromJSON(cJSON * ogs_error("OpenAPI_ext_problem_details_parseFromJSON() failed [detail]"); goto end; } -} + } cJSON *instance = cJSON_GetObjectItemCaseSensitive(ext_problem_detailsJSON, "instance"); @@ -230,7 +230,7 @@ OpenAPI_ext_problem_details_t *OpenAPI_ext_problem_details_parseFromJSON(cJSON * ogs_error("OpenAPI_ext_problem_details_parseFromJSON() failed [instance]"); goto end; } -} + } cJSON *cause = cJSON_GetObjectItemCaseSensitive(ext_problem_detailsJSON, "cause"); @@ -239,7 +239,7 @@ OpenAPI_ext_problem_details_t *OpenAPI_ext_problem_details_parseFromJSON(cJSON * ogs_error("OpenAPI_ext_problem_details_parseFromJSON() failed [cause]"); goto end; } -} + } cJSON *invalid_params = cJSON_GetObjectItemCaseSensitive(ext_problem_detailsJSON, "invalidParams"); @@ -262,7 +262,7 @@ OpenAPI_ext_problem_details_t *OpenAPI_ext_problem_details_parseFromJSON(cJSON * OpenAPI_list_add(invalid_paramsList, invalid_paramsItem); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(ext_problem_detailsJSON, "supportedFeatures"); @@ -271,21 +271,21 @@ OpenAPI_ext_problem_details_t *OpenAPI_ext_problem_details_parseFromJSON(cJSON * ogs_error("OpenAPI_ext_problem_details_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *access_token_error = cJSON_GetObjectItemCaseSensitive(ext_problem_detailsJSON, "accessTokenError"); OpenAPI_access_token_err_t *access_token_error_local_nonprim = NULL; if (access_token_error) { access_token_error_local_nonprim = OpenAPI_access_token_err_parseFromJSON(access_token_error); -} + } cJSON *access_token_request = cJSON_GetObjectItemCaseSensitive(ext_problem_detailsJSON, "accessTokenRequest"); OpenAPI_access_token_req_t *access_token_request_local_nonprim = NULL; if (access_token_request) { access_token_request_local_nonprim = OpenAPI_access_token_req_parseFromJSON(access_token_request); -} + } cJSON *nrf_id = cJSON_GetObjectItemCaseSensitive(ext_problem_detailsJSON, "nrfId"); @@ -294,7 +294,7 @@ OpenAPI_ext_problem_details_t *OpenAPI_ext_problem_details_parseFromJSON(cJSON * ogs_error("OpenAPI_ext_problem_details_parseFromJSON() failed [nrf_id]"); goto end; } -} + } cJSON *remote_error = cJSON_GetObjectItemCaseSensitive(ext_problem_detailsJSON, "remoteError"); @@ -303,7 +303,7 @@ OpenAPI_ext_problem_details_t *OpenAPI_ext_problem_details_parseFromJSON(cJSON * ogs_error("OpenAPI_ext_problem_details_parseFromJSON() failed [remote_error]"); goto end; } -} + } ext_problem_details_local_var = OpenAPI_ext_problem_details_create ( type ? ogs_strdup_or_assert(type->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/ext_snssai.c b/lib/sbi/openapi/model/ext_snssai.c index 345cb5f77..e93320e6e 100644 --- a/lib/sbi/openapi/model/ext_snssai.c +++ b/lib/sbi/openapi/model/ext_snssai.c @@ -112,7 +112,7 @@ OpenAPI_ext_snssai_t *OpenAPI_ext_snssai_parseFromJSON(cJSON *ext_snssaiJSON) ogs_error("OpenAPI_ext_snssai_parseFromJSON() failed [sd]"); goto end; } -} + } cJSON *sd_ranges = cJSON_GetObjectItemCaseSensitive(ext_snssaiJSON, "sdRanges"); @@ -135,7 +135,7 @@ OpenAPI_ext_snssai_t *OpenAPI_ext_snssai_parseFromJSON(cJSON *ext_snssaiJSON) OpenAPI_list_add(sd_rangesList, sd_rangesItem); } -} + } cJSON *wildcard_sd = cJSON_GetObjectItemCaseSensitive(ext_snssaiJSON, "wildcardSd"); @@ -144,7 +144,7 @@ OpenAPI_ext_snssai_t *OpenAPI_ext_snssai_parseFromJSON(cJSON *ext_snssaiJSON) ogs_error("OpenAPI_ext_snssai_parseFromJSON() failed [wildcard_sd]"); goto end; } -} + } ext_snssai_local_var = OpenAPI_ext_snssai_create ( sst->valuedouble, diff --git a/lib/sbi/openapi/model/extended_problem_details.c b/lib/sbi/openapi/model/extended_problem_details.c index 434064df9..d2b64a382 100644 --- a/lib/sbi/openapi/model/extended_problem_details.c +++ b/lib/sbi/openapi/model/extended_problem_details.c @@ -201,7 +201,7 @@ OpenAPI_extended_problem_details_t *OpenAPI_extended_problem_details_parseFromJS ogs_error("OpenAPI_extended_problem_details_parseFromJSON() failed [type]"); goto end; } -} + } cJSON *title = cJSON_GetObjectItemCaseSensitive(extended_problem_detailsJSON, "title"); @@ -210,7 +210,7 @@ OpenAPI_extended_problem_details_t *OpenAPI_extended_problem_details_parseFromJS ogs_error("OpenAPI_extended_problem_details_parseFromJSON() failed [title]"); goto end; } -} + } cJSON *status = cJSON_GetObjectItemCaseSensitive(extended_problem_detailsJSON, "status"); @@ -219,7 +219,7 @@ OpenAPI_extended_problem_details_t *OpenAPI_extended_problem_details_parseFromJS ogs_error("OpenAPI_extended_problem_details_parseFromJSON() failed [status]"); goto end; } -} + } cJSON *detail = cJSON_GetObjectItemCaseSensitive(extended_problem_detailsJSON, "detail"); @@ -228,7 +228,7 @@ OpenAPI_extended_problem_details_t *OpenAPI_extended_problem_details_parseFromJS ogs_error("OpenAPI_extended_problem_details_parseFromJSON() failed [detail]"); goto end; } -} + } cJSON *instance = cJSON_GetObjectItemCaseSensitive(extended_problem_detailsJSON, "instance"); @@ -237,7 +237,7 @@ OpenAPI_extended_problem_details_t *OpenAPI_extended_problem_details_parseFromJS ogs_error("OpenAPI_extended_problem_details_parseFromJSON() failed [instance]"); goto end; } -} + } cJSON *cause = cJSON_GetObjectItemCaseSensitive(extended_problem_detailsJSON, "cause"); @@ -246,7 +246,7 @@ OpenAPI_extended_problem_details_t *OpenAPI_extended_problem_details_parseFromJS ogs_error("OpenAPI_extended_problem_details_parseFromJSON() failed [cause]"); goto end; } -} + } cJSON *invalid_params = cJSON_GetObjectItemCaseSensitive(extended_problem_detailsJSON, "invalidParams"); @@ -269,7 +269,7 @@ OpenAPI_extended_problem_details_t *OpenAPI_extended_problem_details_parseFromJS OpenAPI_list_add(invalid_paramsList, invalid_paramsItem); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(extended_problem_detailsJSON, "supportedFeatures"); @@ -278,21 +278,21 @@ OpenAPI_extended_problem_details_t *OpenAPI_extended_problem_details_parseFromJS ogs_error("OpenAPI_extended_problem_details_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *access_token_error = cJSON_GetObjectItemCaseSensitive(extended_problem_detailsJSON, "accessTokenError"); OpenAPI_access_token_err_t *access_token_error_local_nonprim = NULL; if (access_token_error) { access_token_error_local_nonprim = OpenAPI_access_token_err_parseFromJSON(access_token_error); -} + } cJSON *access_token_request = cJSON_GetObjectItemCaseSensitive(extended_problem_detailsJSON, "accessTokenRequest"); OpenAPI_access_token_req_t *access_token_request_local_nonprim = NULL; if (access_token_request) { access_token_request_local_nonprim = OpenAPI_access_token_req_parseFromJSON(access_token_request); -} + } cJSON *nrf_id = cJSON_GetObjectItemCaseSensitive(extended_problem_detailsJSON, "nrfId"); @@ -301,14 +301,14 @@ OpenAPI_extended_problem_details_t *OpenAPI_extended_problem_details_parseFromJS ogs_error("OpenAPI_extended_problem_details_parseFromJSON() failed [nrf_id]"); goto end; } -} + } cJSON *acceptable_serv_info = cJSON_GetObjectItemCaseSensitive(extended_problem_detailsJSON, "acceptableServInfo"); OpenAPI_acceptable_service_info_t *acceptable_serv_info_local_nonprim = NULL; if (acceptable_serv_info) { acceptable_serv_info_local_nonprim = OpenAPI_acceptable_service_info_parseFromJSON(acceptable_serv_info); -} + } extended_problem_details_local_var = OpenAPI_extended_problem_details_create ( type ? ogs_strdup_or_assert(type->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/extended_problem_details_all_of.c b/lib/sbi/openapi/model/extended_problem_details_all_of.c index 073398aaa..a6dcbe899 100644 --- a/lib/sbi/openapi/model/extended_problem_details_all_of.c +++ b/lib/sbi/openapi/model/extended_problem_details_all_of.c @@ -62,7 +62,7 @@ OpenAPI_extended_problem_details_all_of_t *OpenAPI_extended_problem_details_all_ OpenAPI_acceptable_service_info_t *acceptable_serv_info_local_nonprim = NULL; if (acceptable_serv_info) { acceptable_serv_info_local_nonprim = OpenAPI_acceptable_service_info_parseFromJSON(acceptable_serv_info); -} + } extended_problem_details_all_of_local_var = OpenAPI_extended_problem_details_all_of_create ( acceptable_serv_info ? acceptable_serv_info_local_nonprim : NULL diff --git a/lib/sbi/openapi/model/external_unrelated_class.c b/lib/sbi/openapi/model/external_unrelated_class.c index 7d139acf8..bdc92c59a 100644 --- a/lib/sbi/openapi/model/external_unrelated_class.c +++ b/lib/sbi/openapi/model/external_unrelated_class.c @@ -140,7 +140,7 @@ OpenAPI_external_unrelated_class_t *OpenAPI_external_unrelated_class_parseFromJS OpenAPI_list_add(lcs_client_externalsList, lcs_client_externalsItem); } -} + } cJSON *af_externals = cJSON_GetObjectItemCaseSensitive(external_unrelated_classJSON, "afExternals"); @@ -163,7 +163,7 @@ OpenAPI_external_unrelated_class_t *OpenAPI_external_unrelated_class_parseFromJS OpenAPI_list_add(af_externalsList, af_externalsItem); } -} + } cJSON *lcs_client_group_externals = cJSON_GetObjectItemCaseSensitive(external_unrelated_classJSON, "lcsClientGroupExternals"); @@ -186,7 +186,7 @@ OpenAPI_external_unrelated_class_t *OpenAPI_external_unrelated_class_parseFromJS OpenAPI_list_add(lcs_client_group_externalsList, lcs_client_group_externalsItem); } -} + } external_unrelated_class_local_var = OpenAPI_external_unrelated_class_create ( lcs_client_externals ? lcs_client_externalsList : NULL, diff --git a/lib/sbi/openapi/model/flow_info.c b/lib/sbi/openapi/model/flow_info.c index 062836715..853b84e1f 100644 --- a/lib/sbi/openapi/model/flow_info.c +++ b/lib/sbi/openapi/model/flow_info.c @@ -100,7 +100,7 @@ OpenAPI_flow_info_t *OpenAPI_flow_info_parseFromJSON(cJSON *flow_infoJSON) } OpenAPI_list_add(flow_descriptionsList , ogs_strdup_or_assert(flow_descriptions_local->valuestring)); } -} + } flow_info_local_var = OpenAPI_flow_info_create ( flow_id->valuedouble, diff --git a/lib/sbi/openapi/model/flow_information.c b/lib/sbi/openapi/model/flow_information.c index 665fc91e8..f00ac5c36 100644 --- a/lib/sbi/openapi/model/flow_information.c +++ b/lib/sbi/openapi/model/flow_information.c @@ -132,14 +132,14 @@ OpenAPI_flow_information_t *OpenAPI_flow_information_parseFromJSON(cJSON *flow_i ogs_error("OpenAPI_flow_information_parseFromJSON() failed [flow_description]"); goto end; } -} + } cJSON *eth_flow_description = cJSON_GetObjectItemCaseSensitive(flow_informationJSON, "ethFlowDescription"); OpenAPI_eth_flow_description_t *eth_flow_description_local_nonprim = NULL; if (eth_flow_description) { eth_flow_description_local_nonprim = OpenAPI_eth_flow_description_parseFromJSON(eth_flow_description); -} + } cJSON *pack_filt_id = cJSON_GetObjectItemCaseSensitive(flow_informationJSON, "packFiltId"); @@ -148,7 +148,7 @@ OpenAPI_flow_information_t *OpenAPI_flow_information_parseFromJSON(cJSON *flow_i ogs_error("OpenAPI_flow_information_parseFromJSON() failed [pack_filt_id]"); goto end; } -} + } cJSON *packet_filter_usage = cJSON_GetObjectItemCaseSensitive(flow_informationJSON, "packetFilterUsage"); @@ -157,7 +157,7 @@ OpenAPI_flow_information_t *OpenAPI_flow_information_parseFromJSON(cJSON *flow_i ogs_error("OpenAPI_flow_information_parseFromJSON() failed [packet_filter_usage]"); goto end; } -} + } cJSON *tos_traffic_class = cJSON_GetObjectItemCaseSensitive(flow_informationJSON, "tosTrafficClass"); @@ -166,7 +166,7 @@ OpenAPI_flow_information_t *OpenAPI_flow_information_parseFromJSON(cJSON *flow_i ogs_error("OpenAPI_flow_information_parseFromJSON() failed [tos_traffic_class]"); goto end; } -} + } cJSON *spi = cJSON_GetObjectItemCaseSensitive(flow_informationJSON, "spi"); @@ -175,7 +175,7 @@ OpenAPI_flow_information_t *OpenAPI_flow_information_parseFromJSON(cJSON *flow_i ogs_error("OpenAPI_flow_information_parseFromJSON() failed [spi]"); goto end; } -} + } cJSON *flow_label = cJSON_GetObjectItemCaseSensitive(flow_informationJSON, "flowLabel"); @@ -184,7 +184,7 @@ OpenAPI_flow_information_t *OpenAPI_flow_information_parseFromJSON(cJSON *flow_i ogs_error("OpenAPI_flow_information_parseFromJSON() failed [flow_label]"); goto end; } -} + } cJSON *flow_direction = cJSON_GetObjectItemCaseSensitive(flow_informationJSON, "flowDirection"); @@ -195,7 +195,7 @@ OpenAPI_flow_information_t *OpenAPI_flow_information_parseFromJSON(cJSON *flow_i goto end; } flow_directionVariable = OpenAPI_flow_direction_FromString(flow_direction->valuestring); -} + } flow_information_local_var = OpenAPI_flow_information_create ( flow_description ? ogs_strdup_or_assert(flow_description->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/flows.c b/lib/sbi/openapi/model/flows.c index 504b7ba08..e2a5b093b 100644 --- a/lib/sbi/openapi/model/flows.c +++ b/lib/sbi/openapi/model/flows.c @@ -110,7 +110,7 @@ OpenAPI_flows_t *OpenAPI_flows_parseFromJSON(cJSON *flowsJSON) } OpenAPI_list_add(cont_versList , &cont_vers_local->valuedouble); } -} + } cJSON *f_nums = cJSON_GetObjectItemCaseSensitive(flowsJSON, "fNums"); @@ -130,7 +130,7 @@ OpenAPI_flows_t *OpenAPI_flows_parseFromJSON(cJSON *flowsJSON) } OpenAPI_list_add(f_numsList , &f_nums_local->valuedouble); } -} + } cJSON *med_comp_n = cJSON_GetObjectItemCaseSensitive(flowsJSON, "medCompN"); if (!med_comp_n) { diff --git a/lib/sbi/openapi/model/frame_route_info.c b/lib/sbi/openapi/model/frame_route_info.c index db6b33d76..de9b0f195 100644 --- a/lib/sbi/openapi/model/frame_route_info.c +++ b/lib/sbi/openapi/model/frame_route_info.c @@ -68,7 +68,7 @@ OpenAPI_frame_route_info_t *OpenAPI_frame_route_info_parseFromJSON(cJSON *frame_ ogs_error("OpenAPI_frame_route_info_parseFromJSON() failed [ipv4_mask]"); goto end; } -} + } cJSON *ipv6_prefix = cJSON_GetObjectItemCaseSensitive(frame_route_infoJSON, "ipv6Prefix"); @@ -77,7 +77,7 @@ OpenAPI_frame_route_info_t *OpenAPI_frame_route_info_parseFromJSON(cJSON *frame_ ogs_error("OpenAPI_frame_route_info_parseFromJSON() failed [ipv6_prefix]"); goto end; } -} + } frame_route_info_local_var = OpenAPI_frame_route_info_create ( ipv4_mask ? ogs_strdup_or_assert(ipv4_mask->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/frame_route_info_1.c b/lib/sbi/openapi/model/frame_route_info_1.c index 6b64b47c9..eb89ea8bf 100644 --- a/lib/sbi/openapi/model/frame_route_info_1.c +++ b/lib/sbi/openapi/model/frame_route_info_1.c @@ -68,7 +68,7 @@ OpenAPI_frame_route_info_1_t *OpenAPI_frame_route_info_1_parseFromJSON(cJSON *fr ogs_error("OpenAPI_frame_route_info_1_parseFromJSON() failed [ipv4_mask]"); goto end; } -} + } cJSON *ipv6_prefix = cJSON_GetObjectItemCaseSensitive(frame_route_info_1JSON, "ipv6Prefix"); @@ -77,7 +77,7 @@ OpenAPI_frame_route_info_1_t *OpenAPI_frame_route_info_1_parseFromJSON(cJSON *fr ogs_error("OpenAPI_frame_route_info_1_parseFromJSON() failed [ipv6_prefix]"); goto end; } -} + } frame_route_info_1_local_var = OpenAPI_frame_route_info_1_create ( ipv4_mask ? ogs_strdup_or_assert(ipv4_mask->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/gbr_qos_flow_information.c b/lib/sbi/openapi/model/gbr_qos_flow_information.c index 58e94e425..5e95fb98d 100644 --- a/lib/sbi/openapi/model/gbr_qos_flow_information.c +++ b/lib/sbi/openapi/model/gbr_qos_flow_information.c @@ -183,7 +183,7 @@ OpenAPI_gbr_qos_flow_information_t *OpenAPI_gbr_qos_flow_information_parseFromJS goto end; } notif_controlVariable = OpenAPI_notification_control_FromString(notif_control->valuestring); -} + } cJSON *max_packet_loss_rate_dl = cJSON_GetObjectItemCaseSensitive(gbr_qos_flow_informationJSON, "maxPacketLossRateDl"); @@ -192,7 +192,7 @@ OpenAPI_gbr_qos_flow_information_t *OpenAPI_gbr_qos_flow_information_parseFromJS ogs_error("OpenAPI_gbr_qos_flow_information_parseFromJSON() failed [max_packet_loss_rate_dl]"); goto end; } -} + } cJSON *max_packet_loss_rate_ul = cJSON_GetObjectItemCaseSensitive(gbr_qos_flow_informationJSON, "maxPacketLossRateUl"); @@ -201,7 +201,7 @@ OpenAPI_gbr_qos_flow_information_t *OpenAPI_gbr_qos_flow_information_parseFromJS ogs_error("OpenAPI_gbr_qos_flow_information_parseFromJSON() failed [max_packet_loss_rate_ul]"); goto end; } -} + } cJSON *alternative_qos_profile_list = cJSON_GetObjectItemCaseSensitive(gbr_qos_flow_informationJSON, "alternativeQosProfileList"); @@ -224,7 +224,7 @@ OpenAPI_gbr_qos_flow_information_t *OpenAPI_gbr_qos_flow_information_parseFromJS OpenAPI_list_add(alternative_qos_profile_listList, alternative_qos_profile_listItem); } -} + } gbr_qos_flow_information_local_var = OpenAPI_gbr_qos_flow_information_create ( ogs_strdup_or_assert(max_fbr_dl->valuestring), diff --git a/lib/sbi/openapi/model/global_ran_node_id.c b/lib/sbi/openapi/model/global_ran_node_id.c index 80f7673dd..2cca3291f 100644 --- a/lib/sbi/openapi/model/global_ran_node_id.c +++ b/lib/sbi/openapi/model/global_ran_node_id.c @@ -148,14 +148,14 @@ OpenAPI_global_ran_node_id_t *OpenAPI_global_ran_node_id_parseFromJSON(cJSON *gl ogs_error("OpenAPI_global_ran_node_id_parseFromJSON() failed [n3_iwf_id]"); goto end; } -} + } cJSON *g_nb_id = cJSON_GetObjectItemCaseSensitive(global_ran_node_idJSON, "gNbId"); OpenAPI_gnb_id_t *g_nb_id_local_nonprim = NULL; if (g_nb_id) { g_nb_id_local_nonprim = OpenAPI_gnb_id_parseFromJSON(g_nb_id); -} + } cJSON *nge_nb_id = cJSON_GetObjectItemCaseSensitive(global_ran_node_idJSON, "ngeNbId"); @@ -164,7 +164,7 @@ OpenAPI_global_ran_node_id_t *OpenAPI_global_ran_node_id_parseFromJSON(cJSON *gl ogs_error("OpenAPI_global_ran_node_id_parseFromJSON() failed [nge_nb_id]"); goto end; } -} + } cJSON *wagf_id = cJSON_GetObjectItemCaseSensitive(global_ran_node_idJSON, "wagfId"); @@ -173,7 +173,7 @@ OpenAPI_global_ran_node_id_t *OpenAPI_global_ran_node_id_parseFromJSON(cJSON *gl ogs_error("OpenAPI_global_ran_node_id_parseFromJSON() failed [wagf_id]"); goto end; } -} + } cJSON *tngf_id = cJSON_GetObjectItemCaseSensitive(global_ran_node_idJSON, "tngfId"); @@ -182,7 +182,7 @@ OpenAPI_global_ran_node_id_t *OpenAPI_global_ran_node_id_parseFromJSON(cJSON *gl ogs_error("OpenAPI_global_ran_node_id_parseFromJSON() failed [tngf_id]"); goto end; } -} + } cJSON *nid = cJSON_GetObjectItemCaseSensitive(global_ran_node_idJSON, "nid"); @@ -191,7 +191,7 @@ OpenAPI_global_ran_node_id_t *OpenAPI_global_ran_node_id_parseFromJSON(cJSON *gl ogs_error("OpenAPI_global_ran_node_id_parseFromJSON() failed [nid]"); goto end; } -} + } cJSON *e_nb_id = cJSON_GetObjectItemCaseSensitive(global_ran_node_idJSON, "eNbId"); @@ -200,7 +200,7 @@ OpenAPI_global_ran_node_id_t *OpenAPI_global_ran_node_id_parseFromJSON(cJSON *gl ogs_error("OpenAPI_global_ran_node_id_parseFromJSON() failed [e_nb_id]"); goto end; } -} + } global_ran_node_id_local_var = OpenAPI_global_ran_node_id_create ( plmn_id_local_nonprim, diff --git a/lib/sbi/openapi/model/global_ran_node_id_1.c b/lib/sbi/openapi/model/global_ran_node_id_1.c index b74ea8102..7fdfb5462 100644 --- a/lib/sbi/openapi/model/global_ran_node_id_1.c +++ b/lib/sbi/openapi/model/global_ran_node_id_1.c @@ -148,14 +148,14 @@ OpenAPI_global_ran_node_id_1_t *OpenAPI_global_ran_node_id_1_parseFromJSON(cJSON ogs_error("OpenAPI_global_ran_node_id_1_parseFromJSON() failed [n3_iwf_id]"); goto end; } -} + } cJSON *g_nb_id = cJSON_GetObjectItemCaseSensitive(global_ran_node_id_1JSON, "gNbId"); OpenAPI_gnb_id_t *g_nb_id_local_nonprim = NULL; if (g_nb_id) { g_nb_id_local_nonprim = OpenAPI_gnb_id_parseFromJSON(g_nb_id); -} + } cJSON *nge_nb_id = cJSON_GetObjectItemCaseSensitive(global_ran_node_id_1JSON, "ngeNbId"); @@ -164,7 +164,7 @@ OpenAPI_global_ran_node_id_1_t *OpenAPI_global_ran_node_id_1_parseFromJSON(cJSON ogs_error("OpenAPI_global_ran_node_id_1_parseFromJSON() failed [nge_nb_id]"); goto end; } -} + } cJSON *wagf_id = cJSON_GetObjectItemCaseSensitive(global_ran_node_id_1JSON, "wagfId"); @@ -173,7 +173,7 @@ OpenAPI_global_ran_node_id_1_t *OpenAPI_global_ran_node_id_1_parseFromJSON(cJSON ogs_error("OpenAPI_global_ran_node_id_1_parseFromJSON() failed [wagf_id]"); goto end; } -} + } cJSON *tngf_id = cJSON_GetObjectItemCaseSensitive(global_ran_node_id_1JSON, "tngfId"); @@ -182,7 +182,7 @@ OpenAPI_global_ran_node_id_1_t *OpenAPI_global_ran_node_id_1_parseFromJSON(cJSON ogs_error("OpenAPI_global_ran_node_id_1_parseFromJSON() failed [tngf_id]"); goto end; } -} + } cJSON *nid = cJSON_GetObjectItemCaseSensitive(global_ran_node_id_1JSON, "nid"); @@ -191,7 +191,7 @@ OpenAPI_global_ran_node_id_1_t *OpenAPI_global_ran_node_id_1_parseFromJSON(cJSON ogs_error("OpenAPI_global_ran_node_id_1_parseFromJSON() failed [nid]"); goto end; } -} + } cJSON *e_nb_id = cJSON_GetObjectItemCaseSensitive(global_ran_node_id_1JSON, "eNbId"); @@ -200,7 +200,7 @@ OpenAPI_global_ran_node_id_1_t *OpenAPI_global_ran_node_id_1_parseFromJSON(cJSON ogs_error("OpenAPI_global_ran_node_id_1_parseFromJSON() failed [e_nb_id]"); goto end; } -} + } global_ran_node_id_1_local_var = OpenAPI_global_ran_node_id_1_create ( plmn_id_local_nonprim, diff --git a/lib/sbi/openapi/model/gmlc_info.c b/lib/sbi/openapi/model/gmlc_info.c index 420d45bc5..926e369bd 100644 --- a/lib/sbi/openapi/model/gmlc_info.c +++ b/lib/sbi/openapi/model/gmlc_info.c @@ -88,7 +88,7 @@ OpenAPI_gmlc_info_t *OpenAPI_gmlc_info_parseFromJSON(cJSON *gmlc_infoJSON) OpenAPI_list_add(serving_client_typesList, serving_client_typesItem); } -} + } gmlc_info_local_var = OpenAPI_gmlc_info_create ( serving_client_types ? serving_client_typesList : NULL diff --git a/lib/sbi/openapi/model/group_identifiers.c b/lib/sbi/openapi/model/group_identifiers.c index daf89853c..29acdb1ec 100644 --- a/lib/sbi/openapi/model/group_identifiers.c +++ b/lib/sbi/openapi/model/group_identifiers.c @@ -94,7 +94,7 @@ OpenAPI_group_identifiers_t *OpenAPI_group_identifiers_parseFromJSON(cJSON *grou ogs_error("OpenAPI_group_identifiers_parseFromJSON() failed [ext_group_id]"); goto end; } -} + } cJSON *int_group_id = cJSON_GetObjectItemCaseSensitive(group_identifiersJSON, "intGroupId"); @@ -103,7 +103,7 @@ OpenAPI_group_identifiers_t *OpenAPI_group_identifiers_parseFromJSON(cJSON *grou ogs_error("OpenAPI_group_identifiers_parseFromJSON() failed [int_group_id]"); goto end; } -} + } cJSON *ue_id_list = cJSON_GetObjectItemCaseSensitive(group_identifiersJSON, "ueIdList"); @@ -126,7 +126,7 @@ OpenAPI_group_identifiers_t *OpenAPI_group_identifiers_parseFromJSON(cJSON *grou OpenAPI_list_add(ue_id_listList, ue_id_listItem); } -} + } group_identifiers_local_var = OpenAPI_group_identifiers_create ( ext_group_id ? ogs_strdup_or_assert(ext_group_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/hsmf_update_data.c b/lib/sbi/openapi/model/hsmf_update_data.c index 669c91e3a..fa5bb5aca 100644 --- a/lib/sbi/openapi/model/hsmf_update_data.c +++ b/lib/sbi/openapi/model/hsmf_update_data.c @@ -848,35 +848,35 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *vcn_tunnel_info = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "vcnTunnelInfo"); OpenAPI_tunnel_info_t *vcn_tunnel_info_local_nonprim = NULL; if (vcn_tunnel_info) { vcn_tunnel_info_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(vcn_tunnel_info); -} + } cJSON *icn_tunnel_info = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "icnTunnelInfo"); OpenAPI_tunnel_info_t *icn_tunnel_info_local_nonprim = NULL; if (icn_tunnel_info) { icn_tunnel_info_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(icn_tunnel_info); -} + } cJSON *additional_cn_tunnel_info = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "additionalCnTunnelInfo"); OpenAPI_tunnel_info_t *additional_cn_tunnel_info_local_nonprim = NULL; if (additional_cn_tunnel_info) { additional_cn_tunnel_info_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(additional_cn_tunnel_info); -} + } cJSON *serving_network = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "servingNetwork"); OpenAPI_plmn_id_nid_t *serving_network_local_nonprim = NULL; if (serving_network) { serving_network_local_nonprim = OpenAPI_plmn_id_nid_parseFromJSON(serving_network); -} + } cJSON *an_type = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "anType"); @@ -887,7 +887,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u goto end; } an_typeVariable = OpenAPI_access_type_FromString(an_type->valuestring); -} + } cJSON *additional_an_type = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "additionalAnType"); @@ -898,7 +898,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u goto end; } additional_an_typeVariable = OpenAPI_access_type_FromString(additional_an_type->valuestring); -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "ratType"); @@ -909,14 +909,14 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u goto end; } rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring); -} + } cJSON *ue_location = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "ueLocation"); OpenAPI_user_location_t *ue_location_local_nonprim = NULL; if (ue_location) { ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_location); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "ueTimeZone"); @@ -925,14 +925,14 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *add_ue_location = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "addUeLocation"); OpenAPI_user_location_t *add_ue_location_local_nonprim = NULL; if (add_ue_location) { add_ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(add_ue_location); -} + } cJSON *pause_charging = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "pauseCharging"); @@ -941,7 +941,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [pause_charging]"); goto end; } -} + } cJSON *pti = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "pti"); @@ -950,21 +950,21 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [pti]"); goto end; } -} + } cJSON *n1_sm_info_from_ue = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "n1SmInfoFromUe"); OpenAPI_ref_to_binary_data_t *n1_sm_info_from_ue_local_nonprim = NULL; if (n1_sm_info_from_ue) { n1_sm_info_from_ue_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_info_from_ue); -} + } cJSON *unknown_n1_sm_info = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "unknownN1SmInfo"); OpenAPI_ref_to_binary_data_t *unknown_n1_sm_info_local_nonprim = NULL; if (unknown_n1_sm_info) { unknown_n1_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(unknown_n1_sm_info); -} + } cJSON *qos_flows_rel_notify_list = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "qosFlowsRelNotifyList"); @@ -987,7 +987,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u OpenAPI_list_add(qos_flows_rel_notify_listList, qos_flows_rel_notify_listItem); } -} + } cJSON *qos_flows_notify_list = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "qosFlowsNotifyList"); @@ -1010,7 +1010,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u OpenAPI_list_add(qos_flows_notify_listList, qos_flows_notify_listItem); } -} + } cJSON *notify_list = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "NotifyList"); @@ -1033,7 +1033,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u OpenAPI_list_add(notify_listList, notify_listItem); } -} + } cJSON *eps_bearer_id = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "epsBearerId"); @@ -1053,7 +1053,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u } OpenAPI_list_add(eps_bearer_idList , &eps_bearer_id_local->valuedouble); } -} + } cJSON *ho_preparation_indication = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "hoPreparationIndication"); @@ -1062,7 +1062,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [ho_preparation_indication]"); goto end; } -} + } cJSON *revoke_ebi_list = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "revokeEbiList"); @@ -1082,7 +1082,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u } OpenAPI_list_add(revoke_ebi_listList , &revoke_ebi_list_local->valuedouble); } -} + } cJSON *cause = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "cause"); @@ -1093,14 +1093,14 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u goto end; } causeVariable = OpenAPI_cause_FromString(cause->valuestring); -} + } cJSON *ng_ap_cause = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "ngApCause"); OpenAPI_ng_ap_cause_t *ng_ap_cause_local_nonprim = NULL; if (ng_ap_cause) { ng_ap_cause_local_nonprim = OpenAPI_ng_ap_cause_parseFromJSON(ng_ap_cause); -} + } cJSON *_5g_mm_cause_value = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "5gMmCauseValue"); @@ -1109,7 +1109,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [_5g_mm_cause_value]"); goto end; } -} + } cJSON *always_on_requested = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "alwaysOnRequested"); @@ -1118,7 +1118,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [always_on_requested]"); goto end; } -} + } cJSON *eps_interworking_ind = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "epsInterworkingInd"); @@ -1129,7 +1129,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u goto end; } eps_interworking_indVariable = OpenAPI_eps_interworking_indication_FromString(eps_interworking_ind->valuestring); -} + } cJSON *secondary_rat_usage_report = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "secondaryRatUsageReport"); @@ -1152,7 +1152,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u OpenAPI_list_add(secondary_rat_usage_reportList, secondary_rat_usage_reportItem); } -} + } cJSON *secondary_rat_usage_info = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "secondaryRatUsageInfo"); @@ -1175,7 +1175,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u OpenAPI_list_add(secondary_rat_usage_infoList, secondary_rat_usage_infoItem); } -} + } cJSON *an_type_can_be_changed = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "anTypeCanBeChanged"); @@ -1184,7 +1184,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [an_type_can_be_changed]"); goto end; } -} + } cJSON *ma_release_ind = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "maReleaseInd"); @@ -1195,7 +1195,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u goto end; } ma_release_indVariable = OpenAPI_ma_release_indication_FromString(ma_release_ind->valuestring); -} + } cJSON *ma_nw_upgrade_ind = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "maNwUpgradeInd"); @@ -1204,7 +1204,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [ma_nw_upgrade_ind]"); goto end; } -} + } cJSON *ma_request_ind = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "maRequestInd"); @@ -1213,7 +1213,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [ma_request_ind]"); goto end; } -} + } cJSON *unavailable_access_ind = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "unavailableAccessInd"); @@ -1224,7 +1224,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u goto end; } unavailable_access_indVariable = OpenAPI_unavailable_access_indication_FromString(unavailable_access_ind->valuestring); -} + } cJSON *psa_info = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "psaInfo"); @@ -1247,35 +1247,35 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u OpenAPI_list_add(psa_infoList, psa_infoItem); } -} + } cJSON *ulcl_bp_info = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "ulclBpInfo"); OpenAPI_ulcl_bp_information_t *ulcl_bp_info_local_nonprim = NULL; if (ulcl_bp_info) { ulcl_bp_info_local_nonprim = OpenAPI_ulcl_bp_information_parseFromJSON(ulcl_bp_info); -} + } cJSON *n4_info = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "n4Info"); OpenAPI_n4_information_t *n4_info_local_nonprim = NULL; if (n4_info) { n4_info_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info); -} + } cJSON *n4_info_ext1 = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "n4InfoExt1"); OpenAPI_n4_information_t *n4_info_ext1_local_nonprim = NULL; if (n4_info_ext1) { n4_info_ext1_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext1); -} + } cJSON *n4_info_ext2 = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "n4InfoExt2"); OpenAPI_n4_information_t *n4_info_ext2_local_nonprim = NULL; if (n4_info_ext2) { n4_info_ext2_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext2); -} + } cJSON *presence_in_ladn = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "presenceInLadn"); @@ -1286,7 +1286,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u goto end; } presence_in_ladnVariable = OpenAPI_presence_state_FromString(presence_in_ladn->valuestring); -} + } cJSON *vsmf_pdu_session_uri = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "vsmfPduSessionUri"); @@ -1295,7 +1295,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [vsmf_pdu_session_uri]"); goto end; } -} + } cJSON *vsmf_id = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "vsmfId"); @@ -1304,7 +1304,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [vsmf_id]"); goto end; } -} + } cJSON *v_smf_service_instance_id = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "vSmfServiceInstanceId"); @@ -1313,7 +1313,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [v_smf_service_instance_id]"); goto end; } -} + } cJSON *ismf_pdu_session_uri = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "ismfPduSessionUri"); @@ -1322,7 +1322,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [ismf_pdu_session_uri]"); goto end; } -} + } cJSON *ismf_id = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "ismfId"); @@ -1331,7 +1331,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [ismf_id]"); goto end; } -} + } cJSON *i_smf_service_instance_id = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "iSmfServiceInstanceId"); @@ -1340,7 +1340,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [i_smf_service_instance_id]"); goto end; } -} + } cJSON *dl_serving_plmn_rate_ctl = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "dlServingPlmnRateCtl"); @@ -1349,7 +1349,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [dl_serving_plmn_rate_ctl]"); goto end; } -} + } cJSON *dnai_list = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "dnaiList"); @@ -1369,7 +1369,7 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u } OpenAPI_list_add(dnai_listList , ogs_strdup_or_assert(dnai_list_local->valuestring)); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "supportedFeatures"); @@ -1378,42 +1378,42 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *roaming_charging_profile = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "roamingChargingProfile"); OpenAPI_roaming_charging_profile_t *roaming_charging_profile_local_nonprim = NULL; if (roaming_charging_profile) { roaming_charging_profile_local_nonprim = OpenAPI_roaming_charging_profile_parseFromJSON(roaming_charging_profile); -} + } cJSON *mo_exp_data_counter = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "moExpDataCounter"); OpenAPI_mo_exp_data_counter_t *mo_exp_data_counter_local_nonprim = NULL; if (mo_exp_data_counter) { mo_exp_data_counter_local_nonprim = OpenAPI_mo_exp_data_counter_parseFromJSON(mo_exp_data_counter); -} + } cJSON *vplmn_qos = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "vplmnQos"); OpenAPI_vplmn_qos_t *vplmn_qos_local_nonprim = NULL; if (vplmn_qos) { vplmn_qos_local_nonprim = OpenAPI_vplmn_qos_parseFromJSON(vplmn_qos); -} + } cJSON *security_result = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "securityResult"); OpenAPI_security_result_t *security_result_local_nonprim = NULL; if (security_result) { security_result_local_nonprim = OpenAPI_security_result_parseFromJSON(security_result); -} + } cJSON *up_security_info = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "upSecurityInfo"); OpenAPI_up_security_info_t *up_security_info_local_nonprim = NULL; if (up_security_info) { up_security_info_local_nonprim = OpenAPI_up_security_info_parseFromJSON(up_security_info); -} + } cJSON *amf_nf_id = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "amfNfId"); @@ -1422,14 +1422,14 @@ OpenAPI_hsmf_update_data_t *OpenAPI_hsmf_update_data_parseFromJSON(cJSON *hsmf_u ogs_error("OpenAPI_hsmf_update_data_parseFromJSON() failed [amf_nf_id]"); goto end; } -} + } cJSON *guami = cJSON_GetObjectItemCaseSensitive(hsmf_update_dataJSON, "guami"); OpenAPI_guami_t *guami_local_nonprim = NULL; if (guami) { guami_local_nonprim = OpenAPI_guami_parseFromJSON(guami); -} + } hsmf_update_data_local_var = OpenAPI_hsmf_update_data_create ( request_indicationVariable, diff --git a/lib/sbi/openapi/model/hsmf_update_error.c b/lib/sbi/openapi/model/hsmf_update_error.c index a521a6f0e..ec8d4efbc 100644 --- a/lib/sbi/openapi/model/hsmf_update_error.c +++ b/lib/sbi/openapi/model/hsmf_update_error.c @@ -126,7 +126,7 @@ OpenAPI_hsmf_update_error_t *OpenAPI_hsmf_update_error_parseFromJSON(cJSON *hsmf ogs_error("OpenAPI_hsmf_update_error_parseFromJSON() failed [pti]"); goto end; } -} + } cJSON *n1sm_cause = cJSON_GetObjectItemCaseSensitive(hsmf_update_errorJSON, "n1smCause"); @@ -135,14 +135,14 @@ OpenAPI_hsmf_update_error_t *OpenAPI_hsmf_update_error_parseFromJSON(cJSON *hsmf ogs_error("OpenAPI_hsmf_update_error_parseFromJSON() failed [n1sm_cause]"); goto end; } -} + } cJSON *n1_sm_info_to_ue = cJSON_GetObjectItemCaseSensitive(hsmf_update_errorJSON, "n1SmInfoToUe"); OpenAPI_ref_to_binary_data_t *n1_sm_info_to_ue_local_nonprim = NULL; if (n1_sm_info_to_ue) { n1_sm_info_to_ue_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_info_to_ue); -} + } cJSON *back_off_timer = cJSON_GetObjectItemCaseSensitive(hsmf_update_errorJSON, "backOffTimer"); @@ -151,7 +151,7 @@ OpenAPI_hsmf_update_error_t *OpenAPI_hsmf_update_error_parseFromJSON(cJSON *hsmf ogs_error("OpenAPI_hsmf_update_error_parseFromJSON() failed [back_off_timer]"); goto end; } -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(hsmf_update_errorJSON, "recoveryTime"); @@ -160,7 +160,7 @@ OpenAPI_hsmf_update_error_t *OpenAPI_hsmf_update_error_parseFromJSON(cJSON *hsmf ogs_error("OpenAPI_hsmf_update_error_parseFromJSON() failed [recovery_time]"); goto end; } -} + } hsmf_update_error_local_var = OpenAPI_hsmf_update_error_create ( error_local_nonprim, diff --git a/lib/sbi/openapi/model/hsmf_updated_data.c b/lib/sbi/openapi/model/hsmf_updated_data.c index 8afba75e7..1c35d07e0 100644 --- a/lib/sbi/openapi/model/hsmf_updated_data.c +++ b/lib/sbi/openapi/model/hsmf_updated_data.c @@ -294,28 +294,28 @@ OpenAPI_hsmf_updated_data_t *OpenAPI_hsmf_updated_data_parseFromJSON(cJSON *hsmf OpenAPI_ref_to_binary_data_t *n1_sm_info_to_ue_local_nonprim = NULL; if (n1_sm_info_to_ue) { n1_sm_info_to_ue_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_info_to_ue); -} + } cJSON *n4_info = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "n4Info"); OpenAPI_n4_information_t *n4_info_local_nonprim = NULL; if (n4_info) { n4_info_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info); -} + } cJSON *n4_info_ext1 = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "n4InfoExt1"); OpenAPI_n4_information_t *n4_info_ext1_local_nonprim = NULL; if (n4_info_ext1) { n4_info_ext1_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext1); -} + } cJSON *n4_info_ext2 = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "n4InfoExt2"); OpenAPI_n4_information_t *n4_info_ext2_local_nonprim = NULL; if (n4_info_ext2) { n4_info_ext2_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext2); -} + } cJSON *dnai_list = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "dnaiList"); @@ -335,7 +335,7 @@ OpenAPI_hsmf_updated_data_t *OpenAPI_hsmf_updated_data_parseFromJSON(cJSON *hsmf } OpenAPI_list_add(dnai_listList , ogs_strdup_or_assert(dnai_list_local->valuestring)); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "supportedFeatures"); @@ -344,21 +344,21 @@ OpenAPI_hsmf_updated_data_t *OpenAPI_hsmf_updated_data_parseFromJSON(cJSON *hsmf ogs_error("OpenAPI_hsmf_updated_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *roaming_charging_profile = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "roamingChargingProfile"); OpenAPI_roaming_charging_profile_t *roaming_charging_profile_local_nonprim = NULL; if (roaming_charging_profile) { roaming_charging_profile_local_nonprim = OpenAPI_roaming_charging_profile_parseFromJSON(roaming_charging_profile); -} + } cJSON *up_security = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "upSecurity"); OpenAPI_up_security_t *up_security_local_nonprim = NULL; if (up_security) { up_security_local_nonprim = OpenAPI_up_security_parseFromJSON(up_security); -} + } cJSON *max_integrity_protected_data_rate_ul = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "maxIntegrityProtectedDataRateUl"); @@ -369,7 +369,7 @@ OpenAPI_hsmf_updated_data_t *OpenAPI_hsmf_updated_data_parseFromJSON(cJSON *hsmf goto end; } max_integrity_protected_data_rate_ulVariable = OpenAPI_max_integrity_protected_data_rate_FromString(max_integrity_protected_data_rate_ul->valuestring); -} + } cJSON *max_integrity_protected_data_rate_dl = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "maxIntegrityProtectedDataRateDl"); @@ -380,7 +380,7 @@ OpenAPI_hsmf_updated_data_t *OpenAPI_hsmf_updated_data_parseFromJSON(cJSON *hsmf goto end; } max_integrity_protected_data_rate_dlVariable = OpenAPI_max_integrity_protected_data_rate_FromString(max_integrity_protected_data_rate_dl->valuestring); -} + } cJSON *ipv6_multi_homing_ind = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "ipv6MultiHomingInd"); @@ -389,7 +389,7 @@ OpenAPI_hsmf_updated_data_t *OpenAPI_hsmf_updated_data_parseFromJSON(cJSON *hsmf ogs_error("OpenAPI_hsmf_updated_data_parseFromJSON() failed [ipv6_multi_homing_ind]"); goto end; } -} + } cJSON *qos_flows_setup_list = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "qosFlowsSetupList"); @@ -412,21 +412,21 @@ OpenAPI_hsmf_updated_data_t *OpenAPI_hsmf_updated_data_parseFromJSON(cJSON *hsmf OpenAPI_list_add(qos_flows_setup_listList, qos_flows_setup_listItem); } -} + } cJSON *session_ambr = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "sessionAmbr"); OpenAPI_ambr_t *session_ambr_local_nonprim = NULL; if (session_ambr) { session_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(session_ambr); -} + } cJSON *eps_pdn_cnx_info = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "epsPdnCnxInfo"); OpenAPI_eps_pdn_cnx_info_t *eps_pdn_cnx_info_local_nonprim = NULL; if (eps_pdn_cnx_info) { eps_pdn_cnx_info_local_nonprim = OpenAPI_eps_pdn_cnx_info_parseFromJSON(eps_pdn_cnx_info); -} + } cJSON *eps_bearer_info = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "epsBearerInfo"); @@ -449,7 +449,7 @@ OpenAPI_hsmf_updated_data_t *OpenAPI_hsmf_updated_data_parseFromJSON(cJSON *hsmf OpenAPI_list_add(eps_bearer_infoList, eps_bearer_infoItem); } -} + } cJSON *pti = cJSON_GetObjectItemCaseSensitive(hsmf_updated_dataJSON, "pti"); @@ -458,7 +458,7 @@ OpenAPI_hsmf_updated_data_t *OpenAPI_hsmf_updated_data_parseFromJSON(cJSON *hsmf ogs_error("OpenAPI_hsmf_updated_data_parseFromJSON() failed [pti]"); goto end; } -} + } hsmf_updated_data_local_var = OpenAPI_hsmf_updated_data_create ( n1_sm_info_to_ue ? n1_sm_info_to_ue_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/hss_authentication_info_request.c b/lib/sbi/openapi/model/hss_authentication_info_request.c index 80d720787..99d5fc1c2 100644 --- a/lib/sbi/openapi/model/hss_authentication_info_request.c +++ b/lib/sbi/openapi/model/hss_authentication_info_request.c @@ -122,7 +122,7 @@ OpenAPI_hss_authentication_info_request_t *OpenAPI_hss_authentication_info_reque ogs_error("OpenAPI_hss_authentication_info_request_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *hss_auth_type = cJSON_GetObjectItemCaseSensitive(hss_authentication_info_requestJSON, "hssAuthType"); if (!hss_auth_type) { @@ -159,21 +159,21 @@ OpenAPI_hss_authentication_info_request_t *OpenAPI_hss_authentication_info_reque goto end; } requesting_node_typeVariable = OpenAPI_node_type_FromString(requesting_node_type->valuestring); -} + } cJSON *serving_network_id = cJSON_GetObjectItemCaseSensitive(hss_authentication_info_requestJSON, "servingNetworkId"); OpenAPI_plmn_id_t *serving_network_id_local_nonprim = NULL; if (serving_network_id) { serving_network_id_local_nonprim = OpenAPI_plmn_id_parseFromJSON(serving_network_id); -} + } cJSON *resynchronization_info = cJSON_GetObjectItemCaseSensitive(hss_authentication_info_requestJSON, "resynchronizationInfo"); OpenAPI_resynchronization_info_t *resynchronization_info_local_nonprim = NULL; if (resynchronization_info) { resynchronization_info_local_nonprim = OpenAPI_resynchronization_info_parseFromJSON(resynchronization_info); -} + } cJSON *an_id = cJSON_GetObjectItemCaseSensitive(hss_authentication_info_requestJSON, "anId"); @@ -184,7 +184,7 @@ OpenAPI_hss_authentication_info_request_t *OpenAPI_hss_authentication_info_reque goto end; } an_idVariable = OpenAPI_access_network_id_FromString(an_id->valuestring); -} + } hss_authentication_info_request_local_var = OpenAPI_hss_authentication_info_request_create ( supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/hss_authentication_info_result.c b/lib/sbi/openapi/model/hss_authentication_info_result.c index 995554197..8e74e149d 100644 --- a/lib/sbi/openapi/model/hss_authentication_info_result.c +++ b/lib/sbi/openapi/model/hss_authentication_info_result.c @@ -72,7 +72,7 @@ OpenAPI_hss_authentication_info_result_t *OpenAPI_hss_authentication_info_result ogs_error("OpenAPI_hss_authentication_info_result_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *hss_authentication_vectors = cJSON_GetObjectItemCaseSensitive(hss_authentication_info_resultJSON, "hssAuthenticationVectors"); if (!hss_authentication_vectors) { diff --git a/lib/sbi/openapi/model/hss_info.c b/lib/sbi/openapi/model/hss_info.c index 99acf12cd..074acb03c 100644 --- a/lib/sbi/openapi/model/hss_info.c +++ b/lib/sbi/openapi/model/hss_info.c @@ -162,7 +162,7 @@ OpenAPI_hss_info_t *OpenAPI_hss_info_parseFromJSON(cJSON *hss_infoJSON) ogs_error("OpenAPI_hss_info_parseFromJSON() failed [group_id]"); goto end; } -} + } cJSON *imsi_ranges = cJSON_GetObjectItemCaseSensitive(hss_infoJSON, "imsiRanges"); @@ -185,7 +185,7 @@ OpenAPI_hss_info_t *OpenAPI_hss_info_parseFromJSON(cJSON *hss_infoJSON) OpenAPI_list_add(imsi_rangesList, imsi_rangesItem); } -} + } cJSON *ims_private_identity_ranges = cJSON_GetObjectItemCaseSensitive(hss_infoJSON, "imsPrivateIdentityRanges"); @@ -208,7 +208,7 @@ OpenAPI_hss_info_t *OpenAPI_hss_info_parseFromJSON(cJSON *hss_infoJSON) OpenAPI_list_add(ims_private_identity_rangesList, ims_private_identity_rangesItem); } -} + } cJSON *ims_public_identity_ranges = cJSON_GetObjectItemCaseSensitive(hss_infoJSON, "imsPublicIdentityRanges"); @@ -231,7 +231,7 @@ OpenAPI_hss_info_t *OpenAPI_hss_info_parseFromJSON(cJSON *hss_infoJSON) OpenAPI_list_add(ims_public_identity_rangesList, ims_public_identity_rangesItem); } -} + } cJSON *msisdn_ranges = cJSON_GetObjectItemCaseSensitive(hss_infoJSON, "msisdnRanges"); @@ -254,7 +254,7 @@ OpenAPI_hss_info_t *OpenAPI_hss_info_parseFromJSON(cJSON *hss_infoJSON) OpenAPI_list_add(msisdn_rangesList, msisdn_rangesItem); } -} + } hss_info_local_var = OpenAPI_hss_info_create ( group_id ? ogs_strdup_or_assert(group_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/id_translation_result.c b/lib/sbi/openapi/model/id_translation_result.c index 98cf08859..99b69a6db 100644 --- a/lib/sbi/openapi/model/id_translation_result.c +++ b/lib/sbi/openapi/model/id_translation_result.c @@ -76,7 +76,7 @@ OpenAPI_id_translation_result_t *OpenAPI_id_translation_result_parseFromJSON(cJS ogs_error("OpenAPI_id_translation_result_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(id_translation_resultJSON, "supi"); if (!supi) { @@ -97,7 +97,7 @@ OpenAPI_id_translation_result_t *OpenAPI_id_translation_result_parseFromJSON(cJS ogs_error("OpenAPI_id_translation_result_parseFromJSON() failed [gpsi]"); goto end; } -} + } id_translation_result_local_var = OpenAPI_id_translation_result_create ( supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/identity_data.c b/lib/sbi/openapi/model/identity_data.c index ca1f88d13..b6d1fcf9b 100644 --- a/lib/sbi/openapi/model/identity_data.c +++ b/lib/sbi/openapi/model/identity_data.c @@ -103,7 +103,7 @@ OpenAPI_identity_data_t *OpenAPI_identity_data_parseFromJSON(cJSON *identity_dat } OpenAPI_list_add(supi_listList , ogs_strdup_or_assert(supi_list_local->valuestring)); } -} + } cJSON *gpsi_list = cJSON_GetObjectItemCaseSensitive(identity_dataJSON, "gpsiList"); @@ -123,7 +123,7 @@ OpenAPI_identity_data_t *OpenAPI_identity_data_parseFromJSON(cJSON *identity_dat } OpenAPI_list_add(gpsi_listList , ogs_strdup_or_assert(gpsi_list_local->valuestring)); } -} + } identity_data_local_var = OpenAPI_identity_data_create ( supi_list ? supi_listList : NULL, diff --git a/lib/sbi/openapi/model/identity_range.c b/lib/sbi/openapi/model/identity_range.c index 33795f917..ec9f37e9b 100644 --- a/lib/sbi/openapi/model/identity_range.c +++ b/lib/sbi/openapi/model/identity_range.c @@ -78,7 +78,7 @@ OpenAPI_identity_range_t *OpenAPI_identity_range_parseFromJSON(cJSON *identity_r ogs_error("OpenAPI_identity_range_parseFromJSON() failed [start]"); goto end; } -} + } cJSON *end = cJSON_GetObjectItemCaseSensitive(identity_rangeJSON, "end"); @@ -87,7 +87,7 @@ OpenAPI_identity_range_t *OpenAPI_identity_range_parseFromJSON(cJSON *identity_r ogs_error("OpenAPI_identity_range_parseFromJSON() failed [end]"); goto end; } -} + } cJSON *pattern = cJSON_GetObjectItemCaseSensitive(identity_rangeJSON, "pattern"); @@ -96,7 +96,7 @@ OpenAPI_identity_range_t *OpenAPI_identity_range_parseFromJSON(cJSON *identity_r ogs_error("OpenAPI_identity_range_parseFromJSON() failed [pattern]"); goto end; } -} + } identity_range_local_var = OpenAPI_identity_range_create ( start ? ogs_strdup_or_assert(start->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/immediate_mdt_conf.c b/lib/sbi/openapi/model/immediate_mdt_conf.c index 468b7567f..d6aa35621 100644 --- a/lib/sbi/openapi/model/immediate_mdt_conf.c +++ b/lib/sbi/openapi/model/immediate_mdt_conf.c @@ -313,7 +313,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im OpenAPI_list_add(measurement_lte_listList, (void *)OpenAPI_measurement_lte_for_mdt_FromString(measurement_lte_list_local_nonprimitive->valuestring)); } -} + } cJSON *measurement_nr_list = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "measurementNrList"); @@ -335,7 +335,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im OpenAPI_list_add(measurement_nr_listList, (void *)OpenAPI_measurement_nr_for_mdt_FromString(measurement_nr_list_local_nonprimitive->valuestring)); } -} + } cJSON *reporting_trigger_list = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "reportingTriggerList"); @@ -357,7 +357,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im OpenAPI_list_add(reporting_trigger_listList, (void *)OpenAPI_reporting_trigger_FromString(reporting_trigger_list_local_nonprimitive->valuestring)); } -} + } cJSON *report_interval = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "reportInterval"); @@ -368,7 +368,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im goto end; } report_intervalVariable = OpenAPI_report_interval_mdt_FromString(report_interval->valuestring); -} + } cJSON *report_interval_nr = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "reportIntervalNr"); @@ -379,7 +379,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im goto end; } report_interval_nrVariable = OpenAPI_report_interval_nr_mdt_FromString(report_interval_nr->valuestring); -} + } cJSON *report_amount = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "reportAmount"); @@ -390,7 +390,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im goto end; } report_amountVariable = OpenAPI_report_amount_mdt_FromString(report_amount->valuestring); -} + } cJSON *event_threshold_rsrp = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "eventThresholdRsrp"); @@ -399,7 +399,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im ogs_error("OpenAPI_immediate_mdt_conf_parseFromJSON() failed [event_threshold_rsrp]"); goto end; } -} + } cJSON *event_threshold_rsrq = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "eventThresholdRsrq"); @@ -408,7 +408,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im ogs_error("OpenAPI_immediate_mdt_conf_parseFromJSON() failed [event_threshold_rsrq]"); goto end; } -} + } cJSON *event_threshold_rsrp_nr = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "eventThresholdRsrpNr"); @@ -417,7 +417,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im ogs_error("OpenAPI_immediate_mdt_conf_parseFromJSON() failed [event_threshold_rsrp_nr]"); goto end; } -} + } cJSON *event_threshold_rsrq_nr = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "eventThresholdRsrqNr"); @@ -426,7 +426,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im ogs_error("OpenAPI_immediate_mdt_conf_parseFromJSON() failed [event_threshold_rsrq_nr]"); goto end; } -} + } cJSON *collection_period_rmm_lte = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "collectionPeriodRmmLte"); @@ -437,7 +437,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im goto end; } collection_period_rmm_lteVariable = OpenAPI_collection_period_rmm_lte_mdt_FromString(collection_period_rmm_lte->valuestring); -} + } cJSON *collection_period_rmm_nr = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "collectionPeriodRmmNr"); @@ -448,7 +448,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im goto end; } collection_period_rmm_nrVariable = OpenAPI_collection_period_rmm_nr_mdt_FromString(collection_period_rmm_nr->valuestring); -} + } cJSON *measurement_period_lte = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "measurementPeriodLte"); @@ -459,14 +459,14 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im goto end; } measurement_period_lteVariable = OpenAPI_measurement_period_lte_mdt_FromString(measurement_period_lte->valuestring); -} + } cJSON *area_scope = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "areaScope"); OpenAPI_area_scope_t *area_scope_local_nonprim = NULL; if (area_scope) { area_scope_local_nonprim = OpenAPI_area_scope_parseFromJSON(area_scope); -} + } cJSON *positioning_method = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "positioningMethod"); @@ -477,7 +477,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im goto end; } positioning_methodVariable = OpenAPI_positioning_method_mdt_FromString(positioning_method->valuestring); -} + } cJSON *add_positioning_method_list = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "addPositioningMethodList"); @@ -499,7 +499,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im OpenAPI_list_add(add_positioning_method_listList, (void *)OpenAPI_positioning_method_mdt_FromString(add_positioning_method_list_local_nonprimitive->valuestring)); } -} + } cJSON *mdt_allowed_plmn_id_list = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "mdtAllowedPlmnIdList"); @@ -522,7 +522,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im OpenAPI_list_add(mdt_allowed_plmn_id_listList, mdt_allowed_plmn_id_listItem); } -} + } cJSON *sensor_measurement_list = cJSON_GetObjectItemCaseSensitive(immediate_mdt_confJSON, "sensorMeasurementList"); @@ -544,7 +544,7 @@ OpenAPI_immediate_mdt_conf_t *OpenAPI_immediate_mdt_conf_parseFromJSON(cJSON *im OpenAPI_list_add(sensor_measurement_listList, (void *)OpenAPI_sensor_measurement_FromString(sensor_measurement_list_local_nonprimitive->valuestring)); } -} + } immediate_mdt_conf_local_var = OpenAPI_immediate_mdt_conf_create ( job_typeVariable, diff --git a/lib/sbi/openapi/model/imsi_range.c b/lib/sbi/openapi/model/imsi_range.c index f99580cfe..ca7933728 100644 --- a/lib/sbi/openapi/model/imsi_range.c +++ b/lib/sbi/openapi/model/imsi_range.c @@ -78,7 +78,7 @@ OpenAPI_imsi_range_t *OpenAPI_imsi_range_parseFromJSON(cJSON *imsi_rangeJSON) ogs_error("OpenAPI_imsi_range_parseFromJSON() failed [start]"); goto end; } -} + } cJSON *end = cJSON_GetObjectItemCaseSensitive(imsi_rangeJSON, "end"); @@ -87,7 +87,7 @@ OpenAPI_imsi_range_t *OpenAPI_imsi_range_parseFromJSON(cJSON *imsi_rangeJSON) ogs_error("OpenAPI_imsi_range_parseFromJSON() failed [end]"); goto end; } -} + } cJSON *pattern = cJSON_GetObjectItemCaseSensitive(imsi_rangeJSON, "pattern"); @@ -96,7 +96,7 @@ OpenAPI_imsi_range_t *OpenAPI_imsi_range_parseFromJSON(cJSON *imsi_rangeJSON) ogs_error("OpenAPI_imsi_range_parseFromJSON() failed [pattern]"); goto end; } -} + } imsi_range_local_var = OpenAPI_imsi_range_create ( start ? ogs_strdup_or_assert(start->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/indirect_data_forwarding_tunnel_info.c b/lib/sbi/openapi/model/indirect_data_forwarding_tunnel_info.c index 2c94858da..c6ede5775 100644 --- a/lib/sbi/openapi/model/indirect_data_forwarding_tunnel_info.c +++ b/lib/sbi/openapi/model/indirect_data_forwarding_tunnel_info.c @@ -94,7 +94,7 @@ OpenAPI_indirect_data_forwarding_tunnel_info_t *OpenAPI_indirect_data_forwarding ogs_error("OpenAPI_indirect_data_forwarding_tunnel_info_parseFromJSON() failed [ipv4_addr]"); goto end; } -} + } cJSON *ipv6_addr = cJSON_GetObjectItemCaseSensitive(indirect_data_forwarding_tunnel_infoJSON, "ipv6Addr"); @@ -103,7 +103,7 @@ OpenAPI_indirect_data_forwarding_tunnel_info_t *OpenAPI_indirect_data_forwarding ogs_error("OpenAPI_indirect_data_forwarding_tunnel_info_parseFromJSON() failed [ipv6_addr]"); goto end; } -} + } cJSON *gtp_teid = cJSON_GetObjectItemCaseSensitive(indirect_data_forwarding_tunnel_infoJSON, "gtpTeid"); if (!gtp_teid) { @@ -124,7 +124,7 @@ OpenAPI_indirect_data_forwarding_tunnel_info_t *OpenAPI_indirect_data_forwarding ogs_error("OpenAPI_indirect_data_forwarding_tunnel_info_parseFromJSON() failed [drb_id]"); goto end; } -} + } cJSON *additional_tnl_nb = cJSON_GetObjectItemCaseSensitive(indirect_data_forwarding_tunnel_infoJSON, "additionalTnlNb"); @@ -133,7 +133,7 @@ OpenAPI_indirect_data_forwarding_tunnel_info_t *OpenAPI_indirect_data_forwarding ogs_error("OpenAPI_indirect_data_forwarding_tunnel_info_parseFromJSON() failed [additional_tnl_nb]"); goto end; } -} + } indirect_data_forwarding_tunnel_info_local_var = OpenAPI_indirect_data_forwarding_tunnel_info_create ( ipv4_addr ? ogs_strdup_or_assert(ipv4_addr->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/inline_object.c b/lib/sbi/openapi/model/inline_object.c index 661055f88..1313c215b 100644 --- a/lib/sbi/openapi/model/inline_object.c +++ b/lib/sbi/openapi/model/inline_object.c @@ -266,7 +266,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec OpenAPI_ue_context_create_data_t *json_data_local_nonprim = NULL; if (json_data) { json_data_local_nonprim = OpenAPI_ue_context_create_data_parseFromJSON(json_data); -} + } cJSON *binary_data_n2_information = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2Information"); @@ -281,7 +281,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information]"); goto end; } -} + } cJSON *binary_data_n2_information_ext1 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt1"); @@ -296,7 +296,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext1]"); goto end; } -} + } cJSON *binary_data_n2_information_ext2 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt2"); @@ -311,7 +311,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext2]"); goto end; } -} + } cJSON *binary_data_n2_information_ext3 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt3"); @@ -326,7 +326,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext3]"); goto end; } -} + } cJSON *binary_data_n2_information_ext4 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt4"); @@ -341,7 +341,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext4]"); goto end; } -} + } cJSON *binary_data_n2_information_ext5 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt5"); @@ -356,7 +356,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext5]"); goto end; } -} + } cJSON *binary_data_n2_information_ext6 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt6"); @@ -371,7 +371,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext6]"); goto end; } -} + } cJSON *binary_data_n2_information_ext7 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt7"); @@ -386,7 +386,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext7]"); goto end; } -} + } cJSON *binary_data_n2_information_ext8 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt8"); @@ -401,7 +401,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext8]"); goto end; } -} + } cJSON *binary_data_n2_information_ext9 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt9"); @@ -416,7 +416,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext9]"); goto end; } -} + } cJSON *binary_data_n2_information_ext10 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt10"); @@ -431,7 +431,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext10]"); goto end; } -} + } cJSON *binary_data_n2_information_ext11 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt11"); @@ -446,7 +446,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext11]"); goto end; } -} + } cJSON *binary_data_n2_information_ext12 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt12"); @@ -461,7 +461,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext12]"); goto end; } -} + } cJSON *binary_data_n2_information_ext13 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt13"); @@ -476,7 +476,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext13]"); goto end; } -} + } cJSON *binary_data_n2_information_ext14 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt14"); @@ -491,7 +491,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext14]"); goto end; } -} + } cJSON *binary_data_n2_information_ext15 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt15"); @@ -506,7 +506,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext15]"); goto end; } -} + } cJSON *binary_data_n2_information_ext16 = cJSON_GetObjectItemCaseSensitive(inline_objectJSON, "binaryDataN2InformationExt16"); @@ -521,7 +521,7 @@ OpenAPI_inline_object_t *OpenAPI_inline_object_parseFromJSON(cJSON *inline_objec ogs_error("OpenAPI_inline_object_parseFromJSON() failed [binary_data_n2_information_ext16]"); goto end; } -} + } inline_object_local_var = OpenAPI_inline_object_create ( json_data ? json_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/inline_object_1.c b/lib/sbi/openapi/model/inline_object_1.c index cca8efff5..355280ee6 100644 --- a/lib/sbi/openapi/model/inline_object_1.c +++ b/lib/sbi/openapi/model/inline_object_1.c @@ -278,7 +278,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o OpenAPI_ue_context_relocate_data_t *json_data_local_nonprim = NULL; if (json_data) { json_data_local_nonprim = OpenAPI_ue_context_relocate_data_parseFromJSON(json_data); -} + } cJSON *binary_data_gtpc_message = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataGtpcMessage"); @@ -293,7 +293,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_gtpc_message]"); goto end; } -} + } cJSON *binary_data_n2_information = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2Information"); @@ -308,7 +308,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information]"); goto end; } -} + } cJSON *binary_data_n2_information_ext1 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt1"); @@ -323,7 +323,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext1]"); goto end; } -} + } cJSON *binary_data_n2_information_ext2 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt2"); @@ -338,7 +338,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext2]"); goto end; } -} + } cJSON *binary_data_n2_information_ext3 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt3"); @@ -353,7 +353,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext3]"); goto end; } -} + } cJSON *binary_data_n2_information_ext4 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt4"); @@ -368,7 +368,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext4]"); goto end; } -} + } cJSON *binary_data_n2_information_ext5 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt5"); @@ -383,7 +383,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext5]"); goto end; } -} + } cJSON *binary_data_n2_information_ext6 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt6"); @@ -398,7 +398,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext6]"); goto end; } -} + } cJSON *binary_data_n2_information_ext7 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt7"); @@ -413,7 +413,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext7]"); goto end; } -} + } cJSON *binary_data_n2_information_ext8 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt8"); @@ -428,7 +428,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext8]"); goto end; } -} + } cJSON *binary_data_n2_information_ext9 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt9"); @@ -443,7 +443,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext9]"); goto end; } -} + } cJSON *binary_data_n2_information_ext10 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt10"); @@ -458,7 +458,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext10]"); goto end; } -} + } cJSON *binary_data_n2_information_ext11 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt11"); @@ -473,7 +473,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext11]"); goto end; } -} + } cJSON *binary_data_n2_information_ext12 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt12"); @@ -488,7 +488,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext12]"); goto end; } -} + } cJSON *binary_data_n2_information_ext13 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt13"); @@ -503,7 +503,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext13]"); goto end; } -} + } cJSON *binary_data_n2_information_ext14 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt14"); @@ -518,7 +518,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext14]"); goto end; } -} + } cJSON *binary_data_n2_information_ext15 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt15"); @@ -533,7 +533,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext15]"); goto end; } -} + } cJSON *binary_data_n2_information_ext16 = cJSON_GetObjectItemCaseSensitive(inline_object_1JSON, "binaryDataN2InformationExt16"); @@ -548,7 +548,7 @@ OpenAPI_inline_object_1_t *OpenAPI_inline_object_1_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_1_parseFromJSON() failed [binary_data_n2_information_ext16]"); goto end; } -} + } inline_object_1_local_var = OpenAPI_inline_object_1_create ( json_data ? json_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/inline_object_2.c b/lib/sbi/openapi/model/inline_object_2.c index 1ca6acc80..6e606a520 100644 --- a/lib/sbi/openapi/model/inline_object_2.c +++ b/lib/sbi/openapi/model/inline_object_2.c @@ -74,7 +74,7 @@ OpenAPI_inline_object_2_t *OpenAPI_inline_object_2_parseFromJSON(cJSON *inline_o OpenAPI_ue_context_cancel_relocate_data_t *json_data_local_nonprim = NULL; if (json_data) { json_data_local_nonprim = OpenAPI_ue_context_cancel_relocate_data_parseFromJSON(json_data); -} + } cJSON *binary_data_gtpc_message = cJSON_GetObjectItemCaseSensitive(inline_object_2JSON, "binaryDataGtpcMessage"); @@ -89,7 +89,7 @@ OpenAPI_inline_object_2_t *OpenAPI_inline_object_2_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_2_parseFromJSON() failed [binary_data_gtpc_message]"); goto end; } -} + } inline_object_2_local_var = OpenAPI_inline_object_2_create ( json_data ? json_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/inline_object_3.c b/lib/sbi/openapi/model/inline_object_3.c index bd41397d4..0907bbe5b 100644 --- a/lib/sbi/openapi/model/inline_object_3.c +++ b/lib/sbi/openapi/model/inline_object_3.c @@ -74,7 +74,7 @@ OpenAPI_inline_object_3_t *OpenAPI_inline_object_3_parseFromJSON(cJSON *inline_o OpenAPI_n1_message_notification_t *json_data_local_nonprim = NULL; if (json_data) { json_data_local_nonprim = OpenAPI_n1_message_notification_parseFromJSON(json_data); -} + } cJSON *binary_data_n1_message = cJSON_GetObjectItemCaseSensitive(inline_object_3JSON, "binaryDataN1Message"); @@ -89,7 +89,7 @@ OpenAPI_inline_object_3_t *OpenAPI_inline_object_3_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_3_parseFromJSON() failed [binary_data_n1_message]"); goto end; } -} + } inline_object_3_local_var = OpenAPI_inline_object_3_create ( json_data ? json_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/inline_object_4.c b/lib/sbi/openapi/model/inline_object_4.c index d7d4fae68..dbba6195d 100644 --- a/lib/sbi/openapi/model/inline_object_4.c +++ b/lib/sbi/openapi/model/inline_object_4.c @@ -86,7 +86,7 @@ OpenAPI_inline_object_4_t *OpenAPI_inline_object_4_parseFromJSON(cJSON *inline_o OpenAPI_n2_information_notification_t *json_data_local_nonprim = NULL; if (json_data) { json_data_local_nonprim = OpenAPI_n2_information_notification_parseFromJSON(json_data); -} + } cJSON *binary_data_n1_message = cJSON_GetObjectItemCaseSensitive(inline_object_4JSON, "binaryDataN1Message"); @@ -101,7 +101,7 @@ OpenAPI_inline_object_4_t *OpenAPI_inline_object_4_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_4_parseFromJSON() failed [binary_data_n1_message]"); goto end; } -} + } cJSON *binary_data_n2_information = cJSON_GetObjectItemCaseSensitive(inline_object_4JSON, "binaryDataN2Information"); @@ -116,7 +116,7 @@ OpenAPI_inline_object_4_t *OpenAPI_inline_object_4_parseFromJSON(cJSON *inline_o ogs_error("OpenAPI_inline_object_4_parseFromJSON() failed [binary_data_n2_information]"); goto end; } -} + } inline_object_4_local_var = OpenAPI_inline_object_4_create ( json_data ? json_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/inline_response_200.c b/lib/sbi/openapi/model/inline_response_200.c index 92eed0e97..d2bb31962 100644 --- a/lib/sbi/openapi/model/inline_response_200.c +++ b/lib/sbi/openapi/model/inline_response_200.c @@ -91,7 +91,7 @@ OpenAPI_inline_response_200_t *OpenAPI_inline_response_200_parseFromJSON(cJSON * localMapObject->string, OpenAPI_links_value_schema_parseFromJSON(localMapObject)); OpenAPI_list_add(_linksList , localMapKeyPair); } -} + } inline_response_200_local_var = OpenAPI_inline_response_200_create ( _links ? _linksList : NULL diff --git a/lib/sbi/openapi/model/inter_freq_target_info.c b/lib/sbi/openapi/model/inter_freq_target_info.c index 6a7337bf6..3ab95a926 100644 --- a/lib/sbi/openapi/model/inter_freq_target_info.c +++ b/lib/sbi/openapi/model/inter_freq_target_info.c @@ -100,7 +100,7 @@ OpenAPI_inter_freq_target_info_t *OpenAPI_inter_freq_target_info_parseFromJSON(c } OpenAPI_list_add(cell_id_listList , &cell_id_list_local->valuedouble); } -} + } inter_freq_target_info_local_var = OpenAPI_inter_freq_target_info_create ( dl_carrier_freq->valuedouble, diff --git a/lib/sbi/openapi/model/inter_freq_target_info_1.c b/lib/sbi/openapi/model/inter_freq_target_info_1.c index d01a52d95..db189ce78 100644 --- a/lib/sbi/openapi/model/inter_freq_target_info_1.c +++ b/lib/sbi/openapi/model/inter_freq_target_info_1.c @@ -100,7 +100,7 @@ OpenAPI_inter_freq_target_info_1_t *OpenAPI_inter_freq_target_info_1_parseFromJS } OpenAPI_list_add(cell_id_listList , &cell_id_list_local->valuedouble); } -} + } inter_freq_target_info_1_local_var = OpenAPI_inter_freq_target_info_1_create ( dl_carrier_freq->valuedouble, diff --git a/lib/sbi/openapi/model/interface_upf_info_item.c b/lib/sbi/openapi/model/interface_upf_info_item.c index d80790199..95e89f321 100644 --- a/lib/sbi/openapi/model/interface_upf_info_item.c +++ b/lib/sbi/openapi/model/interface_upf_info_item.c @@ -144,7 +144,7 @@ OpenAPI_interface_upf_info_item_t *OpenAPI_interface_upf_info_item_parseFromJSON } OpenAPI_list_add(ipv4_endpoint_addressesList , ogs_strdup_or_assert(ipv4_endpoint_addresses_local->valuestring)); } -} + } cJSON *ipv6_endpoint_addresses = cJSON_GetObjectItemCaseSensitive(interface_upf_info_itemJSON, "ipv6EndpointAddresses"); @@ -164,7 +164,7 @@ OpenAPI_interface_upf_info_item_t *OpenAPI_interface_upf_info_item_parseFromJSON } OpenAPI_list_add(ipv6_endpoint_addressesList , ogs_strdup_or_assert(ipv6_endpoint_addresses_local->valuestring)); } -} + } cJSON *endpoint_fqdn = cJSON_GetObjectItemCaseSensitive(interface_upf_info_itemJSON, "endpointFqdn"); @@ -173,7 +173,7 @@ OpenAPI_interface_upf_info_item_t *OpenAPI_interface_upf_info_item_parseFromJSON ogs_error("OpenAPI_interface_upf_info_item_parseFromJSON() failed [endpoint_fqdn]"); goto end; } -} + } cJSON *network_instance = cJSON_GetObjectItemCaseSensitive(interface_upf_info_itemJSON, "networkInstance"); @@ -182,7 +182,7 @@ OpenAPI_interface_upf_info_item_t *OpenAPI_interface_upf_info_item_parseFromJSON ogs_error("OpenAPI_interface_upf_info_item_parseFromJSON() failed [network_instance]"); goto end; } -} + } interface_upf_info_item_local_var = OpenAPI_interface_upf_info_item_create ( interface_typeVariable, diff --git a/lib/sbi/openapi/model/internal_group_id_range.c b/lib/sbi/openapi/model/internal_group_id_range.c index 2f41a4aae..4b63ecdda 100644 --- a/lib/sbi/openapi/model/internal_group_id_range.c +++ b/lib/sbi/openapi/model/internal_group_id_range.c @@ -78,7 +78,7 @@ OpenAPI_internal_group_id_range_t *OpenAPI_internal_group_id_range_parseFromJSON ogs_error("OpenAPI_internal_group_id_range_parseFromJSON() failed [start]"); goto end; } -} + } cJSON *end = cJSON_GetObjectItemCaseSensitive(internal_group_id_rangeJSON, "end"); @@ -87,7 +87,7 @@ OpenAPI_internal_group_id_range_t *OpenAPI_internal_group_id_range_parseFromJSON ogs_error("OpenAPI_internal_group_id_range_parseFromJSON() failed [end]"); goto end; } -} + } cJSON *pattern = cJSON_GetObjectItemCaseSensitive(internal_group_id_rangeJSON, "pattern"); @@ -96,7 +96,7 @@ OpenAPI_internal_group_id_range_t *OpenAPI_internal_group_id_range_parseFromJSON ogs_error("OpenAPI_internal_group_id_range_parseFromJSON() failed [pattern]"); goto end; } -} + } internal_group_id_range_local_var = OpenAPI_internal_group_id_range_create ( start ? ogs_strdup_or_assert(start->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/invalid_param.c b/lib/sbi/openapi/model/invalid_param.c index ff31e22bc..dcfd9f0d5 100644 --- a/lib/sbi/openapi/model/invalid_param.c +++ b/lib/sbi/openapi/model/invalid_param.c @@ -78,7 +78,7 @@ OpenAPI_invalid_param_t *OpenAPI_invalid_param_parseFromJSON(cJSON *invalid_para ogs_error("OpenAPI_invalid_param_parseFromJSON() failed [reason]"); goto end; } -} + } invalid_param_local_var = OpenAPI_invalid_param_create ( ogs_strdup_or_assert(param->valuestring), diff --git a/lib/sbi/openapi/model/invalid_param_1.c b/lib/sbi/openapi/model/invalid_param_1.c index 24d3312cc..bf6b2a7d4 100644 --- a/lib/sbi/openapi/model/invalid_param_1.c +++ b/lib/sbi/openapi/model/invalid_param_1.c @@ -78,7 +78,7 @@ OpenAPI_invalid_param_1_t *OpenAPI_invalid_param_1_parseFromJSON(cJSON *invalid_ ogs_error("OpenAPI_invalid_param_1_parseFromJSON() failed [reason]"); goto end; } -} + } invalid_param_1_local_var = OpenAPI_invalid_param_1_create ( ogs_strdup_or_assert(param->valuestring), diff --git a/lib/sbi/openapi/model/ip_address.c b/lib/sbi/openapi/model/ip_address.c index 445eba716..b5ca6a00b 100644 --- a/lib/sbi/openapi/model/ip_address.c +++ b/lib/sbi/openapi/model/ip_address.c @@ -78,7 +78,7 @@ OpenAPI_ip_address_t *OpenAPI_ip_address_parseFromJSON(cJSON *ip_addressJSON) ogs_error("OpenAPI_ip_address_parseFromJSON() failed [ipv4_addr]"); goto end; } -} + } cJSON *ipv6_addr = cJSON_GetObjectItemCaseSensitive(ip_addressJSON, "ipv6Addr"); @@ -87,7 +87,7 @@ OpenAPI_ip_address_t *OpenAPI_ip_address_parseFromJSON(cJSON *ip_addressJSON) ogs_error("OpenAPI_ip_address_parseFromJSON() failed [ipv6_addr]"); goto end; } -} + } cJSON *ipv6_prefix = cJSON_GetObjectItemCaseSensitive(ip_addressJSON, "ipv6Prefix"); @@ -96,7 +96,7 @@ OpenAPI_ip_address_t *OpenAPI_ip_address_parseFromJSON(cJSON *ip_addressJSON) ogs_error("OpenAPI_ip_address_parseFromJSON() failed [ipv6_prefix]"); goto end; } -} + } ip_address_local_var = OpenAPI_ip_address_create ( ipv4_addr ? ogs_strdup_or_assert(ipv4_addr->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/ip_address_1.c b/lib/sbi/openapi/model/ip_address_1.c index f023ea0ac..d62b8197a 100644 --- a/lib/sbi/openapi/model/ip_address_1.c +++ b/lib/sbi/openapi/model/ip_address_1.c @@ -78,7 +78,7 @@ OpenAPI_ip_address_1_t *OpenAPI_ip_address_1_parseFromJSON(cJSON *ip_address_1JS ogs_error("OpenAPI_ip_address_1_parseFromJSON() failed [ipv4_addr]"); goto end; } -} + } cJSON *ipv6_addr = cJSON_GetObjectItemCaseSensitive(ip_address_1JSON, "ipv6Addr"); @@ -87,7 +87,7 @@ OpenAPI_ip_address_1_t *OpenAPI_ip_address_1_parseFromJSON(cJSON *ip_address_1JS ogs_error("OpenAPI_ip_address_1_parseFromJSON() failed [ipv6_addr]"); goto end; } -} + } cJSON *ipv6_prefix = cJSON_GetObjectItemCaseSensitive(ip_address_1JSON, "ipv6Prefix"); @@ -96,7 +96,7 @@ OpenAPI_ip_address_1_t *OpenAPI_ip_address_1_parseFromJSON(cJSON *ip_address_1JS ogs_error("OpenAPI_ip_address_1_parseFromJSON() failed [ipv6_prefix]"); goto end; } -} + } ip_address_1_local_var = OpenAPI_ip_address_1_create ( ipv4_addr ? ogs_strdup_or_assert(ipv4_addr->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/ip_end_point.c b/lib/sbi/openapi/model/ip_end_point.c index d4ccac4a4..18420c295 100644 --- a/lib/sbi/openapi/model/ip_end_point.c +++ b/lib/sbi/openapi/model/ip_end_point.c @@ -86,7 +86,7 @@ OpenAPI_ip_end_point_t *OpenAPI_ip_end_point_parseFromJSON(cJSON *ip_end_pointJS ogs_error("OpenAPI_ip_end_point_parseFromJSON() failed [ipv4_address]"); goto end; } -} + } cJSON *ipv6_address = cJSON_GetObjectItemCaseSensitive(ip_end_pointJSON, "ipv6Address"); @@ -95,7 +95,7 @@ OpenAPI_ip_end_point_t *OpenAPI_ip_end_point_parseFromJSON(cJSON *ip_end_pointJS ogs_error("OpenAPI_ip_end_point_parseFromJSON() failed [ipv6_address]"); goto end; } -} + } cJSON *transport = cJSON_GetObjectItemCaseSensitive(ip_end_pointJSON, "transport"); @@ -106,7 +106,7 @@ OpenAPI_ip_end_point_t *OpenAPI_ip_end_point_parseFromJSON(cJSON *ip_end_pointJS goto end; } transportVariable = OpenAPI_transport_protocol_FromString(transport->valuestring); -} + } cJSON *port = cJSON_GetObjectItemCaseSensitive(ip_end_pointJSON, "port"); @@ -115,7 +115,7 @@ OpenAPI_ip_end_point_t *OpenAPI_ip_end_point_parseFromJSON(cJSON *ip_end_pointJS ogs_error("OpenAPI_ip_end_point_parseFromJSON() failed [port]"); goto end; } -} + } ip_end_point_local_var = OpenAPI_ip_end_point_create ( ipv4_address ? ogs_strdup_or_assert(ipv4_address->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/ip_multicast_address_info.c b/lib/sbi/openapi/model/ip_multicast_address_info.c index f48d8640a..d9efac9c9 100644 --- a/lib/sbi/openapi/model/ip_multicast_address_info.c +++ b/lib/sbi/openapi/model/ip_multicast_address_info.c @@ -88,7 +88,7 @@ OpenAPI_ip_multicast_address_info_t *OpenAPI_ip_multicast_address_info_parseFrom ogs_error("OpenAPI_ip_multicast_address_info_parseFromJSON() failed [src_ipv4_addr]"); goto end; } -} + } cJSON *ipv4_mul_addr = cJSON_GetObjectItemCaseSensitive(ip_multicast_address_infoJSON, "ipv4MulAddr"); @@ -97,7 +97,7 @@ OpenAPI_ip_multicast_address_info_t *OpenAPI_ip_multicast_address_info_parseFrom ogs_error("OpenAPI_ip_multicast_address_info_parseFromJSON() failed [ipv4_mul_addr]"); goto end; } -} + } cJSON *src_ipv6_addr = cJSON_GetObjectItemCaseSensitive(ip_multicast_address_infoJSON, "srcIpv6Addr"); @@ -106,7 +106,7 @@ OpenAPI_ip_multicast_address_info_t *OpenAPI_ip_multicast_address_info_parseFrom ogs_error("OpenAPI_ip_multicast_address_info_parseFromJSON() failed [src_ipv6_addr]"); goto end; } -} + } cJSON *ipv6_mul_addr = cJSON_GetObjectItemCaseSensitive(ip_multicast_address_infoJSON, "ipv6MulAddr"); @@ -115,7 +115,7 @@ OpenAPI_ip_multicast_address_info_t *OpenAPI_ip_multicast_address_info_parseFrom ogs_error("OpenAPI_ip_multicast_address_info_parseFromJSON() failed [ipv6_mul_addr]"); goto end; } -} + } ip_multicast_address_info_local_var = OpenAPI_ip_multicast_address_info_create ( src_ipv4_addr ? ogs_strdup_or_assert(src_ipv4_addr->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/ip_sm_gw_registration.c b/lib/sbi/openapi/model/ip_sm_gw_registration.c index b89d6dfa3..957b2e8f9 100644 --- a/lib/sbi/openapi/model/ip_sm_gw_registration.c +++ b/lib/sbi/openapi/model/ip_sm_gw_registration.c @@ -83,14 +83,14 @@ OpenAPI_ip_sm_gw_registration_t *OpenAPI_ip_sm_gw_registration_parseFromJSON(cJS ogs_error("OpenAPI_ip_sm_gw_registration_parseFromJSON() failed [ip_sm_gw_map_address]"); goto end; } -} + } cJSON *ip_sm_gw_diameter_address = cJSON_GetObjectItemCaseSensitive(ip_sm_gw_registrationJSON, "ipSmGwDiameterAddress"); OpenAPI_network_node_diameter_address_t *ip_sm_gw_diameter_address_local_nonprim = NULL; if (ip_sm_gw_diameter_address) { ip_sm_gw_diameter_address_local_nonprim = OpenAPI_network_node_diameter_address_parseFromJSON(ip_sm_gw_diameter_address); -} + } cJSON *unri_indicator = cJSON_GetObjectItemCaseSensitive(ip_sm_gw_registrationJSON, "unriIndicator"); @@ -99,7 +99,7 @@ OpenAPI_ip_sm_gw_registration_t *OpenAPI_ip_sm_gw_registration_parseFromJSON(cJS ogs_error("OpenAPI_ip_sm_gw_registration_parseFromJSON() failed [unri_indicator]"); goto end; } -} + } ip_sm_gw_registration_local_var = OpenAPI_ip_sm_gw_registration_create ( ip_sm_gw_map_address ? ogs_strdup_or_assert(ip_sm_gw_map_address->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/iptv_config_data.c b/lib/sbi/openapi/model/iptv_config_data.c index 14d6bf641..9f6a0fbe9 100644 --- a/lib/sbi/openapi/model/iptv_config_data.c +++ b/lib/sbi/openapi/model/iptv_config_data.c @@ -149,7 +149,7 @@ OpenAPI_iptv_config_data_t *OpenAPI_iptv_config_data_parseFromJSON(cJSON *iptv_c ogs_error("OpenAPI_iptv_config_data_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *inter_group_id = cJSON_GetObjectItemCaseSensitive(iptv_config_dataJSON, "interGroupId"); @@ -158,7 +158,7 @@ OpenAPI_iptv_config_data_t *OpenAPI_iptv_config_data_parseFromJSON(cJSON *iptv_c ogs_error("OpenAPI_iptv_config_data_parseFromJSON() failed [inter_group_id]"); goto end; } -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(iptv_config_dataJSON, "dnn"); @@ -167,14 +167,14 @@ OpenAPI_iptv_config_data_t *OpenAPI_iptv_config_data_parseFromJSON(cJSON *iptv_c ogs_error("OpenAPI_iptv_config_data_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *snssai = cJSON_GetObjectItemCaseSensitive(iptv_config_dataJSON, "snssai"); OpenAPI_snssai_t *snssai_local_nonprim = NULL; if (snssai) { snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(snssai); -} + } cJSON *af_app_id = cJSON_GetObjectItemCaseSensitive(iptv_config_dataJSON, "afAppId"); if (!af_app_id) { @@ -221,7 +221,7 @@ OpenAPI_iptv_config_data_t *OpenAPI_iptv_config_data_parseFromJSON(cJSON *iptv_c ogs_error("OpenAPI_iptv_config_data_parseFromJSON() failed [supp_feat]"); goto end; } -} + } cJSON *res_uri = cJSON_GetObjectItemCaseSensitive(iptv_config_dataJSON, "resUri"); @@ -230,7 +230,7 @@ OpenAPI_iptv_config_data_t *OpenAPI_iptv_config_data_parseFromJSON(cJSON *iptv_c ogs_error("OpenAPI_iptv_config_data_parseFromJSON() failed [res_uri]"); goto end; } -} + } iptv_config_data_local_var = OpenAPI_iptv_config_data_create ( supi ? ogs_strdup_or_assert(supi->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/iptv_config_data_patch.c b/lib/sbi/openapi/model/iptv_config_data_patch.c index f32d55238..ea5da52e9 100644 --- a/lib/sbi/openapi/model/iptv_config_data_patch.c +++ b/lib/sbi/openapi/model/iptv_config_data_patch.c @@ -91,7 +91,7 @@ OpenAPI_iptv_config_data_patch_t *OpenAPI_iptv_config_data_patch_parseFromJSON(c localMapObject->string, OpenAPI_multicast_access_control_parseFromJSON(localMapObject)); OpenAPI_list_add(multi_acc_ctrlsList , localMapKeyPair); } -} + } iptv_config_data_patch_local_var = OpenAPI_iptv_config_data_patch_create ( multi_acc_ctrls ? multi_acc_ctrlsList : NULL diff --git a/lib/sbi/openapi/model/ipv4_address_range.c b/lib/sbi/openapi/model/ipv4_address_range.c index 86175ae2d..5f75f9ee4 100644 --- a/lib/sbi/openapi/model/ipv4_address_range.c +++ b/lib/sbi/openapi/model/ipv4_address_range.c @@ -68,7 +68,7 @@ OpenAPI_ipv4_address_range_t *OpenAPI_ipv4_address_range_parseFromJSON(cJSON *ip ogs_error("OpenAPI_ipv4_address_range_parseFromJSON() failed [start]"); goto end; } -} + } cJSON *end = cJSON_GetObjectItemCaseSensitive(ipv4_address_rangeJSON, "end"); @@ -77,7 +77,7 @@ OpenAPI_ipv4_address_range_t *OpenAPI_ipv4_address_range_parseFromJSON(cJSON *ip ogs_error("OpenAPI_ipv4_address_range_parseFromJSON() failed [end]"); goto end; } -} + } ipv4_address_range_local_var = OpenAPI_ipv4_address_range_create ( start ? ogs_strdup_or_assert(start->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/ipv6_prefix_range.c b/lib/sbi/openapi/model/ipv6_prefix_range.c index 2a0a425ba..cba9aa92b 100644 --- a/lib/sbi/openapi/model/ipv6_prefix_range.c +++ b/lib/sbi/openapi/model/ipv6_prefix_range.c @@ -68,7 +68,7 @@ OpenAPI_ipv6_prefix_range_t *OpenAPI_ipv6_prefix_range_parseFromJSON(cJSON *ipv6 ogs_error("OpenAPI_ipv6_prefix_range_parseFromJSON() failed [start]"); goto end; } -} + } cJSON *end = cJSON_GetObjectItemCaseSensitive(ipv6_prefix_rangeJSON, "end"); @@ -77,7 +77,7 @@ OpenAPI_ipv6_prefix_range_t *OpenAPI_ipv6_prefix_range_parseFromJSON(cJSON *ipv6 ogs_error("OpenAPI_ipv6_prefix_range_parseFromJSON() failed [end]"); goto end; } -} + } ipv6_prefix_range_local_var = OpenAPI_ipv6_prefix_range_create ( start ? ogs_strdup_or_assert(start->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/ladn_info.c b/lib/sbi/openapi/model/ladn_info.c index 0a48042e0..1f7440797 100644 --- a/lib/sbi/openapi/model/ladn_info.c +++ b/lib/sbi/openapi/model/ladn_info.c @@ -79,7 +79,7 @@ OpenAPI_ladn_info_t *OpenAPI_ladn_info_parseFromJSON(cJSON *ladn_infoJSON) goto end; } presenceVariable = OpenAPI_presence_state_FromString(presence->valuestring); -} + } ladn_info_local_var = OpenAPI_ladn_info_create ( ogs_strdup_or_assert(ladn->valuestring), diff --git a/lib/sbi/openapi/model/lcs_client_external.c b/lib/sbi/openapi/model/lcs_client_external.c index e72e5146b..23be7a1c4 100644 --- a/lib/sbi/openapi/model/lcs_client_external.c +++ b/lib/sbi/openapi/model/lcs_client_external.c @@ -113,7 +113,7 @@ OpenAPI_lcs_client_external_t *OpenAPI_lcs_client_external_parseFromJSON(cJSON * OpenAPI_list_add(allowed_geographic_areaList, allowed_geographic_areaItem); } -} + } cJSON *privacy_check_related_action = cJSON_GetObjectItemCaseSensitive(lcs_client_externalJSON, "privacyCheckRelatedAction"); @@ -124,14 +124,14 @@ OpenAPI_lcs_client_external_t *OpenAPI_lcs_client_external_parseFromJSON(cJSON * goto end; } privacy_check_related_actionVariable = OpenAPI_privacy_check_related_action_FromString(privacy_check_related_action->valuestring); -} + } cJSON *valid_time_period = cJSON_GetObjectItemCaseSensitive(lcs_client_externalJSON, "validTimePeriod"); OpenAPI_valid_time_period_t *valid_time_period_local_nonprim = NULL; if (valid_time_period) { valid_time_period_local_nonprim = OpenAPI_valid_time_period_parseFromJSON(valid_time_period); -} + } lcs_client_external_local_var = OpenAPI_lcs_client_external_create ( allowed_geographic_area ? allowed_geographic_areaList : NULL, diff --git a/lib/sbi/openapi/model/lcs_client_group_external.c b/lib/sbi/openapi/model/lcs_client_group_external.c index b213e61be..5b1b900c7 100644 --- a/lib/sbi/openapi/model/lcs_client_group_external.c +++ b/lib/sbi/openapi/model/lcs_client_group_external.c @@ -109,7 +109,7 @@ OpenAPI_lcs_client_group_external_t *OpenAPI_lcs_client_group_external_parseFrom ogs_error("OpenAPI_lcs_client_group_external_parseFromJSON() failed [lcs_client_group_id]"); goto end; } -} + } cJSON *allowed_geographic_area = cJSON_GetObjectItemCaseSensitive(lcs_client_group_externalJSON, "allowedGeographicArea"); @@ -132,7 +132,7 @@ OpenAPI_lcs_client_group_external_t *OpenAPI_lcs_client_group_external_parseFrom OpenAPI_list_add(allowed_geographic_areaList, allowed_geographic_areaItem); } -} + } cJSON *privacy_check_related_action = cJSON_GetObjectItemCaseSensitive(lcs_client_group_externalJSON, "privacyCheckRelatedAction"); @@ -143,14 +143,14 @@ OpenAPI_lcs_client_group_external_t *OpenAPI_lcs_client_group_external_parseFrom goto end; } privacy_check_related_actionVariable = OpenAPI_privacy_check_related_action_FromString(privacy_check_related_action->valuestring); -} + } cJSON *valid_time_period = cJSON_GetObjectItemCaseSensitive(lcs_client_group_externalJSON, "validTimePeriod"); OpenAPI_valid_time_period_t *valid_time_period_local_nonprim = NULL; if (valid_time_period) { valid_time_period_local_nonprim = OpenAPI_valid_time_period_parseFromJSON(valid_time_period); -} + } lcs_client_group_external_local_var = OpenAPI_lcs_client_group_external_create ( lcs_client_group_id ? ogs_strdup_or_assert(lcs_client_group_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/lcs_privacy.c b/lib/sbi/openapi/model/lcs_privacy.c index 9633593f9..dcd62a06b 100644 --- a/lib/sbi/openapi/model/lcs_privacy.c +++ b/lib/sbi/openapi/model/lcs_privacy.c @@ -93,7 +93,7 @@ OpenAPI_lcs_privacy_t *OpenAPI_lcs_privacy_parseFromJSON(cJSON *lcs_privacyJSON) ogs_error("OpenAPI_lcs_privacy_parseFromJSON() failed [af_instance_id]"); goto end; } -} + } cJSON *reference_id = cJSON_GetObjectItemCaseSensitive(lcs_privacyJSON, "referenceId"); @@ -102,14 +102,14 @@ OpenAPI_lcs_privacy_t *OpenAPI_lcs_privacy_parseFromJSON(cJSON *lcs_privacyJSON) ogs_error("OpenAPI_lcs_privacy_parseFromJSON() failed [reference_id]"); goto end; } -} + } cJSON *lpi = cJSON_GetObjectItemCaseSensitive(lcs_privacyJSON, "lpi"); OpenAPI_lpi_t *lpi_local_nonprim = NULL; if (lpi) { lpi_local_nonprim = OpenAPI_lpi_parseFromJSON(lpi); -} + } cJSON *mtc_provider_information = cJSON_GetObjectItemCaseSensitive(lcs_privacyJSON, "mtcProviderInformation"); @@ -118,7 +118,7 @@ OpenAPI_lcs_privacy_t *OpenAPI_lcs_privacy_parseFromJSON(cJSON *lcs_privacyJSON) ogs_error("OpenAPI_lcs_privacy_parseFromJSON() failed [mtc_provider_information]"); goto end; } -} + } lcs_privacy_local_var = OpenAPI_lcs_privacy_create ( af_instance_id ? ogs_strdup_or_assert(af_instance_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/lcs_privacy_data.c b/lib/sbi/openapi/model/lcs_privacy_data.c index d4f3e861a..c1e3bb4d0 100644 --- a/lib/sbi/openapi/model/lcs_privacy_data.c +++ b/lib/sbi/openapi/model/lcs_privacy_data.c @@ -104,14 +104,14 @@ OpenAPI_lcs_privacy_data_t *OpenAPI_lcs_privacy_data_parseFromJSON(cJSON *lcs_pr OpenAPI_lpi_t *lpi_local_nonprim = NULL; if (lpi) { lpi_local_nonprim = OpenAPI_lpi_parseFromJSON(lpi); -} + } cJSON *unrelated_class = cJSON_GetObjectItemCaseSensitive(lcs_privacy_dataJSON, "unrelatedClass"); OpenAPI_unrelated_class_t *unrelated_class_local_nonprim = NULL; if (unrelated_class) { unrelated_class_local_nonprim = OpenAPI_unrelated_class_parseFromJSON(unrelated_class); -} + } cJSON *plmn_operator_classes = cJSON_GetObjectItemCaseSensitive(lcs_privacy_dataJSON, "plmnOperatorClasses"); @@ -134,7 +134,7 @@ OpenAPI_lcs_privacy_data_t *OpenAPI_lcs_privacy_data_parseFromJSON(cJSON *lcs_pr OpenAPI_list_add(plmn_operator_classesList, plmn_operator_classesItem); } -} + } lcs_privacy_data_local_var = OpenAPI_lcs_privacy_data_create ( lpi ? lpi_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/lcs_privacy_data_1.c b/lib/sbi/openapi/model/lcs_privacy_data_1.c index 4aea63e56..d7ca52846 100644 --- a/lib/sbi/openapi/model/lcs_privacy_data_1.c +++ b/lib/sbi/openapi/model/lcs_privacy_data_1.c @@ -104,14 +104,14 @@ OpenAPI_lcs_privacy_data_1_t *OpenAPI_lcs_privacy_data_1_parseFromJSON(cJSON *lc OpenAPI_lpi_1_t *lpi_local_nonprim = NULL; if (lpi) { lpi_local_nonprim = OpenAPI_lpi_1_parseFromJSON(lpi); -} + } cJSON *unrelated_class = cJSON_GetObjectItemCaseSensitive(lcs_privacy_data_1JSON, "unrelatedClass"); OpenAPI_unrelated_class_1_t *unrelated_class_local_nonprim = NULL; if (unrelated_class) { unrelated_class_local_nonprim = OpenAPI_unrelated_class_1_parseFromJSON(unrelated_class); -} + } cJSON *plmn_operator_classes = cJSON_GetObjectItemCaseSensitive(lcs_privacy_data_1JSON, "plmnOperatorClasses"); @@ -134,7 +134,7 @@ OpenAPI_lcs_privacy_data_1_t *OpenAPI_lcs_privacy_data_1_parseFromJSON(cJSON *lc OpenAPI_list_add(plmn_operator_classesList, plmn_operator_classesItem); } -} + } lcs_privacy_data_1_local_var = OpenAPI_lcs_privacy_data_1_create ( lpi ? lpi_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/limit_id_to_monitoring_key.c b/lib/sbi/openapi/model/limit_id_to_monitoring_key.c index 3dd5ce179..3db21eb51 100644 --- a/lib/sbi/openapi/model/limit_id_to_monitoring_key.c +++ b/lib/sbi/openapi/model/limit_id_to_monitoring_key.c @@ -101,7 +101,7 @@ OpenAPI_limit_id_to_monitoring_key_t *OpenAPI_limit_id_to_monitoring_key_parseFr } OpenAPI_list_add(monkeyList , ogs_strdup_or_assert(monkey_local->valuestring)); } -} + } limit_id_to_monitoring_key_local_var = OpenAPI_limit_id_to_monitoring_key_create ( ogs_strdup_or_assert(limit_id->valuestring), diff --git a/lib/sbi/openapi/model/link.c b/lib/sbi/openapi/model/link.c index cd4047bfa..6595e5f55 100644 --- a/lib/sbi/openapi/model/link.c +++ b/lib/sbi/openapi/model/link.c @@ -58,7 +58,7 @@ OpenAPI_link_t *OpenAPI_link_parseFromJSON(cJSON *linkJSON) ogs_error("OpenAPI_link_parseFromJSON() failed [href]"); goto end; } -} + } link_local_var = OpenAPI_link_create ( href ? ogs_strdup_or_assert(href->valuestring) : NULL diff --git a/lib/sbi/openapi/model/links_value_schema.c b/lib/sbi/openapi/model/links_value_schema.c index d80ae3115..2ac665007 100644 --- a/lib/sbi/openapi/model/links_value_schema.c +++ b/lib/sbi/openapi/model/links_value_schema.c @@ -58,7 +58,7 @@ OpenAPI_links_value_schema_t *OpenAPI_links_value_schema_parseFromJSON(cJSON *li ogs_error("OpenAPI_links_value_schema_parseFromJSON() failed [href]"); goto end; } -} + } links_value_schema_local_var = OpenAPI_links_value_schema_create ( href ? ogs_strdup_or_assert(href->valuestring) : NULL diff --git a/lib/sbi/openapi/model/lmf_info.c b/lib/sbi/openapi/model/lmf_info.c index 5a72c6dc0..433d47ac7 100644 --- a/lib/sbi/openapi/model/lmf_info.c +++ b/lib/sbi/openapi/model/lmf_info.c @@ -152,7 +152,7 @@ OpenAPI_lmf_info_t *OpenAPI_lmf_info_parseFromJSON(cJSON *lmf_infoJSON) OpenAPI_list_add(serving_client_typesList, serving_client_typesItem); } -} + } cJSON *lmf_id = cJSON_GetObjectItemCaseSensitive(lmf_infoJSON, "lmfId"); @@ -161,7 +161,7 @@ OpenAPI_lmf_info_t *OpenAPI_lmf_info_parseFromJSON(cJSON *lmf_infoJSON) ogs_error("OpenAPI_lmf_info_parseFromJSON() failed [lmf_id]"); goto end; } -} + } cJSON *serving_access_types = cJSON_GetObjectItemCaseSensitive(lmf_infoJSON, "servingAccessTypes"); @@ -183,7 +183,7 @@ OpenAPI_lmf_info_t *OpenAPI_lmf_info_parseFromJSON(cJSON *lmf_infoJSON) OpenAPI_list_add(serving_access_typesList, (void *)OpenAPI_access_type_FromString(serving_access_types_local_nonprimitive->valuestring)); } -} + } cJSON *serving_an_node_types = cJSON_GetObjectItemCaseSensitive(lmf_infoJSON, "servingAnNodeTypes"); @@ -205,7 +205,7 @@ OpenAPI_lmf_info_t *OpenAPI_lmf_info_parseFromJSON(cJSON *lmf_infoJSON) OpenAPI_list_add(serving_an_node_typesList, (void *)OpenAPI_an_node_type_FromString(serving_an_node_types_local_nonprimitive->valuestring)); } -} + } cJSON *serving_rat_types = cJSON_GetObjectItemCaseSensitive(lmf_infoJSON, "servingRatTypes"); @@ -227,7 +227,7 @@ OpenAPI_lmf_info_t *OpenAPI_lmf_info_parseFromJSON(cJSON *lmf_infoJSON) OpenAPI_list_add(serving_rat_typesList, (void *)OpenAPI_rat_type_FromString(serving_rat_types_local_nonprimitive->valuestring)); } -} + } lmf_info_local_var = OpenAPI_lmf_info_create ( serving_client_types ? serving_client_typesList : NULL, diff --git a/lib/sbi/openapi/model/location_area.c b/lib/sbi/openapi/model/location_area.c index 223e70f71..d8e39952b 100644 --- a/lib/sbi/openapi/model/location_area.c +++ b/lib/sbi/openapi/model/location_area.c @@ -130,7 +130,7 @@ OpenAPI_location_area_t *OpenAPI_location_area_parseFromJSON(cJSON *location_are OpenAPI_list_add(geographic_areasList, geographic_areasItem); } -} + } cJSON *civic_addresses = cJSON_GetObjectItemCaseSensitive(location_areaJSON, "civicAddresses"); @@ -153,14 +153,14 @@ OpenAPI_location_area_t *OpenAPI_location_area_parseFromJSON(cJSON *location_are OpenAPI_list_add(civic_addressesList, civic_addressesItem); } -} + } cJSON *nw_area_info = cJSON_GetObjectItemCaseSensitive(location_areaJSON, "nwAreaInfo"); OpenAPI_network_area_info_t *nw_area_info_local_nonprim = NULL; if (nw_area_info) { nw_area_info_local_nonprim = OpenAPI_network_area_info_parseFromJSON(nw_area_info); -} + } location_area_local_var = OpenAPI_location_area_create ( geographic_areas ? geographic_areasList : NULL, diff --git a/lib/sbi/openapi/model/location_area_1.c b/lib/sbi/openapi/model/location_area_1.c index 9a424f1c5..5842e44d5 100644 --- a/lib/sbi/openapi/model/location_area_1.c +++ b/lib/sbi/openapi/model/location_area_1.c @@ -130,7 +130,7 @@ OpenAPI_location_area_1_t *OpenAPI_location_area_1_parseFromJSON(cJSON *location OpenAPI_list_add(geographic_areasList, geographic_areasItem); } -} + } cJSON *civic_addresses = cJSON_GetObjectItemCaseSensitive(location_area_1JSON, "civicAddresses"); @@ -153,14 +153,14 @@ OpenAPI_location_area_1_t *OpenAPI_location_area_1_parseFromJSON(cJSON *location OpenAPI_list_add(civic_addressesList, civic_addressesItem); } -} + } cJSON *nw_area_info = cJSON_GetObjectItemCaseSensitive(location_area_1JSON, "nwAreaInfo"); OpenAPI_network_area_info_1_t *nw_area_info_local_nonprim = NULL; if (nw_area_info) { nw_area_info_local_nonprim = OpenAPI_network_area_info_1_parseFromJSON(nw_area_info); -} + } location_area_1_local_var = OpenAPI_location_area_1_create ( geographic_areas ? geographic_areasList : NULL, diff --git a/lib/sbi/openapi/model/location_info.c b/lib/sbi/openapi/model/location_info.c index 409836285..9f1497f39 100644 --- a/lib/sbi/openapi/model/location_info.c +++ b/lib/sbi/openapi/model/location_info.c @@ -102,7 +102,7 @@ OpenAPI_location_info_t *OpenAPI_location_info_parseFromJSON(cJSON *location_inf ogs_error("OpenAPI_location_info_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(location_infoJSON, "gpsi"); @@ -111,7 +111,7 @@ OpenAPI_location_info_t *OpenAPI_location_info_parseFromJSON(cJSON *location_inf ogs_error("OpenAPI_location_info_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *registration_location_info_list = cJSON_GetObjectItemCaseSensitive(location_infoJSON, "registrationLocationInfoList"); if (!registration_location_info_list) { @@ -146,7 +146,7 @@ OpenAPI_location_info_t *OpenAPI_location_info_parseFromJSON(cJSON *location_inf ogs_error("OpenAPI_location_info_parseFromJSON() failed [supported_features]"); goto end; } -} + } location_info_local_var = OpenAPI_location_info_create ( supi ? ogs_strdup_or_assert(supi->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/location_reporting_configuration.c b/lib/sbi/openapi/model/location_reporting_configuration.c index e29f27943..f90ea9dcf 100644 --- a/lib/sbi/openapi/model/location_reporting_configuration.c +++ b/lib/sbi/openapi/model/location_reporting_configuration.c @@ -108,21 +108,21 @@ OpenAPI_location_reporting_configuration_t *OpenAPI_location_reporting_configura ogs_error("OpenAPI_location_reporting_configuration_parseFromJSON() failed [one_time]"); goto end; } -} + } cJSON *accuracy = cJSON_GetObjectItemCaseSensitive(location_reporting_configurationJSON, "accuracy"); OpenAPI_location_accuracy_t *accuracy_local_nonprim = NULL; if (accuracy) { accuracy_local_nonprim = OpenAPI_location_accuracy_parseFromJSON(accuracy); -} + } cJSON *n3gpp_accuracy = cJSON_GetObjectItemCaseSensitive(location_reporting_configurationJSON, "n3gppAccuracy"); OpenAPI_location_accuracy_t *n3gpp_accuracy_local_nonprim = NULL; if (n3gpp_accuracy) { n3gpp_accuracy_local_nonprim = OpenAPI_location_accuracy_parseFromJSON(n3gpp_accuracy); -} + } location_reporting_configuration_local_var = OpenAPI_location_reporting_configuration_create ( current_location->valueint, diff --git a/lib/sbi/openapi/model/loss_connectivity_cfg.c b/lib/sbi/openapi/model/loss_connectivity_cfg.c index aac2aaef5..ed4c2f7c7 100644 --- a/lib/sbi/openapi/model/loss_connectivity_cfg.c +++ b/lib/sbi/openapi/model/loss_connectivity_cfg.c @@ -57,7 +57,7 @@ OpenAPI_loss_connectivity_cfg_t *OpenAPI_loss_connectivity_cfg_parseFromJSON(cJS ogs_error("OpenAPI_loss_connectivity_cfg_parseFromJSON() failed [max_detection_time]"); goto end; } -} + } loss_connectivity_cfg_local_var = OpenAPI_loss_connectivity_cfg_create ( max_detection_time ? max_detection_time->valuedouble : 0 diff --git a/lib/sbi/openapi/model/lpi.c b/lib/sbi/openapi/model/lpi.c index 8d0cd3ff1..2890e6be0 100644 --- a/lib/sbi/openapi/model/lpi.c +++ b/lib/sbi/openapi/model/lpi.c @@ -83,7 +83,7 @@ OpenAPI_lpi_t *OpenAPI_lpi_parseFromJSON(cJSON *lpiJSON) OpenAPI_valid_time_period_t *valid_time_period_local_nonprim = NULL; if (valid_time_period) { valid_time_period_local_nonprim = OpenAPI_valid_time_period_parseFromJSON(valid_time_period); -} + } lpi_local_var = OpenAPI_lpi_create ( location_privacy_indVariable, diff --git a/lib/sbi/openapi/model/lpi_1.c b/lib/sbi/openapi/model/lpi_1.c index d67b3ead5..fe65a6966 100644 --- a/lib/sbi/openapi/model/lpi_1.c +++ b/lib/sbi/openapi/model/lpi_1.c @@ -83,7 +83,7 @@ OpenAPI_lpi_1_t *OpenAPI_lpi_1_parseFromJSON(cJSON *lpi_1JSON) OpenAPI_valid_time_period_1_t *valid_time_period_local_nonprim = NULL; if (valid_time_period) { valid_time_period_local_nonprim = OpenAPI_valid_time_period_1_parseFromJSON(valid_time_period); -} + } lpi_1_local_var = OpenAPI_lpi_1_create ( location_privacy_indVariable, diff --git a/lib/sbi/openapi/model/lte_v2x_auth.c b/lib/sbi/openapi/model/lte_v2x_auth.c index cde4f2853..2fbf36373 100644 --- a/lib/sbi/openapi/model/lte_v2x_auth.c +++ b/lib/sbi/openapi/model/lte_v2x_auth.c @@ -68,7 +68,7 @@ OpenAPI_lte_v2x_auth_t *OpenAPI_lte_v2x_auth_parseFromJSON(cJSON *lte_v2x_authJS goto end; } vehicle_ue_authVariable = OpenAPI_ue_auth_FromString(vehicle_ue_auth->valuestring); -} + } cJSON *pedestrian_ue_auth = cJSON_GetObjectItemCaseSensitive(lte_v2x_authJSON, "pedestrianUeAuth"); @@ -79,7 +79,7 @@ OpenAPI_lte_v2x_auth_t *OpenAPI_lte_v2x_auth_parseFromJSON(cJSON *lte_v2x_authJS goto end; } pedestrian_ue_authVariable = OpenAPI_ue_auth_FromString(pedestrian_ue_auth->valuestring); -} + } lte_v2x_auth_local_var = OpenAPI_lte_v2x_auth_create ( vehicle_ue_auth ? vehicle_ue_authVariable : 0, diff --git a/lib/sbi/openapi/model/lte_v2x_auth_1.c b/lib/sbi/openapi/model/lte_v2x_auth_1.c index f803cba1a..5c524c78a 100644 --- a/lib/sbi/openapi/model/lte_v2x_auth_1.c +++ b/lib/sbi/openapi/model/lte_v2x_auth_1.c @@ -68,7 +68,7 @@ OpenAPI_lte_v2x_auth_1_t *OpenAPI_lte_v2x_auth_1_parseFromJSON(cJSON *lte_v2x_au goto end; } vehicle_ue_authVariable = OpenAPI_ue_auth_FromString(vehicle_ue_auth->valuestring); -} + } cJSON *pedestrian_ue_auth = cJSON_GetObjectItemCaseSensitive(lte_v2x_auth_1JSON, "pedestrianUeAuth"); @@ -79,7 +79,7 @@ OpenAPI_lte_v2x_auth_1_t *OpenAPI_lte_v2x_auth_1_parseFromJSON(cJSON *lte_v2x_au goto end; } pedestrian_ue_authVariable = OpenAPI_ue_auth_FromString(pedestrian_ue_auth->valuestring); -} + } lte_v2x_auth_1_local_var = OpenAPI_lte_v2x_auth_1_create ( vehicle_ue_auth ? vehicle_ue_authVariable : 0, diff --git a/lib/sbi/openapi/model/mbsfn_area.c b/lib/sbi/openapi/model/mbsfn_area.c index 8512ad3c3..872c6dff3 100644 --- a/lib/sbi/openapi/model/mbsfn_area.c +++ b/lib/sbi/openapi/model/mbsfn_area.c @@ -66,7 +66,7 @@ OpenAPI_mbsfn_area_t *OpenAPI_mbsfn_area_parseFromJSON(cJSON *mbsfn_areaJSON) ogs_error("OpenAPI_mbsfn_area_parseFromJSON() failed [mbsfn_area_id]"); goto end; } -} + } cJSON *carrier_frequency = cJSON_GetObjectItemCaseSensitive(mbsfn_areaJSON, "carrierFrequency"); @@ -75,7 +75,7 @@ OpenAPI_mbsfn_area_t *OpenAPI_mbsfn_area_parseFromJSON(cJSON *mbsfn_areaJSON) ogs_error("OpenAPI_mbsfn_area_parseFromJSON() failed [carrier_frequency]"); goto end; } -} + } mbsfn_area_local_var = OpenAPI_mbsfn_area_create ( mbsfn_area_id ? mbsfn_area_id->valuedouble : 0, diff --git a/lib/sbi/openapi/model/mdt_configuration.c b/lib/sbi/openapi/model/mdt_configuration.c index dd438b6f4..9cfcb3588 100644 --- a/lib/sbi/openapi/model/mdt_configuration.c +++ b/lib/sbi/openapi/model/mdt_configuration.c @@ -417,14 +417,14 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ goto end; } report_typeVariable = OpenAPI_report_type_mdt_FromString(report_type->valuestring); -} + } cJSON *area_scope = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "areaScope"); OpenAPI_area_scope_t *area_scope_local_nonprim = NULL; if (area_scope) { area_scope_local_nonprim = OpenAPI_area_scope_parseFromJSON(area_scope); -} + } cJSON *measurement_lte_list = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "measurementLteList"); @@ -446,7 +446,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ OpenAPI_list_add(measurement_lte_listList, (void *)OpenAPI_measurement_lte_for_mdt_FromString(measurement_lte_list_local_nonprimitive->valuestring)); } -} + } cJSON *measurement_nr_list = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "measurementNrList"); @@ -468,7 +468,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ OpenAPI_list_add(measurement_nr_listList, (void *)OpenAPI_measurement_nr_for_mdt_FromString(measurement_nr_list_local_nonprimitive->valuestring)); } -} + } cJSON *sensor_measurement_list = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "sensorMeasurementList"); @@ -490,7 +490,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ OpenAPI_list_add(sensor_measurement_listList, (void *)OpenAPI_sensor_measurement_FromString(sensor_measurement_list_local_nonprimitive->valuestring)); } -} + } cJSON *reporting_trigger_list = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "reportingTriggerList"); @@ -512,7 +512,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ OpenAPI_list_add(reporting_trigger_listList, (void *)OpenAPI_reporting_trigger_FromString(reporting_trigger_list_local_nonprimitive->valuestring)); } -} + } cJSON *report_interval = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "reportInterval"); @@ -523,7 +523,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ goto end; } report_intervalVariable = OpenAPI_report_interval_mdt_FromString(report_interval->valuestring); -} + } cJSON *report_interval_nr = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "reportIntervalNr"); @@ -534,7 +534,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ goto end; } report_interval_nrVariable = OpenAPI_report_interval_nr_mdt_FromString(report_interval_nr->valuestring); -} + } cJSON *report_amount = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "reportAmount"); @@ -545,7 +545,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ goto end; } report_amountVariable = OpenAPI_report_amount_mdt_FromString(report_amount->valuestring); -} + } cJSON *event_threshold_rsrp = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "eventThresholdRsrp"); @@ -554,7 +554,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ ogs_error("OpenAPI_mdt_configuration_parseFromJSON() failed [event_threshold_rsrp]"); goto end; } -} + } cJSON *event_threshold_rsrp_nr = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "eventThresholdRsrpNr"); @@ -563,7 +563,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ ogs_error("OpenAPI_mdt_configuration_parseFromJSON() failed [event_threshold_rsrp_nr]"); goto end; } -} + } cJSON *event_threshold_rsrq = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "eventThresholdRsrq"); @@ -572,7 +572,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ ogs_error("OpenAPI_mdt_configuration_parseFromJSON() failed [event_threshold_rsrq]"); goto end; } -} + } cJSON *event_threshold_rsrq_nr = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "eventThresholdRsrqNr"); @@ -581,7 +581,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ ogs_error("OpenAPI_mdt_configuration_parseFromJSON() failed [event_threshold_rsrq_nr]"); goto end; } -} + } cJSON *event_list = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "eventList"); @@ -603,7 +603,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ OpenAPI_list_add(event_listList, (void *)OpenAPI_event_for_mdt_FromString(event_list_local_nonprimitive->valuestring)); } -} + } cJSON *logging_interval = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "loggingInterval"); @@ -614,7 +614,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ goto end; } logging_intervalVariable = OpenAPI_logging_interval_mdt_FromString(logging_interval->valuestring); -} + } cJSON *logging_interval_nr = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "loggingIntervalNr"); @@ -625,7 +625,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ goto end; } logging_interval_nrVariable = OpenAPI_logging_interval_nr_mdt_FromString(logging_interval_nr->valuestring); -} + } cJSON *logging_duration = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "loggingDuration"); @@ -636,7 +636,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ goto end; } logging_durationVariable = OpenAPI_logging_duration_mdt_FromString(logging_duration->valuestring); -} + } cJSON *logging_duration_nr = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "loggingDurationNr"); @@ -647,7 +647,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ goto end; } logging_duration_nrVariable = OpenAPI_logging_duration_nr_mdt_FromString(logging_duration_nr->valuestring); -} + } cJSON *positioning_method = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "positioningMethod"); @@ -658,7 +658,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ goto end; } positioning_methodVariable = OpenAPI_positioning_method_mdt_FromString(positioning_method->valuestring); -} + } cJSON *add_positioning_method_list = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "addPositioningMethodList"); @@ -680,7 +680,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ OpenAPI_list_add(add_positioning_method_listList, (void *)OpenAPI_positioning_method_mdt_FromString(add_positioning_method_list_local_nonprimitive->valuestring)); } -} + } cJSON *collection_period_rmm_lte = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "collectionPeriodRmmLte"); @@ -691,7 +691,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ goto end; } collection_period_rmm_lteVariable = OpenAPI_collection_period_rmm_lte_mdt_FromString(collection_period_rmm_lte->valuestring); -} + } cJSON *collection_period_rmm_nr = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "collectionPeriodRmmNr"); @@ -702,7 +702,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ goto end; } collection_period_rmm_nrVariable = OpenAPI_collection_period_rmm_nr_mdt_FromString(collection_period_rmm_nr->valuestring); -} + } cJSON *measurement_period_lte = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "measurementPeriodLte"); @@ -713,7 +713,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ goto end; } measurement_period_lteVariable = OpenAPI_measurement_period_lte_mdt_FromString(measurement_period_lte->valuestring); -} + } cJSON *mdt_allowed_plmn_id_list = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "mdtAllowedPlmnIdList"); @@ -736,7 +736,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ OpenAPI_list_add(mdt_allowed_plmn_id_listList, mdt_allowed_plmn_id_listItem); } -} + } cJSON *mbsfn_area_list = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "mbsfnAreaList"); @@ -759,7 +759,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ OpenAPI_list_add(mbsfn_area_listList, mbsfn_area_listItem); } -} + } cJSON *inter_freq_target_list = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "interFreqTargetList"); @@ -782,7 +782,7 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_ OpenAPI_list_add(inter_freq_target_listList, inter_freq_target_listItem); } -} + } mdt_configuration_local_var = OpenAPI_mdt_configuration_create ( job_typeVariable, diff --git a/lib/sbi/openapi/model/mdt_configuration_1.c b/lib/sbi/openapi/model/mdt_configuration_1.c index ff2a8b2d7..0d0b4d924 100644 --- a/lib/sbi/openapi/model/mdt_configuration_1.c +++ b/lib/sbi/openapi/model/mdt_configuration_1.c @@ -417,14 +417,14 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * goto end; } report_typeVariable = OpenAPI_report_type_mdt_FromString(report_type->valuestring); -} + } cJSON *area_scope = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "areaScope"); OpenAPI_area_scope_t *area_scope_local_nonprim = NULL; if (area_scope) { area_scope_local_nonprim = OpenAPI_area_scope_parseFromJSON(area_scope); -} + } cJSON *measurement_lte_list = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "measurementLteList"); @@ -446,7 +446,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * OpenAPI_list_add(measurement_lte_listList, (void *)OpenAPI_measurement_lte_for_mdt_FromString(measurement_lte_list_local_nonprimitive->valuestring)); } -} + } cJSON *measurement_nr_list = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "measurementNrList"); @@ -468,7 +468,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * OpenAPI_list_add(measurement_nr_listList, (void *)OpenAPI_measurement_nr_for_mdt_FromString(measurement_nr_list_local_nonprimitive->valuestring)); } -} + } cJSON *sensor_measurement_list = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "sensorMeasurementList"); @@ -490,7 +490,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * OpenAPI_list_add(sensor_measurement_listList, (void *)OpenAPI_sensor_measurement_FromString(sensor_measurement_list_local_nonprimitive->valuestring)); } -} + } cJSON *reporting_trigger_list = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "reportingTriggerList"); @@ -512,7 +512,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * OpenAPI_list_add(reporting_trigger_listList, (void *)OpenAPI_reporting_trigger_FromString(reporting_trigger_list_local_nonprimitive->valuestring)); } -} + } cJSON *report_interval = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "reportInterval"); @@ -523,7 +523,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * goto end; } report_intervalVariable = OpenAPI_report_interval_mdt_FromString(report_interval->valuestring); -} + } cJSON *report_interval_nr = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "reportIntervalNr"); @@ -534,7 +534,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * goto end; } report_interval_nrVariable = OpenAPI_report_interval_nr_mdt_FromString(report_interval_nr->valuestring); -} + } cJSON *report_amount = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "reportAmount"); @@ -545,7 +545,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * goto end; } report_amountVariable = OpenAPI_report_amount_mdt_FromString(report_amount->valuestring); -} + } cJSON *event_threshold_rsrp = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "eventThresholdRsrp"); @@ -554,7 +554,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * ogs_error("OpenAPI_mdt_configuration_1_parseFromJSON() failed [event_threshold_rsrp]"); goto end; } -} + } cJSON *event_threshold_rsrp_nr = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "eventThresholdRsrpNr"); @@ -563,7 +563,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * ogs_error("OpenAPI_mdt_configuration_1_parseFromJSON() failed [event_threshold_rsrp_nr]"); goto end; } -} + } cJSON *event_threshold_rsrq = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "eventThresholdRsrq"); @@ -572,7 +572,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * ogs_error("OpenAPI_mdt_configuration_1_parseFromJSON() failed [event_threshold_rsrq]"); goto end; } -} + } cJSON *event_threshold_rsrq_nr = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "eventThresholdRsrqNr"); @@ -581,7 +581,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * ogs_error("OpenAPI_mdt_configuration_1_parseFromJSON() failed [event_threshold_rsrq_nr]"); goto end; } -} + } cJSON *event_list = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "eventList"); @@ -603,7 +603,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * OpenAPI_list_add(event_listList, (void *)OpenAPI_event_for_mdt_FromString(event_list_local_nonprimitive->valuestring)); } -} + } cJSON *logging_interval = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "loggingInterval"); @@ -614,7 +614,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * goto end; } logging_intervalVariable = OpenAPI_logging_interval_mdt_FromString(logging_interval->valuestring); -} + } cJSON *logging_interval_nr = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "loggingIntervalNr"); @@ -625,7 +625,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * goto end; } logging_interval_nrVariable = OpenAPI_logging_interval_nr_mdt_FromString(logging_interval_nr->valuestring); -} + } cJSON *logging_duration = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "loggingDuration"); @@ -636,7 +636,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * goto end; } logging_durationVariable = OpenAPI_logging_duration_mdt_FromString(logging_duration->valuestring); -} + } cJSON *logging_duration_nr = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "loggingDurationNr"); @@ -647,7 +647,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * goto end; } logging_duration_nrVariable = OpenAPI_logging_duration_nr_mdt_FromString(logging_duration_nr->valuestring); -} + } cJSON *positioning_method = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "positioningMethod"); @@ -658,7 +658,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * goto end; } positioning_methodVariable = OpenAPI_positioning_method_mdt_FromString(positioning_method->valuestring); -} + } cJSON *add_positioning_method_list = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "addPositioningMethodList"); @@ -680,7 +680,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * OpenAPI_list_add(add_positioning_method_listList, (void *)OpenAPI_positioning_method_mdt_FromString(add_positioning_method_list_local_nonprimitive->valuestring)); } -} + } cJSON *collection_period_rmm_lte = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "collectionPeriodRmmLte"); @@ -691,7 +691,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * goto end; } collection_period_rmm_lteVariable = OpenAPI_collection_period_rmm_lte_mdt_FromString(collection_period_rmm_lte->valuestring); -} + } cJSON *collection_period_rmm_nr = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "collectionPeriodRmmNr"); @@ -702,7 +702,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * goto end; } collection_period_rmm_nrVariable = OpenAPI_collection_period_rmm_nr_mdt_FromString(collection_period_rmm_nr->valuestring); -} + } cJSON *measurement_period_lte = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "measurementPeriodLte"); @@ -713,7 +713,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * goto end; } measurement_period_lteVariable = OpenAPI_measurement_period_lte_mdt_FromString(measurement_period_lte->valuestring); -} + } cJSON *mdt_allowed_plmn_id_list = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "mdtAllowedPlmnIdList"); @@ -736,7 +736,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * OpenAPI_list_add(mdt_allowed_plmn_id_listList, mdt_allowed_plmn_id_listItem); } -} + } cJSON *mbsfn_area_list = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "mbsfnAreaList"); @@ -759,7 +759,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * OpenAPI_list_add(mbsfn_area_listList, mbsfn_area_listItem); } -} + } cJSON *inter_freq_target_list = cJSON_GetObjectItemCaseSensitive(mdt_configuration_1JSON, "interFreqTargetList"); @@ -782,7 +782,7 @@ OpenAPI_mdt_configuration_1_t *OpenAPI_mdt_configuration_1_parseFromJSON(cJSON * OpenAPI_list_add(inter_freq_target_listList, inter_freq_target_listItem); } -} + } mdt_configuration_1_local_var = OpenAPI_mdt_configuration_1_create ( job_typeVariable, diff --git a/lib/sbi/openapi/model/media_component.c b/lib/sbi/openapi/model/media_component.c index 8e45ad590..3db882de5 100644 --- a/lib/sbi/openapi/model/media_component.c +++ b/lib/sbi/openapi/model/media_component.c @@ -448,14 +448,14 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [af_app_id]"); goto end; } -} + } cJSON *af_rout_req = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "afRoutReq"); OpenAPI_af_routing_requirement_t *af_rout_req_local_nonprim = NULL; if (af_rout_req) { af_rout_req_local_nonprim = OpenAPI_af_routing_requirement_parseFromJSON(af_rout_req); -} + } cJSON *qos_reference = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "qosReference"); @@ -464,7 +464,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [qos_reference]"); goto end; } -} + } cJSON *dis_ue_notif = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "disUeNotif"); @@ -473,7 +473,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [dis_ue_notif]"); goto end; } -} + } cJSON *alt_ser_reqs = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "altSerReqs"); @@ -493,7 +493,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co } OpenAPI_list_add(alt_ser_reqsList , ogs_strdup_or_assert(alt_ser_reqs_local->valuestring)); } -} + } cJSON *cont_ver = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "contVer"); @@ -502,7 +502,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [cont_ver]"); goto end; } -} + } cJSON *codecs = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "codecs"); @@ -522,7 +522,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co } OpenAPI_list_add(codecsList , ogs_strdup_or_assert(codecs_local->valuestring)); } -} + } cJSON *des_max_latency = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "desMaxLatency"); @@ -531,7 +531,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [des_max_latency]"); goto end; } -} + } cJSON *des_max_loss = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "desMaxLoss"); @@ -540,7 +540,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [des_max_loss]"); goto end; } -} + } cJSON *flus_id = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "flusId"); @@ -549,7 +549,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [flus_id]"); goto end; } -} + } cJSON *f_status = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "fStatus"); @@ -560,7 +560,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co goto end; } f_statusVariable = OpenAPI_flow_status_FromString(f_status->valuestring); -} + } cJSON *mar_bw_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "marBwDl"); @@ -569,7 +569,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [mar_bw_dl]"); goto end; } -} + } cJSON *mar_bw_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "marBwUl"); @@ -578,7 +578,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [mar_bw_ul]"); goto end; } -} + } cJSON *max_packet_loss_rate_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "maxPacketLossRateDl"); @@ -587,7 +587,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [max_packet_loss_rate_dl]"); goto end; } -} + } cJSON *max_packet_loss_rate_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "maxPacketLossRateUl"); @@ -596,7 +596,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [max_packet_loss_rate_ul]"); goto end; } -} + } cJSON *max_supp_bw_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "maxSuppBwDl"); @@ -605,7 +605,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [max_supp_bw_dl]"); goto end; } -} + } cJSON *max_supp_bw_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "maxSuppBwUl"); @@ -614,7 +614,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [max_supp_bw_ul]"); goto end; } -} + } cJSON *med_comp_n = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "medCompN"); if (!med_comp_n) { @@ -649,7 +649,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co localMapObject->string, OpenAPI_media_sub_component_parseFromJSON(localMapObject)); OpenAPI_list_add(med_sub_compsList , localMapKeyPair); } -} + } cJSON *med_type = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "medType"); @@ -660,7 +660,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co goto end; } med_typeVariable = OpenAPI_media_type_FromString(med_type->valuestring); -} + } cJSON *min_des_bw_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "minDesBwDl"); @@ -669,7 +669,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [min_des_bw_dl]"); goto end; } -} + } cJSON *min_des_bw_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "minDesBwUl"); @@ -678,7 +678,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [min_des_bw_ul]"); goto end; } -} + } cJSON *mir_bw_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "mirBwDl"); @@ -687,7 +687,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [mir_bw_dl]"); goto end; } -} + } cJSON *mir_bw_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "mirBwUl"); @@ -696,7 +696,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [mir_bw_ul]"); goto end; } -} + } cJSON *preempt_cap = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "preemptCap"); @@ -707,7 +707,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co goto end; } preempt_capVariable = OpenAPI_preemption_capability_FromString(preempt_cap->valuestring); -} + } cJSON *preempt_vuln = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "preemptVuln"); @@ -718,7 +718,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co goto end; } preempt_vulnVariable = OpenAPI_preemption_vulnerability_FromString(preempt_vuln->valuestring); -} + } cJSON *prio_sharing_ind = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "prioSharingInd"); @@ -729,7 +729,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co goto end; } prio_sharing_indVariable = OpenAPI_priority_sharing_indicator_FromString(prio_sharing_ind->valuestring); -} + } cJSON *res_prio = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "resPrio"); @@ -740,7 +740,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co goto end; } res_prioVariable = OpenAPI_reserv_priority_FromString(res_prio->valuestring); -} + } cJSON *rr_bw = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "rrBw"); @@ -749,7 +749,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [rr_bw]"); goto end; } -} + } cJSON *rs_bw = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "rsBw"); @@ -758,7 +758,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [rs_bw]"); goto end; } -} + } cJSON *sharing_key_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "sharingKeyDl"); @@ -767,7 +767,7 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [sharing_key_dl]"); goto end; } -} + } cJSON *sharing_key_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "sharingKeyUl"); @@ -776,28 +776,28 @@ OpenAPI_media_component_t *OpenAPI_media_component_parseFromJSON(cJSON *media_co ogs_error("OpenAPI_media_component_parseFromJSON() failed [sharing_key_ul]"); goto end; } -} + } cJSON *tsn_qos = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "tsnQos"); OpenAPI_tsn_qos_container_t *tsn_qos_local_nonprim = NULL; if (tsn_qos) { tsn_qos_local_nonprim = OpenAPI_tsn_qos_container_parseFromJSON(tsn_qos); -} + } cJSON *tscai_input_dl = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "tscaiInputDl"); OpenAPI_tscai_input_container_t *tscai_input_dl_local_nonprim = NULL; if (tscai_input_dl) { tscai_input_dl_local_nonprim = OpenAPI_tscai_input_container_parseFromJSON(tscai_input_dl); -} + } cJSON *tscai_input_ul = cJSON_GetObjectItemCaseSensitive(media_componentJSON, "tscaiInputUl"); OpenAPI_tscai_input_container_t *tscai_input_ul_local_nonprim = NULL; if (tscai_input_ul) { tscai_input_ul_local_nonprim = OpenAPI_tscai_input_container_parseFromJSON(tscai_input_ul); -} + } media_component_local_var = OpenAPI_media_component_create ( af_app_id ? ogs_strdup_or_assert(af_app_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/media_component_rm.c b/lib/sbi/openapi/model/media_component_rm.c index 883715028..7116ac0bd 100644 --- a/lib/sbi/openapi/model/media_component_rm.c +++ b/lib/sbi/openapi/model/media_component_rm.c @@ -462,14 +462,14 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [af_app_id]"); goto end; } -} + } cJSON *af_rout_req = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "afRoutReq"); OpenAPI_af_routing_requirement_rm_t *af_rout_req_local_nonprim = NULL; if (af_rout_req) { af_rout_req_local_nonprim = OpenAPI_af_routing_requirement_rm_parseFromJSON(af_rout_req); -} + } cJSON *qos_reference = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "qosReference"); @@ -478,7 +478,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [qos_reference]"); goto end; } -} + } cJSON *alt_ser_reqs = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "altSerReqs"); @@ -498,7 +498,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me } OpenAPI_list_add(alt_ser_reqsList , ogs_strdup_or_assert(alt_ser_reqs_local->valuestring)); } -} + } cJSON *dis_ue_notif = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "disUeNotif"); @@ -507,7 +507,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [dis_ue_notif]"); goto end; } -} + } cJSON *cont_ver = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "contVer"); @@ -516,7 +516,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [cont_ver]"); goto end; } -} + } cJSON *codecs = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "codecs"); @@ -536,7 +536,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me } OpenAPI_list_add(codecsList , ogs_strdup_or_assert(codecs_local->valuestring)); } -} + } cJSON *des_max_latency = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "desMaxLatency"); @@ -545,7 +545,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [des_max_latency]"); goto end; } -} + } cJSON *des_max_loss = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "desMaxLoss"); @@ -554,7 +554,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [des_max_loss]"); goto end; } -} + } cJSON *flus_id = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "flusId"); @@ -563,7 +563,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [flus_id]"); goto end; } -} + } cJSON *f_status = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "fStatus"); @@ -574,7 +574,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me goto end; } f_statusVariable = OpenAPI_flow_status_FromString(f_status->valuestring); -} + } cJSON *mar_bw_dl = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "marBwDl"); @@ -583,7 +583,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [mar_bw_dl]"); goto end; } -} + } cJSON *mar_bw_ul = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "marBwUl"); @@ -592,7 +592,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [mar_bw_ul]"); goto end; } -} + } cJSON *max_packet_loss_rate_dl = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "maxPacketLossRateDl"); @@ -601,7 +601,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [max_packet_loss_rate_dl]"); goto end; } -} + } cJSON *max_packet_loss_rate_ul = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "maxPacketLossRateUl"); @@ -610,7 +610,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [max_packet_loss_rate_ul]"); goto end; } -} + } cJSON *max_supp_bw_dl = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "maxSuppBwDl"); @@ -619,7 +619,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [max_supp_bw_dl]"); goto end; } -} + } cJSON *max_supp_bw_ul = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "maxSuppBwUl"); @@ -628,7 +628,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [max_supp_bw_ul]"); goto end; } -} + } cJSON *med_comp_n = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "medCompN"); if (!med_comp_n) { @@ -663,7 +663,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me localMapObject->string, OpenAPI_media_sub_component_rm_parseFromJSON(localMapObject)); OpenAPI_list_add(med_sub_compsList , localMapKeyPair); } -} + } cJSON *med_type = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "medType"); @@ -674,7 +674,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me goto end; } med_typeVariable = OpenAPI_media_type_FromString(med_type->valuestring); -} + } cJSON *min_des_bw_dl = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "minDesBwDl"); @@ -683,7 +683,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [min_des_bw_dl]"); goto end; } -} + } cJSON *min_des_bw_ul = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "minDesBwUl"); @@ -692,7 +692,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [min_des_bw_ul]"); goto end; } -} + } cJSON *mir_bw_dl = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "mirBwDl"); @@ -701,7 +701,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [mir_bw_dl]"); goto end; } -} + } cJSON *mir_bw_ul = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "mirBwUl"); @@ -710,21 +710,21 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [mir_bw_ul]"); goto end; } -} + } cJSON *preempt_cap = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "preemptCap"); OpenAPI_preemption_capability_rm_t *preempt_cap_local_nonprim = NULL; if (preempt_cap) { preempt_cap_local_nonprim = OpenAPI_preemption_capability_rm_parseFromJSON(preempt_cap); -} + } cJSON *preempt_vuln = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "preemptVuln"); OpenAPI_preemption_vulnerability_rm_t *preempt_vuln_local_nonprim = NULL; if (preempt_vuln) { preempt_vuln_local_nonprim = OpenAPI_preemption_vulnerability_rm_parseFromJSON(preempt_vuln); -} + } cJSON *prio_sharing_ind = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "prioSharingInd"); @@ -735,7 +735,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me goto end; } prio_sharing_indVariable = OpenAPI_priority_sharing_indicator_FromString(prio_sharing_ind->valuestring); -} + } cJSON *res_prio = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "resPrio"); @@ -746,7 +746,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me goto end; } res_prioVariable = OpenAPI_reserv_priority_FromString(res_prio->valuestring); -} + } cJSON *rr_bw = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "rrBw"); @@ -755,7 +755,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [rr_bw]"); goto end; } -} + } cJSON *rs_bw = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "rsBw"); @@ -764,7 +764,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [rs_bw]"); goto end; } -} + } cJSON *sharing_key_dl = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "sharingKeyDl"); @@ -773,7 +773,7 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [sharing_key_dl]"); goto end; } -} + } cJSON *sharing_key_ul = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "sharingKeyUl"); @@ -782,28 +782,28 @@ OpenAPI_media_component_rm_t *OpenAPI_media_component_rm_parseFromJSON(cJSON *me ogs_error("OpenAPI_media_component_rm_parseFromJSON() failed [sharing_key_ul]"); goto end; } -} + } cJSON *tsn_qos = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "tsnQos"); OpenAPI_tsn_qos_container_rm_t *tsn_qos_local_nonprim = NULL; if (tsn_qos) { tsn_qos_local_nonprim = OpenAPI_tsn_qos_container_rm_parseFromJSON(tsn_qos); -} + } cJSON *tscai_input_dl = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "tscaiInputDl"); OpenAPI_tscai_input_container_t *tscai_input_dl_local_nonprim = NULL; if (tscai_input_dl) { tscai_input_dl_local_nonprim = OpenAPI_tscai_input_container_parseFromJSON(tscai_input_dl); -} + } cJSON *tscai_input_ul = cJSON_GetObjectItemCaseSensitive(media_component_rmJSON, "tscaiInputUl"); OpenAPI_tscai_input_container_t *tscai_input_ul_local_nonprim = NULL; if (tscai_input_ul) { tscai_input_ul_local_nonprim = OpenAPI_tscai_input_container_parseFromJSON(tscai_input_ul); -} + } media_component_rm_local_var = OpenAPI_media_component_rm_create ( af_app_id ? ogs_strdup_or_assert(af_app_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/media_sub_component.c b/lib/sbi/openapi/model/media_sub_component.c index 304a0d489..103b25114 100644 --- a/lib/sbi/openapi/model/media_sub_component.c +++ b/lib/sbi/openapi/model/media_sub_component.c @@ -162,7 +162,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON * goto end; } af_sig_protocolVariable = OpenAPI_af_sig_protocol_FromString(af_sig_protocol->valuestring); -} + } cJSON *ethf_descs = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "ethfDescs"); @@ -185,7 +185,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON * OpenAPI_list_add(ethf_descsList, ethf_descsItem); } -} + } cJSON *f_num = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "fNum"); if (!f_num) { @@ -217,7 +217,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON * } OpenAPI_list_add(f_descsList , ogs_strdup_or_assert(f_descs_local->valuestring)); } -} + } cJSON *f_status = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "fStatus"); @@ -228,7 +228,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON * goto end; } f_statusVariable = OpenAPI_flow_status_FromString(f_status->valuestring); -} + } cJSON *mar_bw_dl = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "marBwDl"); @@ -237,7 +237,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON * ogs_error("OpenAPI_media_sub_component_parseFromJSON() failed [mar_bw_dl]"); goto end; } -} + } cJSON *mar_bw_ul = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "marBwUl"); @@ -246,7 +246,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON * ogs_error("OpenAPI_media_sub_component_parseFromJSON() failed [mar_bw_ul]"); goto end; } -} + } cJSON *tos_tr_cl = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "tosTrCl"); @@ -255,7 +255,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON * ogs_error("OpenAPI_media_sub_component_parseFromJSON() failed [tos_tr_cl]"); goto end; } -} + } cJSON *flow_usage = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "flowUsage"); @@ -266,7 +266,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON * goto end; } flow_usageVariable = OpenAPI_flow_usage_FromString(flow_usage->valuestring); -} + } media_sub_component_local_var = OpenAPI_media_sub_component_create ( af_sig_protocol ? af_sig_protocolVariable : 0, diff --git a/lib/sbi/openapi/model/media_sub_component_rm.c b/lib/sbi/openapi/model/media_sub_component_rm.c index 2db69ff6d..18b2648de 100644 --- a/lib/sbi/openapi/model/media_sub_component_rm.c +++ b/lib/sbi/openapi/model/media_sub_component_rm.c @@ -162,7 +162,7 @@ OpenAPI_media_sub_component_rm_t *OpenAPI_media_sub_component_rm_parseFromJSON(c goto end; } af_sig_protocolVariable = OpenAPI_af_sig_protocol_FromString(af_sig_protocol->valuestring); -} + } cJSON *ethf_descs = cJSON_GetObjectItemCaseSensitive(media_sub_component_rmJSON, "ethfDescs"); @@ -185,7 +185,7 @@ OpenAPI_media_sub_component_rm_t *OpenAPI_media_sub_component_rm_parseFromJSON(c OpenAPI_list_add(ethf_descsList, ethf_descsItem); } -} + } cJSON *f_num = cJSON_GetObjectItemCaseSensitive(media_sub_component_rmJSON, "fNum"); if (!f_num) { @@ -217,7 +217,7 @@ OpenAPI_media_sub_component_rm_t *OpenAPI_media_sub_component_rm_parseFromJSON(c } OpenAPI_list_add(f_descsList , ogs_strdup_or_assert(f_descs_local->valuestring)); } -} + } cJSON *f_status = cJSON_GetObjectItemCaseSensitive(media_sub_component_rmJSON, "fStatus"); @@ -228,7 +228,7 @@ OpenAPI_media_sub_component_rm_t *OpenAPI_media_sub_component_rm_parseFromJSON(c goto end; } f_statusVariable = OpenAPI_flow_status_FromString(f_status->valuestring); -} + } cJSON *mar_bw_dl = cJSON_GetObjectItemCaseSensitive(media_sub_component_rmJSON, "marBwDl"); @@ -237,7 +237,7 @@ OpenAPI_media_sub_component_rm_t *OpenAPI_media_sub_component_rm_parseFromJSON(c ogs_error("OpenAPI_media_sub_component_rm_parseFromJSON() failed [mar_bw_dl]"); goto end; } -} + } cJSON *mar_bw_ul = cJSON_GetObjectItemCaseSensitive(media_sub_component_rmJSON, "marBwUl"); @@ -246,7 +246,7 @@ OpenAPI_media_sub_component_rm_t *OpenAPI_media_sub_component_rm_parseFromJSON(c ogs_error("OpenAPI_media_sub_component_rm_parseFromJSON() failed [mar_bw_ul]"); goto end; } -} + } cJSON *tos_tr_cl = cJSON_GetObjectItemCaseSensitive(media_sub_component_rmJSON, "tosTrCl"); @@ -255,7 +255,7 @@ OpenAPI_media_sub_component_rm_t *OpenAPI_media_sub_component_rm_parseFromJSON(c ogs_error("OpenAPI_media_sub_component_rm_parseFromJSON() failed [tos_tr_cl]"); goto end; } -} + } cJSON *flow_usage = cJSON_GetObjectItemCaseSensitive(media_sub_component_rmJSON, "flowUsage"); @@ -266,7 +266,7 @@ OpenAPI_media_sub_component_rm_t *OpenAPI_media_sub_component_rm_parseFromJSON(c goto end; } flow_usageVariable = OpenAPI_flow_usage_FromString(flow_usage->valuestring); -} + } media_sub_component_rm_local_var = OpenAPI_media_sub_component_rm_create ( af_sig_protocol ? af_sig_protocolVariable : 0, diff --git a/lib/sbi/openapi/model/message_waiting_data.c b/lib/sbi/openapi/model/message_waiting_data.c index fa61f1548..b3669018f 100644 --- a/lib/sbi/openapi/model/message_waiting_data.c +++ b/lib/sbi/openapi/model/message_waiting_data.c @@ -88,7 +88,7 @@ OpenAPI_message_waiting_data_t *OpenAPI_message_waiting_data_parseFromJSON(cJSON OpenAPI_list_add(mwd_listList, mwd_listItem); } -} + } message_waiting_data_local_var = OpenAPI_message_waiting_data_create ( mwd_list ? mwd_listList : NULL diff --git a/lib/sbi/openapi/model/mm_context.c b/lib/sbi/openapi/model/mm_context.c index 0512f00ad..86d42ec0a 100644 --- a/lib/sbi/openapi/model/mm_context.c +++ b/lib/sbi/openapi/model/mm_context.c @@ -404,14 +404,14 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) OpenAPI_nas_security_mode_t *nas_security_mode_local_nonprim = NULL; if (nas_security_mode) { nas_security_mode_local_nonprim = OpenAPI_nas_security_mode_parseFromJSON(nas_security_mode); -} + } cJSON *eps_nas_security_mode = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "epsNasSecurityMode"); OpenAPI_eps_nas_security_mode_t *eps_nas_security_mode_local_nonprim = NULL; if (eps_nas_security_mode) { eps_nas_security_mode_local_nonprim = OpenAPI_eps_nas_security_mode_parseFromJSON(eps_nas_security_mode); -} + } cJSON *nas_downlink_count = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "nasDownlinkCount"); @@ -420,7 +420,7 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) ogs_error("OpenAPI_mm_context_parseFromJSON() failed [nas_downlink_count]"); goto end; } -} + } cJSON *nas_uplink_count = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "nasUplinkCount"); @@ -429,7 +429,7 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) ogs_error("OpenAPI_mm_context_parseFromJSON() failed [nas_uplink_count]"); goto end; } -} + } cJSON *ue_security_capability = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "ueSecurityCapability"); @@ -438,7 +438,7 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) ogs_error("OpenAPI_mm_context_parseFromJSON() failed [ue_security_capability]"); goto end; } -} + } cJSON *s1_ue_network_capability = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "s1UeNetworkCapability"); @@ -447,7 +447,7 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) ogs_error("OpenAPI_mm_context_parseFromJSON() failed [s1_ue_network_capability]"); goto end; } -} + } cJSON *allowed_nssai = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "allowedNssai"); @@ -470,7 +470,7 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) OpenAPI_list_add(allowed_nssaiList, allowed_nssaiItem); } -} + } cJSON *nssai_mapping_list = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "nssaiMappingList"); @@ -493,7 +493,7 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) OpenAPI_list_add(nssai_mapping_listList, nssai_mapping_listItem); } -} + } cJSON *allowed_home_nssai = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "allowedHomeNssai"); @@ -516,7 +516,7 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) OpenAPI_list_add(allowed_home_nssaiList, allowed_home_nssaiItem); } -} + } cJSON *ns_instance_list = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "nsInstanceList"); @@ -536,21 +536,21 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) } OpenAPI_list_add(ns_instance_listList , ogs_strdup_or_assert(ns_instance_list_local->valuestring)); } -} + } cJSON *expected_u_ebehavior = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "expectedUEbehavior"); OpenAPI_expected_ue_behavior_t *expected_u_ebehavior_local_nonprim = NULL; if (expected_u_ebehavior) { expected_u_ebehavior_local_nonprim = OpenAPI_expected_ue_behavior_parseFromJSON(expected_u_ebehavior); -} + } cJSON *ue_differentiation_info = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "ueDifferentiationInfo"); OpenAPI_ue_differentiation_info_t *ue_differentiation_info_local_nonprim = NULL; if (ue_differentiation_info) { ue_differentiation_info_local_nonprim = OpenAPI_ue_differentiation_info_parseFromJSON(ue_differentiation_info); -} + } cJSON *plmn_assi_ue_radio_cap_id = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "plmnAssiUeRadioCapId"); @@ -559,7 +559,7 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) ogs_error("OpenAPI_mm_context_parseFromJSON() failed [plmn_assi_ue_radio_cap_id]"); goto end; } -} + } cJSON *man_assi_ue_radio_cap_id = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "manAssiUeRadioCapId"); @@ -568,7 +568,7 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) ogs_error("OpenAPI_mm_context_parseFromJSON() failed [man_assi_ue_radio_cap_id]"); goto end; } -} + } cJSON *ucmf_dic_entry_id = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "ucmfDicEntryId"); @@ -577,28 +577,28 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) ogs_error("OpenAPI_mm_context_parseFromJSON() failed [ucmf_dic_entry_id]"); goto end; } -} + } cJSON *n3_iwf_id = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "n3IwfId"); OpenAPI_global_ran_node_id_t *n3_iwf_id_local_nonprim = NULL; if (n3_iwf_id) { n3_iwf_id_local_nonprim = OpenAPI_global_ran_node_id_parseFromJSON(n3_iwf_id); -} + } cJSON *wagf_id = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "wagfId"); OpenAPI_global_ran_node_id_t *wagf_id_local_nonprim = NULL; if (wagf_id) { wagf_id_local_nonprim = OpenAPI_global_ran_node_id_parseFromJSON(wagf_id); -} + } cJSON *tngf_id = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "tngfId"); OpenAPI_global_ran_node_id_t *tngf_id_local_nonprim = NULL; if (tngf_id) { tngf_id_local_nonprim = OpenAPI_global_ran_node_id_parseFromJSON(tngf_id); -} + } cJSON *an_n2_ap_id = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "anN2ApId"); @@ -607,7 +607,7 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) ogs_error("OpenAPI_mm_context_parseFromJSON() failed [an_n2_ap_id]"); goto end; } -} + } cJSON *nssaa_status_list = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "nssaaStatusList"); @@ -630,7 +630,7 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) OpenAPI_list_add(nssaa_status_listList, nssaa_status_listItem); } -} + } cJSON *pending_nssai_mapping_list = cJSON_GetObjectItemCaseSensitive(mm_contextJSON, "pendingNssaiMappingList"); @@ -653,7 +653,7 @@ OpenAPI_mm_context_t *OpenAPI_mm_context_parseFromJSON(cJSON *mm_contextJSON) OpenAPI_list_add(pending_nssai_mapping_listList, pending_nssai_mapping_listItem); } -} + } mm_context_local_var = OpenAPI_mm_context_create ( access_typeVariable, diff --git a/lib/sbi/openapi/model/mme_capabilities.c b/lib/sbi/openapi/model/mme_capabilities.c index 5866f3f87..c9ade734b 100644 --- a/lib/sbi/openapi/model/mme_capabilities.c +++ b/lib/sbi/openapi/model/mme_capabilities.c @@ -66,7 +66,7 @@ OpenAPI_mme_capabilities_t *OpenAPI_mme_capabilities_parseFromJSON(cJSON *mme_ca ogs_error("OpenAPI_mme_capabilities_parseFromJSON() failed [non_ip_supported]"); goto end; } -} + } cJSON *ethernet_supported = cJSON_GetObjectItemCaseSensitive(mme_capabilitiesJSON, "ethernetSupported"); @@ -75,7 +75,7 @@ OpenAPI_mme_capabilities_t *OpenAPI_mme_capabilities_parseFromJSON(cJSON *mme_ca ogs_error("OpenAPI_mme_capabilities_parseFromJSON() failed [ethernet_supported]"); goto end; } -} + } mme_capabilities_local_var = OpenAPI_mme_capabilities_create ( non_ip_supported ? non_ip_supported->valueint : 0, diff --git a/lib/sbi/openapi/model/mo_exp_data_counter.c b/lib/sbi/openapi/model/mo_exp_data_counter.c index aa3b78c21..ba137b220 100644 --- a/lib/sbi/openapi/model/mo_exp_data_counter.c +++ b/lib/sbi/openapi/model/mo_exp_data_counter.c @@ -77,7 +77,7 @@ OpenAPI_mo_exp_data_counter_t *OpenAPI_mo_exp_data_counter_parseFromJSON(cJSON * ogs_error("OpenAPI_mo_exp_data_counter_parseFromJSON() failed [time_stamp]"); goto end; } -} + } mo_exp_data_counter_local_var = OpenAPI_mo_exp_data_counter_create ( counter->valuedouble, diff --git a/lib/sbi/openapi/model/model_5_gvn_group_configuration.c b/lib/sbi/openapi/model/model_5_gvn_group_configuration.c index e26fe2372..7805d456c 100644 --- a/lib/sbi/openapi/model/model_5_gvn_group_configuration.c +++ b/lib/sbi/openapi/model/model_5_gvn_group_configuration.c @@ -123,7 +123,7 @@ OpenAPI_model_5_gvn_group_configuration_t *OpenAPI_model_5_gvn_group_configurati OpenAPI_model_5_gvn_group_data_t *_5g_vn_group_data_local_nonprim = NULL; if (_5g_vn_group_data) { _5g_vn_group_data_local_nonprim = OpenAPI_model_5_gvn_group_data_parseFromJSON(_5g_vn_group_data); -} + } cJSON *members = cJSON_GetObjectItemCaseSensitive(model_5_gvn_group_configurationJSON, "members"); @@ -143,7 +143,7 @@ OpenAPI_model_5_gvn_group_configuration_t *OpenAPI_model_5_gvn_group_configurati } OpenAPI_list_add(membersList , ogs_strdup_or_assert(members_local->valuestring)); } -} + } cJSON *reference_id = cJSON_GetObjectItemCaseSensitive(model_5_gvn_group_configurationJSON, "referenceId"); @@ -152,7 +152,7 @@ OpenAPI_model_5_gvn_group_configuration_t *OpenAPI_model_5_gvn_group_configurati ogs_error("OpenAPI_model_5_gvn_group_configuration_parseFromJSON() failed [reference_id]"); goto end; } -} + } cJSON *af_instance_id = cJSON_GetObjectItemCaseSensitive(model_5_gvn_group_configurationJSON, "afInstanceId"); @@ -161,7 +161,7 @@ OpenAPI_model_5_gvn_group_configuration_t *OpenAPI_model_5_gvn_group_configurati ogs_error("OpenAPI_model_5_gvn_group_configuration_parseFromJSON() failed [af_instance_id]"); goto end; } -} + } cJSON *internal_group_identifier = cJSON_GetObjectItemCaseSensitive(model_5_gvn_group_configurationJSON, "internalGroupIdentifier"); @@ -170,7 +170,7 @@ OpenAPI_model_5_gvn_group_configuration_t *OpenAPI_model_5_gvn_group_configurati ogs_error("OpenAPI_model_5_gvn_group_configuration_parseFromJSON() failed [internal_group_identifier]"); goto end; } -} + } cJSON *mtc_provider_information = cJSON_GetObjectItemCaseSensitive(model_5_gvn_group_configurationJSON, "mtcProviderInformation"); @@ -179,7 +179,7 @@ OpenAPI_model_5_gvn_group_configuration_t *OpenAPI_model_5_gvn_group_configurati ogs_error("OpenAPI_model_5_gvn_group_configuration_parseFromJSON() failed [mtc_provider_information]"); goto end; } -} + } model_5_gvn_group_configuration_local_var = OpenAPI_model_5_gvn_group_configuration_create ( _5g_vn_group_data ? _5g_vn_group_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/model_5_gvn_group_data.c b/lib/sbi/openapi/model/model_5_gvn_group_data.c index e40694ca6..3b0c948cf 100644 --- a/lib/sbi/openapi/model/model_5_gvn_group_data.c +++ b/lib/sbi/openapi/model/model_5_gvn_group_data.c @@ -174,7 +174,7 @@ OpenAPI_model_5_gvn_group_data_t *OpenAPI_model_5_gvn_group_data_parseFromJSON(c OpenAPI_list_add(pdu_session_typesList, (void *)OpenAPI_pdu_session_type_FromString(pdu_session_types_local_nonprimitive->valuestring)); } -} + } cJSON *app_descriptors = cJSON_GetObjectItemCaseSensitive(model_5_gvn_group_dataJSON, "appDescriptors"); @@ -197,7 +197,7 @@ OpenAPI_model_5_gvn_group_data_t *OpenAPI_model_5_gvn_group_data_parseFromJSON(c OpenAPI_list_add(app_descriptorsList, app_descriptorsItem); } -} + } cJSON *secondary_auth = cJSON_GetObjectItemCaseSensitive(model_5_gvn_group_dataJSON, "secondaryAuth"); @@ -206,14 +206,14 @@ OpenAPI_model_5_gvn_group_data_t *OpenAPI_model_5_gvn_group_data_parseFromJSON(c ogs_error("OpenAPI_model_5_gvn_group_data_parseFromJSON() failed [secondary_auth]"); goto end; } -} + } cJSON *dn_aaa_address = cJSON_GetObjectItemCaseSensitive(model_5_gvn_group_dataJSON, "dnAaaAddress"); OpenAPI_ip_address_1_t *dn_aaa_address_local_nonprim = NULL; if (dn_aaa_address) { dn_aaa_address_local_nonprim = OpenAPI_ip_address_1_parseFromJSON(dn_aaa_address); -} + } model_5_gvn_group_data_local_var = OpenAPI_model_5_gvn_group_data_create ( ogs_strdup_or_assert(dnn->valuestring), diff --git a/lib/sbi/openapi/model/monitoring_configuration.c b/lib/sbi/openapi/model/monitoring_configuration.c index a1597e3f7..2569b509d 100644 --- a/lib/sbi/openapi/model/monitoring_configuration.c +++ b/lib/sbi/openapi/model/monitoring_configuration.c @@ -224,35 +224,35 @@ OpenAPI_monitoring_configuration_t *OpenAPI_monitoring_configuration_parseFromJS ogs_error("OpenAPI_monitoring_configuration_parseFromJSON() failed [immediate_flag]"); goto end; } -} + } cJSON *location_reporting_configuration = cJSON_GetObjectItemCaseSensitive(monitoring_configurationJSON, "locationReportingConfiguration"); OpenAPI_location_reporting_configuration_t *location_reporting_configuration_local_nonprim = NULL; if (location_reporting_configuration) { location_reporting_configuration_local_nonprim = OpenAPI_location_reporting_configuration_parseFromJSON(location_reporting_configuration); -} + } cJSON *association_type = cJSON_GetObjectItemCaseSensitive(monitoring_configurationJSON, "associationType"); OpenAPI_association_type_t *association_type_local_nonprim = NULL; if (association_type) { association_type_local_nonprim = OpenAPI_association_type_parseFromJSON(association_type); -} + } cJSON *datalink_report_cfg = cJSON_GetObjectItemCaseSensitive(monitoring_configurationJSON, "datalinkReportCfg"); OpenAPI_datalink_reporting_configuration_t *datalink_report_cfg_local_nonprim = NULL; if (datalink_report_cfg) { datalink_report_cfg_local_nonprim = OpenAPI_datalink_reporting_configuration_parseFromJSON(datalink_report_cfg); -} + } cJSON *loss_connectivity_cfg = cJSON_GetObjectItemCaseSensitive(monitoring_configurationJSON, "lossConnectivityCfg"); OpenAPI_loss_connectivity_cfg_t *loss_connectivity_cfg_local_nonprim = NULL; if (loss_connectivity_cfg) { loss_connectivity_cfg_local_nonprim = OpenAPI_loss_connectivity_cfg_parseFromJSON(loss_connectivity_cfg); -} + } cJSON *maximum_latency = cJSON_GetObjectItemCaseSensitive(monitoring_configurationJSON, "maximumLatency"); @@ -261,7 +261,7 @@ OpenAPI_monitoring_configuration_t *OpenAPI_monitoring_configuration_parseFromJS ogs_error("OpenAPI_monitoring_configuration_parseFromJSON() failed [maximum_latency]"); goto end; } -} + } cJSON *maximum_response_time = cJSON_GetObjectItemCaseSensitive(monitoring_configurationJSON, "maximumResponseTime"); @@ -270,7 +270,7 @@ OpenAPI_monitoring_configuration_t *OpenAPI_monitoring_configuration_parseFromJS ogs_error("OpenAPI_monitoring_configuration_parseFromJSON() failed [maximum_response_time]"); goto end; } -} + } cJSON *suggested_packet_num_dl = cJSON_GetObjectItemCaseSensitive(monitoring_configurationJSON, "suggestedPacketNumDl"); @@ -279,21 +279,21 @@ OpenAPI_monitoring_configuration_t *OpenAPI_monitoring_configuration_parseFromJS ogs_error("OpenAPI_monitoring_configuration_parseFromJSON() failed [suggested_packet_num_dl]"); goto end; } -} + } cJSON *pdu_session_status_cfg = cJSON_GetObjectItemCaseSensitive(monitoring_configurationJSON, "pduSessionStatusCfg"); OpenAPI_pdu_session_status_cfg_t *pdu_session_status_cfg_local_nonprim = NULL; if (pdu_session_status_cfg) { pdu_session_status_cfg_local_nonprim = OpenAPI_pdu_session_status_cfg_parseFromJSON(pdu_session_status_cfg); -} + } cJSON *reachability_for_sms_cfg = cJSON_GetObjectItemCaseSensitive(monitoring_configurationJSON, "reachabilityForSmsCfg"); OpenAPI_reachability_for_sms_configuration_t *reachability_for_sms_cfg_local_nonprim = NULL; if (reachability_for_sms_cfg) { reachability_for_sms_cfg_local_nonprim = OpenAPI_reachability_for_sms_configuration_parseFromJSON(reachability_for_sms_cfg); -} + } cJSON *mtc_provider_information = cJSON_GetObjectItemCaseSensitive(monitoring_configurationJSON, "mtcProviderInformation"); @@ -302,7 +302,7 @@ OpenAPI_monitoring_configuration_t *OpenAPI_monitoring_configuration_parseFromJS ogs_error("OpenAPI_monitoring_configuration_parseFromJSON() failed [mtc_provider_information]"); goto end; } -} + } cJSON *af_id = cJSON_GetObjectItemCaseSensitive(monitoring_configurationJSON, "afId"); @@ -311,7 +311,7 @@ OpenAPI_monitoring_configuration_t *OpenAPI_monitoring_configuration_parseFromJS ogs_error("OpenAPI_monitoring_configuration_parseFromJSON() failed [af_id]"); goto end; } -} + } monitoring_configuration_local_var = OpenAPI_monitoring_configuration_create ( event_type_local_nonprim, diff --git a/lib/sbi/openapi/model/mtc_provider.c b/lib/sbi/openapi/model/mtc_provider.c index 3b7b63559..8402f53b5 100644 --- a/lib/sbi/openapi/model/mtc_provider.c +++ b/lib/sbi/openapi/model/mtc_provider.c @@ -68,7 +68,7 @@ OpenAPI_mtc_provider_t *OpenAPI_mtc_provider_parseFromJSON(cJSON *mtc_providerJS ogs_error("OpenAPI_mtc_provider_parseFromJSON() failed [mtc_provider_information]"); goto end; } -} + } cJSON *af_id = cJSON_GetObjectItemCaseSensitive(mtc_providerJSON, "afId"); @@ -77,7 +77,7 @@ OpenAPI_mtc_provider_t *OpenAPI_mtc_provider_parseFromJSON(cJSON *mtc_providerJS ogs_error("OpenAPI_mtc_provider_parseFromJSON() failed [af_id]"); goto end; } -} + } mtc_provider_local_var = OpenAPI_mtc_provider_create ( mtc_provider_information ? ogs_strdup_or_assert(mtc_provider_information->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/multicast_access_control.c b/lib/sbi/openapi/model/multicast_access_control.c index fc6217d63..85f221c8e 100644 --- a/lib/sbi/openapi/model/multicast_access_control.c +++ b/lib/sbi/openapi/model/multicast_access_control.c @@ -102,7 +102,7 @@ OpenAPI_multicast_access_control_t *OpenAPI_multicast_access_control_parseFromJS ogs_error("OpenAPI_multicast_access_control_parseFromJSON() failed [src_ipv4_addr]"); goto end; } -} + } cJSON *src_ipv6_addr = cJSON_GetObjectItemCaseSensitive(multicast_access_controlJSON, "srcIpv6Addr"); @@ -111,7 +111,7 @@ OpenAPI_multicast_access_control_t *OpenAPI_multicast_access_control_parseFromJS ogs_error("OpenAPI_multicast_access_control_parseFromJSON() failed [src_ipv6_addr]"); goto end; } -} + } cJSON *multicast_v4_addr = cJSON_GetObjectItemCaseSensitive(multicast_access_controlJSON, "multicastV4Addr"); @@ -120,7 +120,7 @@ OpenAPI_multicast_access_control_t *OpenAPI_multicast_access_control_parseFromJS ogs_error("OpenAPI_multicast_access_control_parseFromJSON() failed [multicast_v4_addr]"); goto end; } -} + } cJSON *multicast_v6_addr = cJSON_GetObjectItemCaseSensitive(multicast_access_controlJSON, "multicastV6Addr"); @@ -129,7 +129,7 @@ OpenAPI_multicast_access_control_t *OpenAPI_multicast_access_control_parseFromJS ogs_error("OpenAPI_multicast_access_control_parseFromJSON() failed [multicast_v6_addr]"); goto end; } -} + } cJSON *acc_status = cJSON_GetObjectItemCaseSensitive(multicast_access_controlJSON, "accStatus"); if (!acc_status) { diff --git a/lib/sbi/openapi/model/n1_message_container.c b/lib/sbi/openapi/model/n1_message_container.c index 184ee9e25..779e92f55 100644 --- a/lib/sbi/openapi/model/n1_message_container.c +++ b/lib/sbi/openapi/model/n1_message_container.c @@ -113,7 +113,7 @@ OpenAPI_n1_message_container_t *OpenAPI_n1_message_container_parseFromJSON(cJSON ogs_error("OpenAPI_n1_message_container_parseFromJSON() failed [nf_id]"); goto end; } -} + } cJSON *service_instance_id = cJSON_GetObjectItemCaseSensitive(n1_message_containerJSON, "serviceInstanceId"); @@ -122,7 +122,7 @@ OpenAPI_n1_message_container_t *OpenAPI_n1_message_container_parseFromJSON(cJSON ogs_error("OpenAPI_n1_message_container_parseFromJSON() failed [service_instance_id]"); goto end; } -} + } n1_message_container_local_var = OpenAPI_n1_message_container_create ( n1_message_classVariable, diff --git a/lib/sbi/openapi/model/n1_message_notification.c b/lib/sbi/openapi/model/n1_message_notification.c index 5944a2461..e6b4a4f83 100644 --- a/lib/sbi/openapi/model/n1_message_notification.c +++ b/lib/sbi/openapi/model/n1_message_notification.c @@ -165,7 +165,7 @@ OpenAPI_n1_message_notification_t *OpenAPI_n1_message_notification_parseFromJSON ogs_error("OpenAPI_n1_message_notification_parseFromJSON() failed [n1_notify_subscription_id]"); goto end; } -} + } cJSON *n1_message_container = cJSON_GetObjectItemCaseSensitive(n1_message_notificationJSON, "n1MessageContainer"); if (!n1_message_container) { @@ -184,14 +184,14 @@ OpenAPI_n1_message_notification_t *OpenAPI_n1_message_notification_parseFromJSON ogs_error("OpenAPI_n1_message_notification_parseFromJSON() failed [lcs_correlation_id]"); goto end; } -} + } cJSON *registration_ctxt_container = cJSON_GetObjectItemCaseSensitive(n1_message_notificationJSON, "registrationCtxtContainer"); OpenAPI_registration_context_container_t *registration_ctxt_container_local_nonprim = NULL; if (registration_ctxt_container) { registration_ctxt_container_local_nonprim = OpenAPI_registration_context_container_parseFromJSON(registration_ctxt_container); -} + } cJSON *new_lmf_identification = cJSON_GetObjectItemCaseSensitive(n1_message_notificationJSON, "newLmfIdentification"); @@ -200,14 +200,14 @@ OpenAPI_n1_message_notification_t *OpenAPI_n1_message_notification_parseFromJSON ogs_error("OpenAPI_n1_message_notification_parseFromJSON() failed [new_lmf_identification]"); goto end; } -} + } cJSON *guami = cJSON_GetObjectItemCaseSensitive(n1_message_notificationJSON, "guami"); OpenAPI_guami_t *guami_local_nonprim = NULL; if (guami) { guami_local_nonprim = OpenAPI_guami_parseFromJSON(guami); -} + } cJSON *c_io_t5_gs_optimisation = cJSON_GetObjectItemCaseSensitive(n1_message_notificationJSON, "cIoT5GSOptimisation"); @@ -216,21 +216,21 @@ OpenAPI_n1_message_notification_t *OpenAPI_n1_message_notification_parseFromJSON ogs_error("OpenAPI_n1_message_notification_parseFromJSON() failed [c_io_t5_gs_optimisation]"); goto end; } -} + } cJSON *ecgi = cJSON_GetObjectItemCaseSensitive(n1_message_notificationJSON, "ecgi"); OpenAPI_ecgi_t *ecgi_local_nonprim = NULL; if (ecgi) { ecgi_local_nonprim = OpenAPI_ecgi_parseFromJSON(ecgi); -} + } cJSON *ncgi = cJSON_GetObjectItemCaseSensitive(n1_message_notificationJSON, "ncgi"); OpenAPI_ncgi_t *ncgi_local_nonprim = NULL; if (ncgi) { ncgi_local_nonprim = OpenAPI_ncgi_parseFromJSON(ncgi); -} + } n1_message_notification_local_var = OpenAPI_n1_message_notification_create ( n1_notify_subscription_id ? ogs_strdup_or_assert(n1_notify_subscription_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/n1_n2_message_transfer_error.c b/lib/sbi/openapi/model/n1_n2_message_transfer_error.c index 01eb355e9..b0854e42e 100644 --- a/lib/sbi/openapi/model/n1_n2_message_transfer_error.c +++ b/lib/sbi/openapi/model/n1_n2_message_transfer_error.c @@ -86,7 +86,7 @@ OpenAPI_n1_n2_message_transfer_error_t *OpenAPI_n1_n2_message_transfer_error_par OpenAPI_n1_n2_msg_txfr_err_detail_t *err_info_local_nonprim = NULL; if (err_info) { err_info_local_nonprim = OpenAPI_n1_n2_msg_txfr_err_detail_parseFromJSON(err_info); -} + } n1_n2_message_transfer_error_local_var = OpenAPI_n1_n2_message_transfer_error_create ( error_local_nonprim, diff --git a/lib/sbi/openapi/model/n1_n2_message_transfer_req_data.c b/lib/sbi/openapi/model/n1_n2_message_transfer_req_data.c index 3964575e0..370d66a8c 100644 --- a/lib/sbi/openapi/model/n1_n2_message_transfer_req_data.c +++ b/lib/sbi/openapi/model/n1_n2_message_transfer_req_data.c @@ -253,21 +253,21 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da OpenAPI_n1_message_container_t *n1_message_container_local_nonprim = NULL; if (n1_message_container) { n1_message_container_local_nonprim = OpenAPI_n1_message_container_parseFromJSON(n1_message_container); -} + } cJSON *n2_info_container = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "n2InfoContainer"); OpenAPI_n2_info_container_t *n2_info_container_local_nonprim = NULL; if (n2_info_container) { n2_info_container_local_nonprim = OpenAPI_n2_info_container_parseFromJSON(n2_info_container); -} + } cJSON *mt_data = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "mtData"); OpenAPI_ref_to_binary_data_t *mt_data_local_nonprim = NULL; if (mt_data) { mt_data_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(mt_data); -} + } cJSON *skip_ind = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "skipInd"); @@ -276,7 +276,7 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da ogs_error("OpenAPI_n1_n2_message_transfer_req_data_parseFromJSON() failed [skip_ind]"); goto end; } -} + } cJSON *last_msg_indication = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "lastMsgIndication"); @@ -285,7 +285,7 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da ogs_error("OpenAPI_n1_n2_message_transfer_req_data_parseFromJSON() failed [last_msg_indication]"); goto end; } -} + } cJSON *pdu_session_id = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "pduSessionId"); @@ -294,7 +294,7 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da ogs_error("OpenAPI_n1_n2_message_transfer_req_data_parseFromJSON() failed [pdu_session_id]"); goto end; } -} + } cJSON *lcs_correlation_id = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "lcsCorrelationId"); @@ -303,7 +303,7 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da ogs_error("OpenAPI_n1_n2_message_transfer_req_data_parseFromJSON() failed [lcs_correlation_id]"); goto end; } -} + } cJSON *ppi = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "ppi"); @@ -312,14 +312,14 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da ogs_error("OpenAPI_n1_n2_message_transfer_req_data_parseFromJSON() failed [ppi]"); goto end; } -} + } cJSON *arp = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "arp"); OpenAPI_arp_t *arp_local_nonprim = NULL; if (arp) { arp_local_nonprim = OpenAPI_arp_parseFromJSON(arp); -} + } cJSON *_5qi = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "5qi"); @@ -328,7 +328,7 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da ogs_error("OpenAPI_n1_n2_message_transfer_req_data_parseFromJSON() failed [_5qi]"); goto end; } -} + } cJSON *n1n2_failure_txf_notif_uri = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "n1n2FailureTxfNotifURI"); @@ -337,7 +337,7 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da ogs_error("OpenAPI_n1_n2_message_transfer_req_data_parseFromJSON() failed [n1n2_failure_txf_notif_uri]"); goto end; } -} + } cJSON *smf_reallocation_ind = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "smfReallocationInd"); @@ -346,14 +346,14 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da ogs_error("OpenAPI_n1_n2_message_transfer_req_data_parseFromJSON() failed [smf_reallocation_ind]"); goto end; } -} + } cJSON *area_of_validity = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "areaOfValidity"); OpenAPI_area_of_validity_t *area_of_validity_local_nonprim = NULL; if (area_of_validity) { area_of_validity_local_nonprim = OpenAPI_area_of_validity_parseFromJSON(area_of_validity); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "supportedFeatures"); @@ -362,14 +362,14 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da ogs_error("OpenAPI_n1_n2_message_transfer_req_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *old_guami = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "oldGuami"); OpenAPI_guami_t *old_guami_local_nonprim = NULL; if (old_guami) { old_guami_local_nonprim = OpenAPI_guami_parseFromJSON(old_guami); -} + } cJSON *ma_accepted_ind = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "maAcceptedInd"); @@ -378,7 +378,7 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da ogs_error("OpenAPI_n1_n2_message_transfer_req_data_parseFromJSON() failed [ma_accepted_ind]"); goto end; } -} + } cJSON *ext_buf_support = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "extBufSupport"); @@ -387,7 +387,7 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da ogs_error("OpenAPI_n1_n2_message_transfer_req_data_parseFromJSON() failed [ext_buf_support]"); goto end; } -} + } cJSON *target_access = cJSON_GetObjectItemCaseSensitive(n1_n2_message_transfer_req_dataJSON, "targetAccess"); @@ -398,7 +398,7 @@ OpenAPI_n1_n2_message_transfer_req_data_t *OpenAPI_n1_n2_message_transfer_req_da goto end; } target_accessVariable = OpenAPI_access_type_FromString(target_access->valuestring); -} + } n1_n2_message_transfer_req_data_local_var = OpenAPI_n1_n2_message_transfer_req_data_create ( n1_message_container ? n1_message_container_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/n1_n2_message_transfer_rsp_data.c b/lib/sbi/openapi/model/n1_n2_message_transfer_rsp_data.c index b83636c11..f5e4a4ad6 100644 --- a/lib/sbi/openapi/model/n1_n2_message_transfer_rsp_data.c +++ b/lib/sbi/openapi/model/n1_n2_message_transfer_rsp_data.c @@ -79,7 +79,7 @@ OpenAPI_n1_n2_message_transfer_rsp_data_t *OpenAPI_n1_n2_message_transfer_rsp_da ogs_error("OpenAPI_n1_n2_message_transfer_rsp_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } n1_n2_message_transfer_rsp_data_local_var = OpenAPI_n1_n2_message_transfer_rsp_data_create ( causeVariable, diff --git a/lib/sbi/openapi/model/n1_n2_msg_txfr_err_detail.c b/lib/sbi/openapi/model/n1_n2_msg_txfr_err_detail.c index 70a526196..fb5025187 100644 --- a/lib/sbi/openapi/model/n1_n2_msg_txfr_err_detail.c +++ b/lib/sbi/openapi/model/n1_n2_msg_txfr_err_detail.c @@ -82,14 +82,14 @@ OpenAPI_n1_n2_msg_txfr_err_detail_t *OpenAPI_n1_n2_msg_txfr_err_detail_parseFrom ogs_error("OpenAPI_n1_n2_msg_txfr_err_detail_parseFromJSON() failed [retry_after]"); goto end; } -} + } cJSON *highest_prio_arp = cJSON_GetObjectItemCaseSensitive(n1_n2_msg_txfr_err_detailJSON, "highestPrioArp"); OpenAPI_arp_t *highest_prio_arp_local_nonprim = NULL; if (highest_prio_arp) { highest_prio_arp_local_nonprim = OpenAPI_arp_parseFromJSON(highest_prio_arp); -} + } cJSON *max_waiting_time = cJSON_GetObjectItemCaseSensitive(n1_n2_msg_txfr_err_detailJSON, "maxWaitingTime"); @@ -98,7 +98,7 @@ OpenAPI_n1_n2_msg_txfr_err_detail_t *OpenAPI_n1_n2_msg_txfr_err_detail_parseFrom ogs_error("OpenAPI_n1_n2_msg_txfr_err_detail_parseFromJSON() failed [max_waiting_time]"); goto end; } -} + } n1_n2_msg_txfr_err_detail_local_var = OpenAPI_n1_n2_msg_txfr_err_detail_create ( retry_after ? retry_after->valuedouble : 0, diff --git a/lib/sbi/openapi/model/n2_info_container.c b/lib/sbi/openapi/model/n2_info_container.c index c51c11959..8410f1704 100644 --- a/lib/sbi/openapi/model/n2_info_container.c +++ b/lib/sbi/openapi/model/n2_info_container.c @@ -147,35 +147,35 @@ OpenAPI_n2_info_container_t *OpenAPI_n2_info_container_parseFromJSON(cJSON *n2_i OpenAPI_n2_sm_information_t *sm_info_local_nonprim = NULL; if (sm_info) { sm_info_local_nonprim = OpenAPI_n2_sm_information_parseFromJSON(sm_info); -} + } cJSON *ran_info = cJSON_GetObjectItemCaseSensitive(n2_info_containerJSON, "ranInfo"); OpenAPI_n2_ran_information_t *ran_info_local_nonprim = NULL; if (ran_info) { ran_info_local_nonprim = OpenAPI_n2_ran_information_parseFromJSON(ran_info); -} + } cJSON *nrppa_info = cJSON_GetObjectItemCaseSensitive(n2_info_containerJSON, "nrppaInfo"); OpenAPI_nrppa_information_t *nrppa_info_local_nonprim = NULL; if (nrppa_info) { nrppa_info_local_nonprim = OpenAPI_nrppa_information_parseFromJSON(nrppa_info); -} + } cJSON *pws_info = cJSON_GetObjectItemCaseSensitive(n2_info_containerJSON, "pwsInfo"); OpenAPI_pws_information_t *pws_info_local_nonprim = NULL; if (pws_info) { pws_info_local_nonprim = OpenAPI_pws_information_parseFromJSON(pws_info); -} + } cJSON *v2x_info = cJSON_GetObjectItemCaseSensitive(n2_info_containerJSON, "v2xInfo"); OpenAPI_v2x_information_t *v2x_info_local_nonprim = NULL; if (v2x_info) { v2x_info_local_nonprim = OpenAPI_v2x_information_parseFromJSON(v2x_info); -} + } n2_info_container_local_var = OpenAPI_n2_info_container_create ( n2_information_classVariable, diff --git a/lib/sbi/openapi/model/n2_info_content.c b/lib/sbi/openapi/model/n2_info_content.c index 42b9c899d..7cf1d481a 100644 --- a/lib/sbi/openapi/model/n2_info_content.c +++ b/lib/sbi/openapi/model/n2_info_content.c @@ -80,7 +80,7 @@ OpenAPI_n2_info_content_t *OpenAPI_n2_info_content_parseFromJSON(cJSON *n2_info_ ogs_error("OpenAPI_n2_info_content_parseFromJSON() failed [ngap_message_type]"); goto end; } -} + } cJSON *ngap_ie_type = cJSON_GetObjectItemCaseSensitive(n2_info_contentJSON, "ngapIeType"); @@ -91,7 +91,7 @@ OpenAPI_n2_info_content_t *OpenAPI_n2_info_content_parseFromJSON(cJSON *n2_info_ goto end; } ngap_ie_typeVariable = OpenAPI_ngap_ie_type_FromString(ngap_ie_type->valuestring); -} + } cJSON *ngap_data = cJSON_GetObjectItemCaseSensitive(n2_info_contentJSON, "ngapData"); if (!ngap_data) { diff --git a/lib/sbi/openapi/model/n2_info_notification_rsp_data.c b/lib/sbi/openapi/model/n2_info_notification_rsp_data.c index a8271b2fe..e9e08d90c 100644 --- a/lib/sbi/openapi/model/n2_info_notification_rsp_data.c +++ b/lib/sbi/openapi/model/n2_info_notification_rsp_data.c @@ -62,7 +62,7 @@ OpenAPI_n2_info_notification_rsp_data_t *OpenAPI_n2_info_notification_rsp_data_p OpenAPI_n2_info_content_t *n2_info_content_local_nonprim = NULL; if (n2_info_content) { n2_info_content_local_nonprim = OpenAPI_n2_info_content_parseFromJSON(n2_info_content); -} + } n2_info_notification_rsp_data_local_var = OpenAPI_n2_info_notification_rsp_data_create ( n2_info_content ? n2_info_content_local_nonprim : NULL diff --git a/lib/sbi/openapi/model/n2_information_notification.c b/lib/sbi/openapi/model/n2_information_notification.c index 69a83a4c0..da53bb9c9 100644 --- a/lib/sbi/openapi/model/n2_information_notification.c +++ b/lib/sbi/openapi/model/n2_information_notification.c @@ -220,7 +220,7 @@ OpenAPI_n2_information_notification_t *OpenAPI_n2_information_notification_parse OpenAPI_n2_info_container_t *n2_info_container_local_nonprim = NULL; if (n2_info_container) { n2_info_container_local_nonprim = OpenAPI_n2_info_container_parseFromJSON(n2_info_container); -} + } cJSON *to_release_session_list = cJSON_GetObjectItemCaseSensitive(n2_information_notificationJSON, "toReleaseSessionList"); @@ -240,7 +240,7 @@ OpenAPI_n2_information_notification_t *OpenAPI_n2_information_notification_parse } OpenAPI_list_add(to_release_session_listList , &to_release_session_list_local->valuedouble); } -} + } cJSON *lcs_correlation_id = cJSON_GetObjectItemCaseSensitive(n2_information_notificationJSON, "lcsCorrelationId"); @@ -249,7 +249,7 @@ OpenAPI_n2_information_notification_t *OpenAPI_n2_information_notification_parse ogs_error("OpenAPI_n2_information_notification_parseFromJSON() failed [lcs_correlation_id]"); goto end; } -} + } cJSON *notify_reason = cJSON_GetObjectItemCaseSensitive(n2_information_notificationJSON, "notifyReason"); @@ -260,7 +260,7 @@ OpenAPI_n2_information_notification_t *OpenAPI_n2_information_notification_parse goto end; } notify_reasonVariable = OpenAPI_n2_info_notify_reason_FromString(notify_reason->valuestring); -} + } cJSON *smf_change_info_list = cJSON_GetObjectItemCaseSensitive(n2_information_notificationJSON, "smfChangeInfoList"); @@ -283,14 +283,14 @@ OpenAPI_n2_information_notification_t *OpenAPI_n2_information_notification_parse OpenAPI_list_add(smf_change_info_listList, smf_change_info_listItem); } -} + } cJSON *ran_node_id = cJSON_GetObjectItemCaseSensitive(n2_information_notificationJSON, "ranNodeId"); OpenAPI_global_ran_node_id_t *ran_node_id_local_nonprim = NULL; if (ran_node_id) { ran_node_id_local_nonprim = OpenAPI_global_ran_node_id_parseFromJSON(ran_node_id); -} + } cJSON *initial_amf_name = cJSON_GetObjectItemCaseSensitive(n2_information_notificationJSON, "initialAmfName"); @@ -299,7 +299,7 @@ OpenAPI_n2_information_notification_t *OpenAPI_n2_information_notification_parse ogs_error("OpenAPI_n2_information_notification_parseFromJSON() failed [initial_amf_name]"); goto end; } -} + } cJSON *an_n2_ipv4_addr = cJSON_GetObjectItemCaseSensitive(n2_information_notificationJSON, "anN2IPv4Addr"); @@ -308,7 +308,7 @@ OpenAPI_n2_information_notification_t *OpenAPI_n2_information_notification_parse ogs_error("OpenAPI_n2_information_notification_parseFromJSON() failed [an_n2_ipv4_addr]"); goto end; } -} + } cJSON *an_n2_ipv6_addr = cJSON_GetObjectItemCaseSensitive(n2_information_notificationJSON, "anN2IPv6Addr"); @@ -317,14 +317,14 @@ OpenAPI_n2_information_notification_t *OpenAPI_n2_information_notification_parse ogs_error("OpenAPI_n2_information_notification_parseFromJSON() failed [an_n2_ipv6_addr]"); goto end; } -} + } cJSON *guami = cJSON_GetObjectItemCaseSensitive(n2_information_notificationJSON, "guami"); OpenAPI_guami_t *guami_local_nonprim = NULL; if (guami) { guami_local_nonprim = OpenAPI_guami_parseFromJSON(guami); -} + } cJSON *notify_source_ng_ran = cJSON_GetObjectItemCaseSensitive(n2_information_notificationJSON, "notifySourceNgRan"); @@ -333,7 +333,7 @@ OpenAPI_n2_information_notification_t *OpenAPI_n2_information_notification_parse ogs_error("OpenAPI_n2_information_notification_parseFromJSON() failed [notify_source_ng_ran]"); goto end; } -} + } n2_information_notification_local_var = OpenAPI_n2_information_notification_create ( ogs_strdup_or_assert(n2_notify_subscription_id->valuestring), diff --git a/lib/sbi/openapi/model/n2_information_transfer_error.c b/lib/sbi/openapi/model/n2_information_transfer_error.c index b66366c46..f0f8a3f9a 100644 --- a/lib/sbi/openapi/model/n2_information_transfer_error.c +++ b/lib/sbi/openapi/model/n2_information_transfer_error.c @@ -86,7 +86,7 @@ OpenAPI_n2_information_transfer_error_t *OpenAPI_n2_information_transfer_error_p OpenAPI_pws_error_data_t *pws_error_info_local_nonprim = NULL; if (pws_error_info) { pws_error_info_local_nonprim = OpenAPI_pws_error_data_parseFromJSON(pws_error_info); -} + } n2_information_transfer_error_local_var = OpenAPI_n2_information_transfer_error_create ( error_local_nonprim, diff --git a/lib/sbi/openapi/model/n2_information_transfer_req_data.c b/lib/sbi/openapi/model/n2_information_transfer_req_data.c index 8a94043f4..ca2ef8631 100644 --- a/lib/sbi/openapi/model/n2_information_transfer_req_data.c +++ b/lib/sbi/openapi/model/n2_information_transfer_req_data.c @@ -147,7 +147,7 @@ OpenAPI_n2_information_transfer_req_data_t *OpenAPI_n2_information_transfer_req_ OpenAPI_list_add(tai_listList, tai_listItem); } -} + } cJSON *rat_selector = cJSON_GetObjectItemCaseSensitive(n2_information_transfer_req_dataJSON, "ratSelector"); @@ -158,7 +158,7 @@ OpenAPI_n2_information_transfer_req_data_t *OpenAPI_n2_information_transfer_req_ goto end; } rat_selectorVariable = OpenAPI_rat_selector_FromString(rat_selector->valuestring); -} + } cJSON *global_ran_node_list = cJSON_GetObjectItemCaseSensitive(n2_information_transfer_req_dataJSON, "globalRanNodeList"); @@ -181,7 +181,7 @@ OpenAPI_n2_information_transfer_req_data_t *OpenAPI_n2_information_transfer_req_ OpenAPI_list_add(global_ran_node_listList, global_ran_node_listItem); } -} + } cJSON *n2_information = cJSON_GetObjectItemCaseSensitive(n2_information_transfer_req_dataJSON, "n2Information"); if (!n2_information) { @@ -200,7 +200,7 @@ OpenAPI_n2_information_transfer_req_data_t *OpenAPI_n2_information_transfer_req_ ogs_error("OpenAPI_n2_information_transfer_req_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } n2_information_transfer_req_data_local_var = OpenAPI_n2_information_transfer_req_data_create ( tai_list ? tai_listList : NULL, diff --git a/lib/sbi/openapi/model/n2_information_transfer_rsp_data.c b/lib/sbi/openapi/model/n2_information_transfer_rsp_data.c index 55fac8c2f..6faed6833 100644 --- a/lib/sbi/openapi/model/n2_information_transfer_rsp_data.c +++ b/lib/sbi/openapi/model/n2_information_transfer_rsp_data.c @@ -93,7 +93,7 @@ OpenAPI_n2_information_transfer_rsp_data_t *OpenAPI_n2_information_transfer_rsp_ OpenAPI_pws_response_data_t *pws_rsp_data_local_nonprim = NULL; if (pws_rsp_data) { pws_rsp_data_local_nonprim = OpenAPI_pws_response_data_parseFromJSON(pws_rsp_data); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(n2_information_transfer_rsp_dataJSON, "supportedFeatures"); @@ -102,7 +102,7 @@ OpenAPI_n2_information_transfer_rsp_data_t *OpenAPI_n2_information_transfer_rsp_ ogs_error("OpenAPI_n2_information_transfer_rsp_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } n2_information_transfer_rsp_data_local_var = OpenAPI_n2_information_transfer_rsp_data_create ( resultVariable, diff --git a/lib/sbi/openapi/model/n2_interface_amf_info.c b/lib/sbi/openapi/model/n2_interface_amf_info.c index 984efac36..1a560c54c 100644 --- a/lib/sbi/openapi/model/n2_interface_amf_info.c +++ b/lib/sbi/openapi/model/n2_interface_amf_info.c @@ -113,7 +113,7 @@ OpenAPI_n2_interface_amf_info_t *OpenAPI_n2_interface_amf_info_parseFromJSON(cJS } OpenAPI_list_add(ipv4_endpoint_addressList , ogs_strdup_or_assert(ipv4_endpoint_address_local->valuestring)); } -} + } cJSON *ipv6_endpoint_address = cJSON_GetObjectItemCaseSensitive(n2_interface_amf_infoJSON, "ipv6EndpointAddress"); @@ -133,7 +133,7 @@ OpenAPI_n2_interface_amf_info_t *OpenAPI_n2_interface_amf_info_parseFromJSON(cJS } OpenAPI_list_add(ipv6_endpoint_addressList , ogs_strdup_or_assert(ipv6_endpoint_address_local->valuestring)); } -} + } cJSON *amf_name = cJSON_GetObjectItemCaseSensitive(n2_interface_amf_infoJSON, "amfName"); @@ -142,7 +142,7 @@ OpenAPI_n2_interface_amf_info_t *OpenAPI_n2_interface_amf_info_parseFromJSON(cJS ogs_error("OpenAPI_n2_interface_amf_info_parseFromJSON() failed [amf_name]"); goto end; } -} + } n2_interface_amf_info_local_var = OpenAPI_n2_interface_amf_info_create ( ipv4_endpoint_address ? ipv4_endpoint_addressList : NULL, diff --git a/lib/sbi/openapi/model/n2_sm_information.c b/lib/sbi/openapi/model/n2_sm_information.c index 7b78e3df0..6d47027ab 100644 --- a/lib/sbi/openapi/model/n2_sm_information.c +++ b/lib/sbi/openapi/model/n2_sm_information.c @@ -138,28 +138,28 @@ OpenAPI_n2_sm_information_t *OpenAPI_n2_sm_information_parseFromJSON(cJSON *n2_s OpenAPI_n2_info_content_t *n2_info_content_local_nonprim = NULL; if (n2_info_content) { n2_info_content_local_nonprim = OpenAPI_n2_info_content_parseFromJSON(n2_info_content); -} + } cJSON *s_nssai = cJSON_GetObjectItemCaseSensitive(n2_sm_informationJSON, "sNssai"); OpenAPI_snssai_t *s_nssai_local_nonprim = NULL; if (s_nssai) { s_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(s_nssai); -} + } cJSON *home_plmn_snssai = cJSON_GetObjectItemCaseSensitive(n2_sm_informationJSON, "homePlmnSnssai"); OpenAPI_snssai_t *home_plmn_snssai_local_nonprim = NULL; if (home_plmn_snssai) { home_plmn_snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(home_plmn_snssai); -} + } cJSON *iwk_snssai = cJSON_GetObjectItemCaseSensitive(n2_sm_informationJSON, "iwkSnssai"); OpenAPI_snssai_t *iwk_snssai_local_nonprim = NULL; if (iwk_snssai) { iwk_snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(iwk_snssai); -} + } cJSON *subject_to_ho = cJSON_GetObjectItemCaseSensitive(n2_sm_informationJSON, "subjectToHo"); @@ -168,7 +168,7 @@ OpenAPI_n2_sm_information_t *OpenAPI_n2_sm_information_parseFromJSON(cJSON *n2_s ogs_error("OpenAPI_n2_sm_information_parseFromJSON() failed [subject_to_ho]"); goto end; } -} + } n2_sm_information_local_var = OpenAPI_n2_sm_information_create ( pdu_session_id->valuedouble, diff --git a/lib/sbi/openapi/model/n3ga_location.c b/lib/sbi/openapi/model/n3ga_location.c index e6a1890cd..ed3196e2f 100644 --- a/lib/sbi/openapi/model/n3ga_location.c +++ b/lib/sbi/openapi/model/n3ga_location.c @@ -178,7 +178,7 @@ OpenAPI_n3ga_location_t *OpenAPI_n3ga_location_parseFromJSON(cJSON *n3ga_locatio OpenAPI_tai_t *n3gpp_tai_local_nonprim = NULL; if (n3gpp_tai) { n3gpp_tai_local_nonprim = OpenAPI_tai_parseFromJSON(n3gpp_tai); -} + } cJSON *n3_iwf_id = cJSON_GetObjectItemCaseSensitive(n3ga_locationJSON, "n3IwfId"); @@ -187,7 +187,7 @@ OpenAPI_n3ga_location_t *OpenAPI_n3ga_location_parseFromJSON(cJSON *n3ga_locatio ogs_error("OpenAPI_n3ga_location_parseFromJSON() failed [n3_iwf_id]"); goto end; } -} + } cJSON *ue_ipv4_addr = cJSON_GetObjectItemCaseSensitive(n3ga_locationJSON, "ueIpv4Addr"); @@ -196,7 +196,7 @@ OpenAPI_n3ga_location_t *OpenAPI_n3ga_location_parseFromJSON(cJSON *n3ga_locatio ogs_error("OpenAPI_n3ga_location_parseFromJSON() failed [ue_ipv4_addr]"); goto end; } -} + } cJSON *ue_ipv6_addr = cJSON_GetObjectItemCaseSensitive(n3ga_locationJSON, "ueIpv6Addr"); @@ -205,7 +205,7 @@ OpenAPI_n3ga_location_t *OpenAPI_n3ga_location_parseFromJSON(cJSON *n3ga_locatio ogs_error("OpenAPI_n3ga_location_parseFromJSON() failed [ue_ipv6_addr]"); goto end; } -} + } cJSON *port_number = cJSON_GetObjectItemCaseSensitive(n3ga_locationJSON, "portNumber"); @@ -214,28 +214,28 @@ OpenAPI_n3ga_location_t *OpenAPI_n3ga_location_parseFromJSON(cJSON *n3ga_locatio ogs_error("OpenAPI_n3ga_location_parseFromJSON() failed [port_number]"); goto end; } -} + } cJSON *tnap_id = cJSON_GetObjectItemCaseSensitive(n3ga_locationJSON, "tnapId"); OpenAPI_tnap_id_t *tnap_id_local_nonprim = NULL; if (tnap_id) { tnap_id_local_nonprim = OpenAPI_tnap_id_parseFromJSON(tnap_id); -} + } cJSON *twap_id = cJSON_GetObjectItemCaseSensitive(n3ga_locationJSON, "twapId"); OpenAPI_twap_id_t *twap_id_local_nonprim = NULL; if (twap_id) { twap_id_local_nonprim = OpenAPI_twap_id_parseFromJSON(twap_id); -} + } cJSON *hfc_node_id = cJSON_GetObjectItemCaseSensitive(n3ga_locationJSON, "hfcNodeId"); OpenAPI_hfc_node_id_t *hfc_node_id_local_nonprim = NULL; if (hfc_node_id) { hfc_node_id_local_nonprim = OpenAPI_hfc_node_id_parseFromJSON(hfc_node_id); -} + } cJSON *gli = cJSON_GetObjectItemCaseSensitive(n3ga_locationJSON, "gli"); @@ -244,7 +244,7 @@ OpenAPI_n3ga_location_t *OpenAPI_n3ga_location_parseFromJSON(cJSON *n3ga_locatio ogs_error("OpenAPI_n3ga_location_parseFromJSON() failed [gli]"); goto end; } -} + } cJSON *w5gban_line_type = cJSON_GetObjectItemCaseSensitive(n3ga_locationJSON, "w5gbanLineType"); @@ -255,7 +255,7 @@ OpenAPI_n3ga_location_t *OpenAPI_n3ga_location_parseFromJSON(cJSON *n3ga_locatio goto end; } w5gban_line_typeVariable = OpenAPI_line_type_FromString(w5gban_line_type->valuestring); -} + } cJSON *gci = cJSON_GetObjectItemCaseSensitive(n3ga_locationJSON, "gci"); @@ -264,7 +264,7 @@ OpenAPI_n3ga_location_t *OpenAPI_n3ga_location_parseFromJSON(cJSON *n3ga_locatio ogs_error("OpenAPI_n3ga_location_parseFromJSON() failed [gci]"); goto end; } -} + } n3ga_location_local_var = OpenAPI_n3ga_location_create ( n3gpp_tai ? n3gpp_tai_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/n4_information.c b/lib/sbi/openapi/model/n4_information.c index 3e9d0e51d..64bf71086 100644 --- a/lib/sbi/openapi/model/n4_information.c +++ b/lib/sbi/openapi/model/n4_information.c @@ -107,7 +107,7 @@ OpenAPI_n4_information_t *OpenAPI_n4_information_parseFromJSON(cJSON *n4_informa OpenAPI_dnai_information_t *n4_dnai_info_local_nonprim = NULL; if (n4_dnai_info) { n4_dnai_info_local_nonprim = OpenAPI_dnai_information_parseFromJSON(n4_dnai_info); -} + } n4_information_local_var = OpenAPI_n4_information_create ( n4_message_typeVariable, diff --git a/lib/sbi/openapi/model/ncgi.c b/lib/sbi/openapi/model/ncgi.c index 2d5127040..4b26c7ab4 100644 --- a/lib/sbi/openapi/model/ncgi.c +++ b/lib/sbi/openapi/model/ncgi.c @@ -102,7 +102,7 @@ OpenAPI_ncgi_t *OpenAPI_ncgi_parseFromJSON(cJSON *ncgiJSON) ogs_error("OpenAPI_ncgi_parseFromJSON() failed [nid]"); goto end; } -} + } ncgi_local_var = OpenAPI_ncgi_create ( plmn_id_local_nonprim, diff --git a/lib/sbi/openapi/model/ncgi_1.c b/lib/sbi/openapi/model/ncgi_1.c index a75ed01bd..f25b2e69d 100644 --- a/lib/sbi/openapi/model/ncgi_1.c +++ b/lib/sbi/openapi/model/ncgi_1.c @@ -102,7 +102,7 @@ OpenAPI_ncgi_1_t *OpenAPI_ncgi_1_parseFromJSON(cJSON *ncgi_1JSON) ogs_error("OpenAPI_ncgi_1_parseFromJSON() failed [nid]"); goto end; } -} + } ncgi_1_local_var = OpenAPI_ncgi_1_create ( plmn_id_local_nonprim, diff --git a/lib/sbi/openapi/model/nef_cond.c b/lib/sbi/openapi/model/nef_cond.c index 2cc5b36b4..0e7c8a61e 100644 --- a/lib/sbi/openapi/model/nef_cond.c +++ b/lib/sbi/openapi/model/nef_cond.c @@ -239,7 +239,7 @@ OpenAPI_nef_cond_t *OpenAPI_nef_cond_parseFromJSON(cJSON *nef_condJSON) OpenAPI_list_add(af_eventsList, (void *)OpenAPI_af_event_FromString(af_events_local_nonprimitive->valuestring)); } -} + } cJSON *snssai_list = cJSON_GetObjectItemCaseSensitive(nef_condJSON, "snssaiList"); @@ -262,14 +262,14 @@ OpenAPI_nef_cond_t *OpenAPI_nef_cond_parseFromJSON(cJSON *nef_condJSON) OpenAPI_list_add(snssai_listList, snssai_listItem); } -} + } cJSON *pfd_data = cJSON_GetObjectItemCaseSensitive(nef_condJSON, "pfdData"); OpenAPI_pfd_data_t *pfd_data_local_nonprim = NULL; if (pfd_data) { pfd_data_local_nonprim = OpenAPI_pfd_data_parseFromJSON(pfd_data); -} + } cJSON *gpsi_ranges = cJSON_GetObjectItemCaseSensitive(nef_condJSON, "gpsiRanges"); @@ -292,7 +292,7 @@ OpenAPI_nef_cond_t *OpenAPI_nef_cond_parseFromJSON(cJSON *nef_condJSON) OpenAPI_list_add(gpsi_rangesList, gpsi_rangesItem); } -} + } cJSON *external_group_identifiers_ranges = cJSON_GetObjectItemCaseSensitive(nef_condJSON, "externalGroupIdentifiersRanges"); @@ -315,7 +315,7 @@ OpenAPI_nef_cond_t *OpenAPI_nef_cond_parseFromJSON(cJSON *nef_condJSON) OpenAPI_list_add(external_group_identifiers_rangesList, external_group_identifiers_rangesItem); } -} + } cJSON *served_fqdn_list = cJSON_GetObjectItemCaseSensitive(nef_condJSON, "servedFqdnList"); @@ -335,7 +335,7 @@ OpenAPI_nef_cond_t *OpenAPI_nef_cond_parseFromJSON(cJSON *nef_condJSON) } OpenAPI_list_add(served_fqdn_listList , ogs_strdup_or_assert(served_fqdn_list_local->valuestring)); } -} + } nef_cond_local_var = OpenAPI_nef_cond_create ( condition_typeVariable, diff --git a/lib/sbi/openapi/model/nef_info.c b/lib/sbi/openapi/model/nef_info.c index 13a8f9be7..1ae9c90d6 100644 --- a/lib/sbi/openapi/model/nef_info.c +++ b/lib/sbi/openapi/model/nef_info.c @@ -164,21 +164,21 @@ OpenAPI_nef_info_t *OpenAPI_nef_info_parseFromJSON(cJSON *nef_infoJSON) ogs_error("OpenAPI_nef_info_parseFromJSON() failed [nef_id]"); goto end; } -} + } cJSON *pfd_data = cJSON_GetObjectItemCaseSensitive(nef_infoJSON, "pfdData"); OpenAPI_pfd_data_t *pfd_data_local_nonprim = NULL; if (pfd_data) { pfd_data_local_nonprim = OpenAPI_pfd_data_parseFromJSON(pfd_data); -} + } cJSON *af_ee_data = cJSON_GetObjectItemCaseSensitive(nef_infoJSON, "afEeData"); OpenAPI_af_event_exposure_data_t *af_ee_data_local_nonprim = NULL; if (af_ee_data) { af_ee_data_local_nonprim = OpenAPI_af_event_exposure_data_parseFromJSON(af_ee_data); -} + } cJSON *gpsi_ranges = cJSON_GetObjectItemCaseSensitive(nef_infoJSON, "gpsiRanges"); @@ -201,7 +201,7 @@ OpenAPI_nef_info_t *OpenAPI_nef_info_parseFromJSON(cJSON *nef_infoJSON) OpenAPI_list_add(gpsi_rangesList, gpsi_rangesItem); } -} + } cJSON *external_group_identifiers_ranges = cJSON_GetObjectItemCaseSensitive(nef_infoJSON, "externalGroupIdentifiersRanges"); @@ -224,7 +224,7 @@ OpenAPI_nef_info_t *OpenAPI_nef_info_parseFromJSON(cJSON *nef_infoJSON) OpenAPI_list_add(external_group_identifiers_rangesList, external_group_identifiers_rangesItem); } -} + } cJSON *served_fqdn_list = cJSON_GetObjectItemCaseSensitive(nef_infoJSON, "servedFqdnList"); @@ -244,7 +244,7 @@ OpenAPI_nef_info_t *OpenAPI_nef_info_parseFromJSON(cJSON *nef_infoJSON) } OpenAPI_list_add(served_fqdn_listList , ogs_strdup_or_assert(served_fqdn_list_local->valuestring)); } -} + } nef_info_local_var = OpenAPI_nef_info_create ( nef_id ? ogs_strdup_or_assert(nef_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/network_area_info.c b/lib/sbi/openapi/model/network_area_info.c index 783e79f20..b8e1ae030 100644 --- a/lib/sbi/openapi/model/network_area_info.c +++ b/lib/sbi/openapi/model/network_area_info.c @@ -166,7 +166,7 @@ OpenAPI_network_area_info_t *OpenAPI_network_area_info_parseFromJSON(cJSON *netw OpenAPI_list_add(ecgisList, ecgisItem); } -} + } cJSON *ncgis = cJSON_GetObjectItemCaseSensitive(network_area_infoJSON, "ncgis"); @@ -189,7 +189,7 @@ OpenAPI_network_area_info_t *OpenAPI_network_area_info_parseFromJSON(cJSON *netw OpenAPI_list_add(ncgisList, ncgisItem); } -} + } cJSON *g_ran_node_ids = cJSON_GetObjectItemCaseSensitive(network_area_infoJSON, "gRanNodeIds"); @@ -212,7 +212,7 @@ OpenAPI_network_area_info_t *OpenAPI_network_area_info_parseFromJSON(cJSON *netw OpenAPI_list_add(g_ran_node_idsList, g_ran_node_idsItem); } -} + } cJSON *tais = cJSON_GetObjectItemCaseSensitive(network_area_infoJSON, "tais"); @@ -235,7 +235,7 @@ OpenAPI_network_area_info_t *OpenAPI_network_area_info_parseFromJSON(cJSON *netw OpenAPI_list_add(taisList, taisItem); } -} + } network_area_info_local_var = OpenAPI_network_area_info_create ( ecgis ? ecgisList : NULL, diff --git a/lib/sbi/openapi/model/network_area_info_1.c b/lib/sbi/openapi/model/network_area_info_1.c index 3060e6663..6158ccc33 100644 --- a/lib/sbi/openapi/model/network_area_info_1.c +++ b/lib/sbi/openapi/model/network_area_info_1.c @@ -166,7 +166,7 @@ OpenAPI_network_area_info_1_t *OpenAPI_network_area_info_1_parseFromJSON(cJSON * OpenAPI_list_add(ecgisList, ecgisItem); } -} + } cJSON *ncgis = cJSON_GetObjectItemCaseSensitive(network_area_info_1JSON, "ncgis"); @@ -189,7 +189,7 @@ OpenAPI_network_area_info_1_t *OpenAPI_network_area_info_1_parseFromJSON(cJSON * OpenAPI_list_add(ncgisList, ncgisItem); } -} + } cJSON *g_ran_node_ids = cJSON_GetObjectItemCaseSensitive(network_area_info_1JSON, "gRanNodeIds"); @@ -212,7 +212,7 @@ OpenAPI_network_area_info_1_t *OpenAPI_network_area_info_1_parseFromJSON(cJSON * OpenAPI_list_add(g_ran_node_idsList, g_ran_node_idsItem); } -} + } cJSON *tais = cJSON_GetObjectItemCaseSensitive(network_area_info_1JSON, "tais"); @@ -235,7 +235,7 @@ OpenAPI_network_area_info_1_t *OpenAPI_network_area_info_1_parseFromJSON(cJSON * OpenAPI_list_add(taisList, taisItem); } -} + } network_area_info_1_local_var = OpenAPI_network_area_info_1_create ( ecgis ? ecgisList : NULL, diff --git a/lib/sbi/openapi/model/network_slice_cond.c b/lib/sbi/openapi/model/network_slice_cond.c index f730c8a4f..cc06a157c 100644 --- a/lib/sbi/openapi/model/network_slice_cond.c +++ b/lib/sbi/openapi/model/network_slice_cond.c @@ -131,7 +131,7 @@ OpenAPI_network_slice_cond_t *OpenAPI_network_slice_cond_parseFromJSON(cJSON *ne } OpenAPI_list_add(nsi_listList , ogs_strdup_or_assert(nsi_list_local->valuestring)); } -} + } network_slice_cond_local_var = OpenAPI_network_slice_cond_create ( snssai_listList, diff --git a/lib/sbi/openapi/model/nf_info.c b/lib/sbi/openapi/model/nf_info.c index 8544a6ff9..06f35d60f 100644 --- a/lib/sbi/openapi/model/nf_info.c +++ b/lib/sbi/openapi/model/nf_info.c @@ -59,7 +59,7 @@ OpenAPI_nf_info_t *OpenAPI_nf_info_parseFromJSON(cJSON *nf_infoJSON) goto end; } nf_typeVariable = OpenAPI_nf_type_FromString(nf_type->valuestring); -} + } nf_info_local_var = OpenAPI_nf_info_create ( nf_type ? nf_typeVariable : 0 diff --git a/lib/sbi/openapi/model/nf_profile.c b/lib/sbi/openapi/model/nf_profile.c index fbf31662c..0a9780fbd 100644 --- a/lib/sbi/openapi/model/nf_profile.c +++ b/lib/sbi/openapi/model/nf_profile.c @@ -1324,7 +1324,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [nf_instance_name]"); goto end; } -} + } cJSON *nf_type = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "nfType"); if (!nf_type) { @@ -1361,7 +1361,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [heart_beat_timer]"); goto end; } -} + } cJSON *plmn_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "plmnList"); @@ -1384,7 +1384,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) OpenAPI_list_add(plmn_listList, plmn_listItem); } -} + } cJSON *snpn_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "snpnList"); @@ -1407,7 +1407,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) OpenAPI_list_add(snpn_listList, snpn_listItem); } -} + } cJSON *s_nssais = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "sNssais"); @@ -1430,7 +1430,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) OpenAPI_list_add(s_nssaisList, s_nssaisItem); } -} + } cJSON *per_plmn_snssai_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "perPlmnSnssaiList"); @@ -1453,7 +1453,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) OpenAPI_list_add(per_plmn_snssai_listList, per_plmn_snssai_listItem); } -} + } cJSON *nsi_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "nsiList"); @@ -1473,7 +1473,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) } OpenAPI_list_add(nsi_listList , ogs_strdup_or_assert(nsi_list_local->valuestring)); } -} + } cJSON *fqdn = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "fqdn"); @@ -1482,7 +1482,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [fqdn]"); goto end; } -} + } cJSON *inter_plmn_fqdn = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "interPlmnFqdn"); @@ -1491,7 +1491,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [inter_plmn_fqdn]"); goto end; } -} + } cJSON *ipv4_addresses = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "ipv4Addresses"); @@ -1511,7 +1511,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) } OpenAPI_list_add(ipv4_addressesList , ogs_strdup_or_assert(ipv4_addresses_local->valuestring)); } -} + } cJSON *ipv6_addresses = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "ipv6Addresses"); @@ -1531,7 +1531,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) } OpenAPI_list_add(ipv6_addressesList , ogs_strdup_or_assert(ipv6_addresses_local->valuestring)); } -} + } cJSON *allowed_plmns = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "allowedPlmns"); @@ -1554,7 +1554,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) OpenAPI_list_add(allowed_plmnsList, allowed_plmnsItem); } -} + } cJSON *allowed_snpns = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "allowedSnpns"); @@ -1577,7 +1577,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) OpenAPI_list_add(allowed_snpnsList, allowed_snpnsItem); } -} + } cJSON *allowed_nf_types = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "allowedNfTypes"); @@ -1599,7 +1599,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) OpenAPI_list_add(allowed_nf_typesList, (void *)OpenAPI_nf_type_FromString(allowed_nf_types_local_nonprimitive->valuestring)); } -} + } cJSON *allowed_nf_domains = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "allowedNfDomains"); @@ -1619,7 +1619,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) } OpenAPI_list_add(allowed_nf_domainsList , ogs_strdup_or_assert(allowed_nf_domains_local->valuestring)); } -} + } cJSON *allowed_nssais = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "allowedNssais"); @@ -1642,7 +1642,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) OpenAPI_list_add(allowed_nssaisList, allowed_nssaisItem); } -} + } cJSON *priority = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "priority"); @@ -1651,7 +1651,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [priority]"); goto end; } -} + } cJSON *capacity = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "capacity"); @@ -1660,7 +1660,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [capacity]"); goto end; } -} + } cJSON *load = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "load"); @@ -1669,7 +1669,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [load]"); goto end; } -} + } cJSON *load_time_stamp = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "loadTimeStamp"); @@ -1678,7 +1678,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [load_time_stamp]"); goto end; } -} + } cJSON *locality = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "locality"); @@ -1687,14 +1687,14 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [locality]"); goto end; } -} + } cJSON *udr_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "udrInfo"); OpenAPI_udr_info_t *udr_info_local_nonprim = NULL; if (udr_info) { udr_info_local_nonprim = OpenAPI_udr_info_parseFromJSON(udr_info); -} + } cJSON *udr_info_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "udrInfoList"); @@ -1717,14 +1717,14 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_udr_info_parseFromJSON(localMapObject)); OpenAPI_list_add(udr_info_listList , localMapKeyPair); } -} + } cJSON *udm_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "udmInfo"); OpenAPI_udm_info_t *udm_info_local_nonprim = NULL; if (udm_info) { udm_info_local_nonprim = OpenAPI_udm_info_parseFromJSON(udm_info); -} + } cJSON *udm_info_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "udmInfoList"); @@ -1747,14 +1747,14 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_udm_info_parseFromJSON(localMapObject)); OpenAPI_list_add(udm_info_listList , localMapKeyPair); } -} + } cJSON *ausf_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "ausfInfo"); OpenAPI_ausf_info_t *ausf_info_local_nonprim = NULL; if (ausf_info) { ausf_info_local_nonprim = OpenAPI_ausf_info_parseFromJSON(ausf_info); -} + } cJSON *ausf_info_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "ausfInfoList"); @@ -1777,14 +1777,14 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_ausf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(ausf_info_listList , localMapKeyPair); } -} + } cJSON *amf_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "amfInfo"); OpenAPI_amf_info_t *amf_info_local_nonprim = NULL; if (amf_info) { amf_info_local_nonprim = OpenAPI_amf_info_parseFromJSON(amf_info); -} + } cJSON *amf_info_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "amfInfoList"); @@ -1807,14 +1807,14 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_amf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(amf_info_listList , localMapKeyPair); } -} + } cJSON *smf_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "smfInfo"); OpenAPI_smf_info_t *smf_info_local_nonprim = NULL; if (smf_info) { smf_info_local_nonprim = OpenAPI_smf_info_parseFromJSON(smf_info); -} + } cJSON *smf_info_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "smfInfoList"); @@ -1837,14 +1837,14 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_smf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(smf_info_listList , localMapKeyPair); } -} + } cJSON *upf_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "upfInfo"); OpenAPI_upf_info_t *upf_info_local_nonprim = NULL; if (upf_info) { upf_info_local_nonprim = OpenAPI_upf_info_parseFromJSON(upf_info); -} + } cJSON *upf_info_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "upfInfoList"); @@ -1867,14 +1867,14 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_upf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(upf_info_listList , localMapKeyPair); } -} + } cJSON *pcf_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "pcfInfo"); OpenAPI_pcf_info_t *pcf_info_local_nonprim = NULL; if (pcf_info) { pcf_info_local_nonprim = OpenAPI_pcf_info_parseFromJSON(pcf_info); -} + } cJSON *pcf_info_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "pcfInfoList"); @@ -1897,14 +1897,14 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_pcf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(pcf_info_listList , localMapKeyPair); } -} + } cJSON *bsf_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "bsfInfo"); OpenAPI_bsf_info_t *bsf_info_local_nonprim = NULL; if (bsf_info) { bsf_info_local_nonprim = OpenAPI_bsf_info_parseFromJSON(bsf_info); -} + } cJSON *bsf_info_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "bsfInfoList"); @@ -1927,14 +1927,14 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_bsf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(bsf_info_listList , localMapKeyPair); } -} + } cJSON *chf_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "chfInfo"); OpenAPI_chf_info_t *chf_info_local_nonprim = NULL; if (chf_info) { chf_info_local_nonprim = OpenAPI_chf_info_parseFromJSON(chf_info); -} + } cJSON *chf_info_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "chfInfoList"); @@ -1957,28 +1957,28 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_chf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(chf_info_listList , localMapKeyPair); } -} + } cJSON *nef_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "nefInfo"); OpenAPI_nef_info_t *nef_info_local_nonprim = NULL; if (nef_info) { nef_info_local_nonprim = OpenAPI_nef_info_parseFromJSON(nef_info); -} + } cJSON *nrf_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "nrfInfo"); OpenAPI_nrf_info_t *nrf_info_local_nonprim = NULL; if (nrf_info) { nrf_info_local_nonprim = OpenAPI_nrf_info_parseFromJSON(nrf_info); -} + } cJSON *udsf_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "udsfInfo"); OpenAPI_udsf_info_t *udsf_info_local_nonprim = NULL; if (udsf_info) { udsf_info_local_nonprim = OpenAPI_udsf_info_parseFromJSON(udsf_info); -} + } cJSON *udsf_info_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "udsfInfoList"); @@ -2001,14 +2001,14 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_udsf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(udsf_info_listList , localMapKeyPair); } -} + } cJSON *nwdaf_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "nwdafInfo"); OpenAPI_nwdaf_info_t *nwdaf_info_local_nonprim = NULL; if (nwdaf_info) { nwdaf_info_local_nonprim = OpenAPI_nwdaf_info_parseFromJSON(nwdaf_info); -} + } cJSON *pcscf_info_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "pcscfInfoList"); @@ -2031,7 +2031,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_pcscf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(pcscf_info_listList , localMapKeyPair); } -} + } cJSON *hss_info_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "hssInfoList"); @@ -2054,14 +2054,14 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_hss_info_parseFromJSON(localMapObject)); OpenAPI_list_add(hss_info_listList , localMapKeyPair); } -} + } cJSON *custom_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "customInfo"); OpenAPI_object_t *custom_info_local_object = NULL; if (custom_info) { custom_info_local_object = OpenAPI_object_parseFromJSON(custom_info); -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "recoveryTime"); @@ -2070,7 +2070,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [recovery_time]"); goto end; } -} + } cJSON *nf_service_persistence = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "nfServicePersistence"); @@ -2079,7 +2079,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [nf_service_persistence]"); goto end; } -} + } cJSON *nf_services = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "nfServices"); @@ -2102,7 +2102,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) OpenAPI_list_add(nf_servicesList, nf_servicesItem); } -} + } cJSON *nf_service_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "nfServiceList"); @@ -2125,7 +2125,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) localMapObject->string, OpenAPI_nf_service_parseFromJSON(localMapObject)); OpenAPI_list_add(nf_service_listList , localMapKeyPair); } -} + } cJSON *nf_profile_changes_support_ind = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "nfProfileChangesSupportInd"); @@ -2134,7 +2134,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [nf_profile_changes_support_ind]"); goto end; } -} + } cJSON *nf_profile_changes_ind = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "nfProfileChangesInd"); @@ -2143,7 +2143,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [nf_profile_changes_ind]"); goto end; } -} + } cJSON *default_notification_subscriptions = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "defaultNotificationSubscriptions"); @@ -2166,21 +2166,21 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) OpenAPI_list_add(default_notification_subscriptionsList, default_notification_subscriptionsItem); } -} + } cJSON *lmf_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "lmfInfo"); OpenAPI_lmf_info_t *lmf_info_local_nonprim = NULL; if (lmf_info) { lmf_info_local_nonprim = OpenAPI_lmf_info_parseFromJSON(lmf_info); -} + } cJSON *gmlc_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "gmlcInfo"); OpenAPI_gmlc_info_t *gmlc_info_local_nonprim = NULL; if (gmlc_info) { gmlc_info_local_nonprim = OpenAPI_gmlc_info_parseFromJSON(gmlc_info); -} + } cJSON *nf_set_id_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "nfSetIdList"); @@ -2200,7 +2200,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) } OpenAPI_list_add(nf_set_id_listList , ogs_strdup_or_assert(nf_set_id_list_local->valuestring)); } -} + } cJSON *serving_scope = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "servingScope"); @@ -2220,7 +2220,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) } OpenAPI_list_add(serving_scopeList , ogs_strdup_or_assert(serving_scope_local->valuestring)); } -} + } cJSON *lc_h_support_ind = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "lcHSupportInd"); @@ -2229,7 +2229,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [lc_h_support_ind]"); goto end; } -} + } cJSON *olc_h_support_ind = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "olcHSupportInd"); @@ -2238,7 +2238,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [olc_h_support_ind]"); goto end; } -} + } cJSON *nf_set_recovery_time_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "nfSetRecoveryTimeList"); @@ -2255,7 +2255,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) cJSON *localMapObject = nf_set_recovery_time_list_local_map; OpenAPI_list_add(nf_set_recovery_time_listList , localMapKeyPair); } -} + } cJSON *service_set_recovery_time_list = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "serviceSetRecoveryTimeList"); @@ -2272,7 +2272,7 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) cJSON *localMapObject = service_set_recovery_time_list_local_map; OpenAPI_list_add(service_set_recovery_time_listList , localMapKeyPair); } -} + } cJSON *scp_domains = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "scpDomains"); @@ -2292,14 +2292,14 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON) } OpenAPI_list_add(scp_domainsList , ogs_strdup_or_assert(scp_domains_local->valuestring)); } -} + } cJSON *scp_info = cJSON_GetObjectItemCaseSensitive(nf_profileJSON, "scpInfo"); OpenAPI_scp_info_t *scp_info_local_nonprim = NULL; if (scp_info) { scp_info_local_nonprim = OpenAPI_scp_info_parseFromJSON(scp_info); -} + } nf_profile_local_var = OpenAPI_nf_profile_create ( ogs_strdup_or_assert(nf_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/nf_service.c b/lib/sbi/openapi/model/nf_service.c index 4ac5673c3..38610268a 100644 --- a/lib/sbi/openapi/model/nf_service.c +++ b/lib/sbi/openapi/model/nf_service.c @@ -599,7 +599,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) ogs_error("OpenAPI_nf_service_parseFromJSON() failed [fqdn]"); goto end; } -} + } cJSON *inter_plmn_fqdn = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "interPlmnFqdn"); @@ -608,7 +608,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) ogs_error("OpenAPI_nf_service_parseFromJSON() failed [inter_plmn_fqdn]"); goto end; } -} + } cJSON *ip_end_points = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "ipEndPoints"); @@ -631,7 +631,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) OpenAPI_list_add(ip_end_pointsList, ip_end_pointsItem); } -} + } cJSON *api_prefix = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "apiPrefix"); @@ -640,7 +640,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) ogs_error("OpenAPI_nf_service_parseFromJSON() failed [api_prefix]"); goto end; } -} + } cJSON *default_notification_subscriptions = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "defaultNotificationSubscriptions"); @@ -663,7 +663,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) OpenAPI_list_add(default_notification_subscriptionsList, default_notification_subscriptionsItem); } -} + } cJSON *allowed_plmns = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "allowedPlmns"); @@ -686,7 +686,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) OpenAPI_list_add(allowed_plmnsList, allowed_plmnsItem); } -} + } cJSON *allowed_snpns = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "allowedSnpns"); @@ -709,7 +709,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) OpenAPI_list_add(allowed_snpnsList, allowed_snpnsItem); } -} + } cJSON *allowed_nf_types = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "allowedNfTypes"); @@ -731,7 +731,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) OpenAPI_list_add(allowed_nf_typesList, (void *)OpenAPI_nf_type_FromString(allowed_nf_types_local_nonprimitive->valuestring)); } -} + } cJSON *allowed_nf_domains = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "allowedNfDomains"); @@ -751,7 +751,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) } OpenAPI_list_add(allowed_nf_domainsList , ogs_strdup_or_assert(allowed_nf_domains_local->valuestring)); } -} + } cJSON *allowed_nssais = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "allowedNssais"); @@ -774,7 +774,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) OpenAPI_list_add(allowed_nssaisList, allowed_nssaisItem); } -} + } cJSON *allowed_operations_per_nf_type = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "allowedOperationsPerNfType"); @@ -791,7 +791,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) cJSON *localMapObject = allowed_operations_per_nf_type_local_map; OpenAPI_list_add(allowed_operations_per_nf_typeList , localMapKeyPair); } -} + } cJSON *allowed_operations_per_nf_instance = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "allowedOperationsPerNfInstance"); @@ -808,7 +808,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) cJSON *localMapObject = allowed_operations_per_nf_instance_local_map; OpenAPI_list_add(allowed_operations_per_nf_instanceList , localMapKeyPair); } -} + } cJSON *priority = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "priority"); @@ -817,7 +817,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) ogs_error("OpenAPI_nf_service_parseFromJSON() failed [priority]"); goto end; } -} + } cJSON *capacity = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "capacity"); @@ -826,7 +826,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) ogs_error("OpenAPI_nf_service_parseFromJSON() failed [capacity]"); goto end; } -} + } cJSON *load = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "load"); @@ -835,7 +835,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) ogs_error("OpenAPI_nf_service_parseFromJSON() failed [load]"); goto end; } -} + } cJSON *load_time_stamp = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "loadTimeStamp"); @@ -844,7 +844,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) ogs_error("OpenAPI_nf_service_parseFromJSON() failed [load_time_stamp]"); goto end; } -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "recoveryTime"); @@ -853,7 +853,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) ogs_error("OpenAPI_nf_service_parseFromJSON() failed [recovery_time]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "supportedFeatures"); @@ -862,7 +862,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) ogs_error("OpenAPI_nf_service_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *nf_service_set_id_list = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "nfServiceSetIdList"); @@ -882,7 +882,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) } OpenAPI_list_add(nf_service_set_id_listList , ogs_strdup_or_assert(nf_service_set_id_list_local->valuestring)); } -} + } cJSON *s_nssais = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "sNssais"); @@ -905,7 +905,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) OpenAPI_list_add(s_nssaisList, s_nssaisItem); } -} + } cJSON *per_plmn_snssai_list = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "perPlmnSnssaiList"); @@ -928,7 +928,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) OpenAPI_list_add(per_plmn_snssai_listList, per_plmn_snssai_listItem); } -} + } cJSON *vendor_id = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "vendorId"); @@ -937,7 +937,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) ogs_error("OpenAPI_nf_service_parseFromJSON() failed [vendor_id]"); goto end; } -} + } cJSON *supported_vendor_specific_features = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "supportedVendorSpecificFeatures"); @@ -954,7 +954,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) cJSON *localMapObject = supported_vendor_specific_features_local_map; OpenAPI_list_add(supported_vendor_specific_featuresList , localMapKeyPair); } -} + } cJSON *oauth2_required = cJSON_GetObjectItemCaseSensitive(nf_serviceJSON, "oauth2Required"); @@ -963,7 +963,7 @@ OpenAPI_nf_service_t *OpenAPI_nf_service_parseFromJSON(cJSON *nf_serviceJSON) ogs_error("OpenAPI_nf_service_parseFromJSON() failed [oauth2_required]"); goto end; } -} + } nf_service_local_var = OpenAPI_nf_service_create ( ogs_strdup_or_assert(service_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/nf_service_version.c b/lib/sbi/openapi/model/nf_service_version.c index fa67297f3..cfc323a50 100644 --- a/lib/sbi/openapi/model/nf_service_version.c +++ b/lib/sbi/openapi/model/nf_service_version.c @@ -98,7 +98,7 @@ OpenAPI_nf_service_version_t *OpenAPI_nf_service_version_parseFromJSON(cJSON *nf ogs_error("OpenAPI_nf_service_version_parseFromJSON() failed [expiry]"); goto end; } -} + } nf_service_version_local_var = OpenAPI_nf_service_version_create ( ogs_strdup_or_assert(api_version_in_uri->valuestring), diff --git a/lib/sbi/openapi/model/nidd_information.c b/lib/sbi/openapi/model/nidd_information.c index a2c68f6bd..e0040360c 100644 --- a/lib/sbi/openapi/model/nidd_information.c +++ b/lib/sbi/openapi/model/nidd_information.c @@ -88,7 +88,7 @@ OpenAPI_nidd_information_t *OpenAPI_nidd_information_parseFromJSON(cJSON *nidd_i ogs_error("OpenAPI_nidd_information_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *ext_group_id = cJSON_GetObjectItemCaseSensitive(nidd_informationJSON, "extGroupId"); @@ -97,7 +97,7 @@ OpenAPI_nidd_information_t *OpenAPI_nidd_information_parseFromJSON(cJSON *nidd_i ogs_error("OpenAPI_nidd_information_parseFromJSON() failed [ext_group_id]"); goto end; } -} + } nidd_information_local_var = OpenAPI_nidd_information_create ( ogs_strdup_or_assert(af_id->valuestring), diff --git a/lib/sbi/openapi/model/nidd_information_1.c b/lib/sbi/openapi/model/nidd_information_1.c index 78f80983e..ff72013b7 100644 --- a/lib/sbi/openapi/model/nidd_information_1.c +++ b/lib/sbi/openapi/model/nidd_information_1.c @@ -88,7 +88,7 @@ OpenAPI_nidd_information_1_t *OpenAPI_nidd_information_1_parseFromJSON(cJSON *ni ogs_error("OpenAPI_nidd_information_1_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *ext_group_id = cJSON_GetObjectItemCaseSensitive(nidd_information_1JSON, "extGroupId"); @@ -97,7 +97,7 @@ OpenAPI_nidd_information_1_t *OpenAPI_nidd_information_1_parseFromJSON(cJSON *ni ogs_error("OpenAPI_nidd_information_1_parseFromJSON() failed [ext_group_id]"); goto end; } -} + } nidd_information_1_local_var = OpenAPI_nidd_information_1_create ( ogs_strdup_or_assert(af_id->valuestring), diff --git a/lib/sbi/openapi/model/non_dynamic5_qi.c b/lib/sbi/openapi/model/non_dynamic5_qi.c index b00837d80..e30957396 100644 --- a/lib/sbi/openapi/model/non_dynamic5_qi.c +++ b/lib/sbi/openapi/model/non_dynamic5_qi.c @@ -102,7 +102,7 @@ OpenAPI_non_dynamic5_qi_t *OpenAPI_non_dynamic5_qi_parseFromJSON(cJSON *non_dyna ogs_error("OpenAPI_non_dynamic5_qi_parseFromJSON() failed [priority_level]"); goto end; } -} + } cJSON *aver_window = cJSON_GetObjectItemCaseSensitive(non_dynamic5_qiJSON, "averWindow"); @@ -111,7 +111,7 @@ OpenAPI_non_dynamic5_qi_t *OpenAPI_non_dynamic5_qi_parseFromJSON(cJSON *non_dyna ogs_error("OpenAPI_non_dynamic5_qi_parseFromJSON() failed [aver_window]"); goto end; } -} + } cJSON *max_data_burst_vol = cJSON_GetObjectItemCaseSensitive(non_dynamic5_qiJSON, "maxDataBurstVol"); @@ -120,7 +120,7 @@ OpenAPI_non_dynamic5_qi_t *OpenAPI_non_dynamic5_qi_parseFromJSON(cJSON *non_dyna ogs_error("OpenAPI_non_dynamic5_qi_parseFromJSON() failed [max_data_burst_vol]"); goto end; } -} + } cJSON *ext_max_data_burst_vol = cJSON_GetObjectItemCaseSensitive(non_dynamic5_qiJSON, "extMaxDataBurstVol"); @@ -129,7 +129,7 @@ OpenAPI_non_dynamic5_qi_t *OpenAPI_non_dynamic5_qi_parseFromJSON(cJSON *non_dyna ogs_error("OpenAPI_non_dynamic5_qi_parseFromJSON() failed [ext_max_data_burst_vol]"); goto end; } -} + } cJSON *cn_packet_delay_budget_dl = cJSON_GetObjectItemCaseSensitive(non_dynamic5_qiJSON, "cnPacketDelayBudgetDl"); @@ -138,7 +138,7 @@ OpenAPI_non_dynamic5_qi_t *OpenAPI_non_dynamic5_qi_parseFromJSON(cJSON *non_dyna ogs_error("OpenAPI_non_dynamic5_qi_parseFromJSON() failed [cn_packet_delay_budget_dl]"); goto end; } -} + } cJSON *cn_packet_delay_budget_ul = cJSON_GetObjectItemCaseSensitive(non_dynamic5_qiJSON, "cnPacketDelayBudgetUl"); @@ -147,7 +147,7 @@ OpenAPI_non_dynamic5_qi_t *OpenAPI_non_dynamic5_qi_parseFromJSON(cJSON *non_dyna ogs_error("OpenAPI_non_dynamic5_qi_parseFromJSON() failed [cn_packet_delay_budget_ul]"); goto end; } -} + } non_dynamic5_qi_local_var = OpenAPI_non_dynamic5_qi_create ( priority_level ? priority_level->valuedouble : 0, diff --git a/lib/sbi/openapi/model/non_ue_n2_info_subscription_create_data.c b/lib/sbi/openapi/model/non_ue_n2_info_subscription_create_data.c index b31283dd7..0c1556509 100644 --- a/lib/sbi/openapi/model/non_ue_n2_info_subscription_create_data.c +++ b/lib/sbi/openapi/model/non_ue_n2_info_subscription_create_data.c @@ -141,7 +141,7 @@ OpenAPI_non_ue_n2_info_subscription_create_data_t *OpenAPI_non_ue_n2_info_subscr OpenAPI_list_add(global_ran_node_listList, global_ran_node_listItem); } -} + } cJSON *an_type_list = cJSON_GetObjectItemCaseSensitive(non_ue_n2_info_subscription_create_dataJSON, "anTypeList"); @@ -163,7 +163,7 @@ OpenAPI_non_ue_n2_info_subscription_create_data_t *OpenAPI_non_ue_n2_info_subscr OpenAPI_list_add(an_type_listList, (void *)OpenAPI_access_type_FromString(an_type_list_local_nonprimitive->valuestring)); } -} + } cJSON *n2_information_class = cJSON_GetObjectItemCaseSensitive(non_ue_n2_info_subscription_create_dataJSON, "n2InformationClass"); if (!n2_information_class) { @@ -198,7 +198,7 @@ OpenAPI_non_ue_n2_info_subscription_create_data_t *OpenAPI_non_ue_n2_info_subscr ogs_error("OpenAPI_non_ue_n2_info_subscription_create_data_parseFromJSON() failed [nf_id]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(non_ue_n2_info_subscription_create_dataJSON, "supportedFeatures"); @@ -207,7 +207,7 @@ OpenAPI_non_ue_n2_info_subscription_create_data_t *OpenAPI_non_ue_n2_info_subscr ogs_error("OpenAPI_non_ue_n2_info_subscription_create_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } non_ue_n2_info_subscription_create_data_local_var = OpenAPI_non_ue_n2_info_subscription_create_data_create ( global_ran_node_list ? global_ran_node_listList : NULL, diff --git a/lib/sbi/openapi/model/non_ue_n2_info_subscription_created_data.c b/lib/sbi/openapi/model/non_ue_n2_info_subscription_created_data.c index 952455ea2..c2dfee9ad 100644 --- a/lib/sbi/openapi/model/non_ue_n2_info_subscription_created_data.c +++ b/lib/sbi/openapi/model/non_ue_n2_info_subscription_created_data.c @@ -87,7 +87,7 @@ OpenAPI_non_ue_n2_info_subscription_created_data_t *OpenAPI_non_ue_n2_info_subsc ogs_error("OpenAPI_non_ue_n2_info_subscription_created_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *n2_information_class = cJSON_GetObjectItemCaseSensitive(non_ue_n2_info_subscription_created_dataJSON, "n2InformationClass"); @@ -98,7 +98,7 @@ OpenAPI_non_ue_n2_info_subscription_created_data_t *OpenAPI_non_ue_n2_info_subsc goto end; } n2_information_classVariable = OpenAPI_n2_information_class_FromString(n2_information_class->valuestring); -} + } non_ue_n2_info_subscription_created_data_local_var = OpenAPI_non_ue_n2_info_subscription_created_data_create ( ogs_strdup_or_assert(n2_notify_subscription_id->valuestring), diff --git a/lib/sbi/openapi/model/notif_condition.c b/lib/sbi/openapi/model/notif_condition.c index 9d0d7e56d..7fae88a51 100644 --- a/lib/sbi/openapi/model/notif_condition.c +++ b/lib/sbi/openapi/model/notif_condition.c @@ -103,7 +103,7 @@ OpenAPI_notif_condition_t *OpenAPI_notif_condition_parseFromJSON(cJSON *notif_co } OpenAPI_list_add(monitored_attributesList , ogs_strdup_or_assert(monitored_attributes_local->valuestring)); } -} + } cJSON *unmonitored_attributes = cJSON_GetObjectItemCaseSensitive(notif_conditionJSON, "unmonitoredAttributes"); @@ -123,7 +123,7 @@ OpenAPI_notif_condition_t *OpenAPI_notif_condition_parseFromJSON(cJSON *notif_co } OpenAPI_list_add(unmonitored_attributesList , ogs_strdup_or_assert(unmonitored_attributes_local->valuestring)); } -} + } notif_condition_local_var = OpenAPI_notif_condition_create ( monitored_attributes ? monitored_attributesList : NULL, diff --git a/lib/sbi/openapi/model/notification_data.c b/lib/sbi/openapi/model/notification_data.c index 877ab287e..93b761bda 100644 --- a/lib/sbi/openapi/model/notification_data.c +++ b/lib/sbi/openapi/model/notification_data.c @@ -138,7 +138,7 @@ OpenAPI_notification_data_t *OpenAPI_notification_data_parseFromJSON(cJSON *noti OpenAPI_nf_profile_t *nf_profile_local_nonprim = NULL; if (nf_profile) { nf_profile_local_nonprim = OpenAPI_nf_profile_parseFromJSON(nf_profile); -} + } cJSON *profile_changes = cJSON_GetObjectItemCaseSensitive(notification_dataJSON, "profileChanges"); @@ -161,7 +161,7 @@ OpenAPI_notification_data_t *OpenAPI_notification_data_parseFromJSON(cJSON *noti OpenAPI_list_add(profile_changesList, profile_changesItem); } -} + } cJSON *condition_event = cJSON_GetObjectItemCaseSensitive(notification_dataJSON, "conditionEvent"); @@ -172,7 +172,7 @@ OpenAPI_notification_data_t *OpenAPI_notification_data_parseFromJSON(cJSON *noti goto end; } condition_eventVariable = OpenAPI_condition_event_type_FromString(condition_event->valuestring); -} + } notification_data_local_var = OpenAPI_notification_data_create ( eventVariable, diff --git a/lib/sbi/openapi/model/npn_access_info.c b/lib/sbi/openapi/model/npn_access_info.c index b59a4dd97..08a525735 100644 --- a/lib/sbi/openapi/model/npn_access_info.c +++ b/lib/sbi/openapi/model/npn_access_info.c @@ -81,7 +81,7 @@ OpenAPI_npn_access_info_t *OpenAPI_npn_access_info_parseFromJSON(cJSON *npn_acce } OpenAPI_list_add(cell_cag_infoList , ogs_strdup_or_assert(cell_cag_info_local->valuestring)); } -} + } npn_access_info_local_var = OpenAPI_npn_access_info_create ( cell_cag_info ? cell_cag_infoList : NULL diff --git a/lib/sbi/openapi/model/nr_location.c b/lib/sbi/openapi/model/nr_location.c index 0016ac640..a6f4cbc2e 100644 --- a/lib/sbi/openapi/model/nr_location.c +++ b/lib/sbi/openapi/model/nr_location.c @@ -151,7 +151,7 @@ OpenAPI_nr_location_t *OpenAPI_nr_location_parseFromJSON(cJSON *nr_locationJSON) ogs_error("OpenAPI_nr_location_parseFromJSON() failed [age_of_location_information]"); goto end; } -} + } cJSON *ue_location_timestamp = cJSON_GetObjectItemCaseSensitive(nr_locationJSON, "ueLocationTimestamp"); @@ -160,7 +160,7 @@ OpenAPI_nr_location_t *OpenAPI_nr_location_parseFromJSON(cJSON *nr_locationJSON) ogs_error("OpenAPI_nr_location_parseFromJSON() failed [ue_location_timestamp]"); goto end; } -} + } cJSON *geographical_information = cJSON_GetObjectItemCaseSensitive(nr_locationJSON, "geographicalInformation"); @@ -169,7 +169,7 @@ OpenAPI_nr_location_t *OpenAPI_nr_location_parseFromJSON(cJSON *nr_locationJSON) ogs_error("OpenAPI_nr_location_parseFromJSON() failed [geographical_information]"); goto end; } -} + } cJSON *geodetic_information = cJSON_GetObjectItemCaseSensitive(nr_locationJSON, "geodeticInformation"); @@ -178,14 +178,14 @@ OpenAPI_nr_location_t *OpenAPI_nr_location_parseFromJSON(cJSON *nr_locationJSON) ogs_error("OpenAPI_nr_location_parseFromJSON() failed [geodetic_information]"); goto end; } -} + } cJSON *global_gnb_id = cJSON_GetObjectItemCaseSensitive(nr_locationJSON, "globalGnbId"); OpenAPI_global_ran_node_id_t *global_gnb_id_local_nonprim = NULL; if (global_gnb_id) { global_gnb_id_local_nonprim = OpenAPI_global_ran_node_id_parseFromJSON(global_gnb_id); -} + } nr_location_local_var = OpenAPI_nr_location_create ( tai_local_nonprim, diff --git a/lib/sbi/openapi/model/nr_v2x_auth.c b/lib/sbi/openapi/model/nr_v2x_auth.c index 2d5916cd2..218fa49ae 100644 --- a/lib/sbi/openapi/model/nr_v2x_auth.c +++ b/lib/sbi/openapi/model/nr_v2x_auth.c @@ -68,7 +68,7 @@ OpenAPI_nr_v2x_auth_t *OpenAPI_nr_v2x_auth_parseFromJSON(cJSON *nr_v2x_authJSON) goto end; } vehicle_ue_authVariable = OpenAPI_ue_auth_FromString(vehicle_ue_auth->valuestring); -} + } cJSON *pedestrian_ue_auth = cJSON_GetObjectItemCaseSensitive(nr_v2x_authJSON, "pedestrianUeAuth"); @@ -79,7 +79,7 @@ OpenAPI_nr_v2x_auth_t *OpenAPI_nr_v2x_auth_parseFromJSON(cJSON *nr_v2x_authJSON) goto end; } pedestrian_ue_authVariable = OpenAPI_ue_auth_FromString(pedestrian_ue_auth->valuestring); -} + } nr_v2x_auth_local_var = OpenAPI_nr_v2x_auth_create ( vehicle_ue_auth ? vehicle_ue_authVariable : 0, diff --git a/lib/sbi/openapi/model/nr_v2x_auth_1.c b/lib/sbi/openapi/model/nr_v2x_auth_1.c index e77714acb..f29e8c136 100644 --- a/lib/sbi/openapi/model/nr_v2x_auth_1.c +++ b/lib/sbi/openapi/model/nr_v2x_auth_1.c @@ -68,7 +68,7 @@ OpenAPI_nr_v2x_auth_1_t *OpenAPI_nr_v2x_auth_1_parseFromJSON(cJSON *nr_v2x_auth_ goto end; } vehicle_ue_authVariable = OpenAPI_ue_auth_FromString(vehicle_ue_auth->valuestring); -} + } cJSON *pedestrian_ue_auth = cJSON_GetObjectItemCaseSensitive(nr_v2x_auth_1JSON, "pedestrianUeAuth"); @@ -79,7 +79,7 @@ OpenAPI_nr_v2x_auth_1_t *OpenAPI_nr_v2x_auth_1_parseFromJSON(cJSON *nr_v2x_auth_ goto end; } pedestrian_ue_authVariable = OpenAPI_ue_auth_FromString(pedestrian_ue_auth->valuestring); -} + } nr_v2x_auth_1_local_var = OpenAPI_nr_v2x_auth_1_create ( vehicle_ue_auth ? vehicle_ue_authVariable : 0, diff --git a/lib/sbi/openapi/model/nrf_info.c b/lib/sbi/openapi/model/nrf_info.c index c3ff1ec02..4664dce11 100644 --- a/lib/sbi/openapi/model/nrf_info.c +++ b/lib/sbi/openapi/model/nrf_info.c @@ -802,7 +802,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_udr_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_udr_infoList , localMapKeyPair); } -} + } cJSON *served_udr_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedUdrInfoList"); @@ -819,7 +819,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) cJSON *localMapObject = served_udr_info_list_local_map; OpenAPI_list_add(served_udr_info_listList , localMapKeyPair); } -} + } cJSON *served_udm_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedUdmInfo"); @@ -842,7 +842,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_udm_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_udm_infoList , localMapKeyPair); } -} + } cJSON *served_udm_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedUdmInfoList"); @@ -859,7 +859,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) cJSON *localMapObject = served_udm_info_list_local_map; OpenAPI_list_add(served_udm_info_listList , localMapKeyPair); } -} + } cJSON *served_ausf_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedAusfInfo"); @@ -882,7 +882,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_ausf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_ausf_infoList , localMapKeyPair); } -} + } cJSON *served_ausf_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedAusfInfoList"); @@ -899,7 +899,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) cJSON *localMapObject = served_ausf_info_list_local_map; OpenAPI_list_add(served_ausf_info_listList , localMapKeyPair); } -} + } cJSON *served_amf_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedAmfInfo"); @@ -922,7 +922,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_amf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_amf_infoList , localMapKeyPair); } -} + } cJSON *served_amf_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedAmfInfoList"); @@ -939,7 +939,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) cJSON *localMapObject = served_amf_info_list_local_map; OpenAPI_list_add(served_amf_info_listList , localMapKeyPair); } -} + } cJSON *served_smf_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedSmfInfo"); @@ -962,7 +962,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_smf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_smf_infoList , localMapKeyPair); } -} + } cJSON *served_smf_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedSmfInfoList"); @@ -979,7 +979,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) cJSON *localMapObject = served_smf_info_list_local_map; OpenAPI_list_add(served_smf_info_listList , localMapKeyPair); } -} + } cJSON *served_upf_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedUpfInfo"); @@ -1002,7 +1002,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_upf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_upf_infoList , localMapKeyPair); } -} + } cJSON *served_upf_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedUpfInfoList"); @@ -1019,7 +1019,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) cJSON *localMapObject = served_upf_info_list_local_map; OpenAPI_list_add(served_upf_info_listList , localMapKeyPair); } -} + } cJSON *served_pcf_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedPcfInfo"); @@ -1042,7 +1042,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_pcf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_pcf_infoList , localMapKeyPair); } -} + } cJSON *served_pcf_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedPcfInfoList"); @@ -1059,7 +1059,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) cJSON *localMapObject = served_pcf_info_list_local_map; OpenAPI_list_add(served_pcf_info_listList , localMapKeyPair); } -} + } cJSON *served_bsf_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedBsfInfo"); @@ -1082,7 +1082,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_bsf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_bsf_infoList , localMapKeyPair); } -} + } cJSON *served_bsf_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedBsfInfoList"); @@ -1099,7 +1099,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) cJSON *localMapObject = served_bsf_info_list_local_map; OpenAPI_list_add(served_bsf_info_listList , localMapKeyPair); } -} + } cJSON *served_chf_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedChfInfo"); @@ -1122,7 +1122,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_chf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_chf_infoList , localMapKeyPair); } -} + } cJSON *served_chf_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedChfInfoList"); @@ -1139,7 +1139,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) cJSON *localMapObject = served_chf_info_list_local_map; OpenAPI_list_add(served_chf_info_listList , localMapKeyPair); } -} + } cJSON *served_nef_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedNefInfo"); @@ -1162,7 +1162,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_nef_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_nef_infoList , localMapKeyPair); } -} + } cJSON *served_nwdaf_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedNwdafInfo"); @@ -1185,7 +1185,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_nwdaf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_nwdaf_infoList , localMapKeyPair); } -} + } cJSON *served_pcscf_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedPcscfInfoList"); @@ -1202,7 +1202,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) cJSON *localMapObject = served_pcscf_info_list_local_map; OpenAPI_list_add(served_pcscf_info_listList , localMapKeyPair); } -} + } cJSON *served_gmlc_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedGmlcInfo"); @@ -1225,7 +1225,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_gmlc_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_gmlc_infoList , localMapKeyPair); } -} + } cJSON *served_lmf_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedLmfInfo"); @@ -1248,7 +1248,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_lmf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_lmf_infoList , localMapKeyPair); } -} + } cJSON *served_nf_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedNfInfo"); @@ -1271,7 +1271,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_nf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_nf_infoList , localMapKeyPair); } -} + } cJSON *served_hss_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedHssInfoList"); @@ -1288,7 +1288,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) cJSON *localMapObject = served_hss_info_list_local_map; OpenAPI_list_add(served_hss_info_listList , localMapKeyPair); } -} + } cJSON *served_udsf_info = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedUdsfInfo"); @@ -1311,7 +1311,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_udsf_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_udsf_infoList , localMapKeyPair); } -} + } cJSON *served_udsf_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedUdsfInfoList"); @@ -1328,7 +1328,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) cJSON *localMapObject = served_udsf_info_list_local_map; OpenAPI_list_add(served_udsf_info_listList , localMapKeyPair); } -} + } cJSON *served_scp_info_list = cJSON_GetObjectItemCaseSensitive(nrf_infoJSON, "servedScpInfoList"); @@ -1351,7 +1351,7 @@ OpenAPI_nrf_info_t *OpenAPI_nrf_info_parseFromJSON(cJSON *nrf_infoJSON) localMapObject->string, OpenAPI_scp_info_parseFromJSON(localMapObject)); OpenAPI_list_add(served_scp_info_listList , localMapKeyPair); } -} + } nrf_info_local_var = OpenAPI_nrf_info_create ( served_udr_info ? served_udr_infoList : NULL, diff --git a/lib/sbi/openapi/model/nrppa_information.c b/lib/sbi/openapi/model/nrppa_information.c index 3bab4f944..e3e8129a5 100644 --- a/lib/sbi/openapi/model/nrppa_information.c +++ b/lib/sbi/openapi/model/nrppa_information.c @@ -102,7 +102,7 @@ OpenAPI_nrppa_information_t *OpenAPI_nrppa_information_parseFromJSON(cJSON *nrpp ogs_error("OpenAPI_nrppa_information_parseFromJSON() failed [service_instance_id]"); goto end; } -} + } nrppa_information_local_var = OpenAPI_nrppa_information_create ( ogs_strdup_or_assert(nf_id->valuestring), diff --git a/lib/sbi/openapi/model/nsi_information.c b/lib/sbi/openapi/model/nsi_information.c index 539009e37..8d20a40cd 100644 --- a/lib/sbi/openapi/model/nsi_information.c +++ b/lib/sbi/openapi/model/nsi_information.c @@ -98,7 +98,7 @@ OpenAPI_nsi_information_t *OpenAPI_nsi_information_parseFromJSON(cJSON *nsi_info ogs_error("OpenAPI_nsi_information_parseFromJSON() failed [nsi_id]"); goto end; } -} + } cJSON *nrf_nf_mgt_uri = cJSON_GetObjectItemCaseSensitive(nsi_informationJSON, "nrfNfMgtUri"); @@ -107,7 +107,7 @@ OpenAPI_nsi_information_t *OpenAPI_nsi_information_parseFromJSON(cJSON *nsi_info ogs_error("OpenAPI_nsi_information_parseFromJSON() failed [nrf_nf_mgt_uri]"); goto end; } -} + } cJSON *nrf_access_token_uri = cJSON_GetObjectItemCaseSensitive(nsi_informationJSON, "nrfAccessTokenUri"); @@ -116,7 +116,7 @@ OpenAPI_nsi_information_t *OpenAPI_nsi_information_parseFromJSON(cJSON *nsi_info ogs_error("OpenAPI_nsi_information_parseFromJSON() failed [nrf_access_token_uri]"); goto end; } -} + } nsi_information_local_var = OpenAPI_nsi_information_create ( ogs_strdup_or_assert(nrf_id->valuestring), diff --git a/lib/sbi/openapi/model/nssai.c b/lib/sbi/openapi/model/nssai.c index 678b0de59..a233b6047 100644 --- a/lib/sbi/openapi/model/nssai.c +++ b/lib/sbi/openapi/model/nssai.c @@ -147,7 +147,7 @@ OpenAPI_nssai_t *OpenAPI_nssai_parseFromJSON(cJSON *nssaiJSON) ogs_error("OpenAPI_nssai_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *default_single_nssais = cJSON_GetObjectItemCaseSensitive(nssaiJSON, "defaultSingleNssais"); if (!default_single_nssais) { @@ -196,7 +196,7 @@ OpenAPI_nssai_t *OpenAPI_nssai_parseFromJSON(cJSON *nssaiJSON) OpenAPI_list_add(single_nssaisList, single_nssaisItem); } -} + } cJSON *provisioning_time = cJSON_GetObjectItemCaseSensitive(nssaiJSON, "provisioningTime"); @@ -205,7 +205,7 @@ OpenAPI_nssai_t *OpenAPI_nssai_parseFromJSON(cJSON *nssaiJSON) ogs_error("OpenAPI_nssai_parseFromJSON() failed [provisioning_time]"); goto end; } -} + } cJSON *additional_snssai_data = cJSON_GetObjectItemCaseSensitive(nssaiJSON, "additionalSnssaiData"); @@ -228,7 +228,7 @@ OpenAPI_nssai_t *OpenAPI_nssai_parseFromJSON(cJSON *nssaiJSON) localMapObject->string, OpenAPI_additional_snssai_data_parseFromJSON(localMapObject)); OpenAPI_list_add(additional_snssai_dataList , localMapKeyPair); } -} + } nssai_local_var = OpenAPI_nssai_create ( supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/nssai_1.c b/lib/sbi/openapi/model/nssai_1.c index b64d02364..ce5441957 100644 --- a/lib/sbi/openapi/model/nssai_1.c +++ b/lib/sbi/openapi/model/nssai_1.c @@ -147,7 +147,7 @@ OpenAPI_nssai_1_t *OpenAPI_nssai_1_parseFromJSON(cJSON *nssai_1JSON) ogs_error("OpenAPI_nssai_1_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *default_single_nssais = cJSON_GetObjectItemCaseSensitive(nssai_1JSON, "defaultSingleNssais"); if (!default_single_nssais) { @@ -196,7 +196,7 @@ OpenAPI_nssai_1_t *OpenAPI_nssai_1_parseFromJSON(cJSON *nssai_1JSON) OpenAPI_list_add(single_nssaisList, single_nssaisItem); } -} + } cJSON *provisioning_time = cJSON_GetObjectItemCaseSensitive(nssai_1JSON, "provisioningTime"); @@ -205,7 +205,7 @@ OpenAPI_nssai_1_t *OpenAPI_nssai_1_parseFromJSON(cJSON *nssai_1JSON) ogs_error("OpenAPI_nssai_1_parseFromJSON() failed [provisioning_time]"); goto end; } -} + } cJSON *additional_snssai_data = cJSON_GetObjectItemCaseSensitive(nssai_1JSON, "additionalSnssaiData"); @@ -228,7 +228,7 @@ OpenAPI_nssai_1_t *OpenAPI_nssai_1_parseFromJSON(cJSON *nssai_1JSON) localMapObject->string, OpenAPI_additional_snssai_data_parseFromJSON(localMapObject)); OpenAPI_list_add(additional_snssai_dataList , localMapKeyPair); } -} + } nssai_1_local_var = OpenAPI_nssai_1_create ( supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/nwdaf_cond.c b/lib/sbi/openapi/model/nwdaf_cond.c index 9960e5db6..706496e04 100644 --- a/lib/sbi/openapi/model/nwdaf_cond.c +++ b/lib/sbi/openapi/model/nwdaf_cond.c @@ -203,7 +203,7 @@ OpenAPI_nwdaf_cond_t *OpenAPI_nwdaf_cond_parseFromJSON(cJSON *nwdaf_condJSON) } OpenAPI_list_add(analytics_idsList , ogs_strdup_or_assert(analytics_ids_local->valuestring)); } -} + } cJSON *snssai_list = cJSON_GetObjectItemCaseSensitive(nwdaf_condJSON, "snssaiList"); @@ -226,7 +226,7 @@ OpenAPI_nwdaf_cond_t *OpenAPI_nwdaf_cond_parseFromJSON(cJSON *nwdaf_condJSON) OpenAPI_list_add(snssai_listList, snssai_listItem); } -} + } cJSON *tai_list = cJSON_GetObjectItemCaseSensitive(nwdaf_condJSON, "taiList"); @@ -249,7 +249,7 @@ OpenAPI_nwdaf_cond_t *OpenAPI_nwdaf_cond_parseFromJSON(cJSON *nwdaf_condJSON) OpenAPI_list_add(tai_listList, tai_listItem); } -} + } cJSON *tai_range_list = cJSON_GetObjectItemCaseSensitive(nwdaf_condJSON, "taiRangeList"); @@ -272,7 +272,7 @@ OpenAPI_nwdaf_cond_t *OpenAPI_nwdaf_cond_parseFromJSON(cJSON *nwdaf_condJSON) OpenAPI_list_add(tai_range_listList, tai_range_listItem); } -} + } nwdaf_cond_local_var = OpenAPI_nwdaf_cond_create ( condition_typeVariable, diff --git a/lib/sbi/openapi/model/nwdaf_info.c b/lib/sbi/openapi/model/nwdaf_info.c index 57e54df61..660d28d55 100644 --- a/lib/sbi/openapi/model/nwdaf_info.c +++ b/lib/sbi/openapi/model/nwdaf_info.c @@ -166,7 +166,7 @@ OpenAPI_nwdaf_info_t *OpenAPI_nwdaf_info_parseFromJSON(cJSON *nwdaf_infoJSON) OpenAPI_list_add(event_idsList, event_idsItem); } -} + } cJSON *nwdaf_events = cJSON_GetObjectItemCaseSensitive(nwdaf_infoJSON, "nwdafEvents"); @@ -189,7 +189,7 @@ OpenAPI_nwdaf_info_t *OpenAPI_nwdaf_info_parseFromJSON(cJSON *nwdaf_infoJSON) OpenAPI_list_add(nwdaf_eventsList, nwdaf_eventsItem); } -} + } cJSON *tai_list = cJSON_GetObjectItemCaseSensitive(nwdaf_infoJSON, "taiList"); @@ -212,7 +212,7 @@ OpenAPI_nwdaf_info_t *OpenAPI_nwdaf_info_parseFromJSON(cJSON *nwdaf_infoJSON) OpenAPI_list_add(tai_listList, tai_listItem); } -} + } cJSON *tai_range_list = cJSON_GetObjectItemCaseSensitive(nwdaf_infoJSON, "taiRangeList"); @@ -235,7 +235,7 @@ OpenAPI_nwdaf_info_t *OpenAPI_nwdaf_info_parseFromJSON(cJSON *nwdaf_infoJSON) OpenAPI_list_add(tai_range_listList, tai_range_listItem); } -} + } nwdaf_info_local_var = OpenAPI_nwdaf_info_create ( event_ids ? event_idsList : NULL, diff --git a/lib/sbi/openapi/model/odb_data.c b/lib/sbi/openapi/model/odb_data.c index 31c094226..f90946b8d 100644 --- a/lib/sbi/openapi/model/odb_data.c +++ b/lib/sbi/openapi/model/odb_data.c @@ -59,7 +59,7 @@ OpenAPI_odb_data_t *OpenAPI_odb_data_parseFromJSON(cJSON *odb_dataJSON) goto end; } roaming_odbVariable = OpenAPI_roaming_odb_FromString(roaming_odb->valuestring); -} + } odb_data_local_var = OpenAPI_odb_data_create ( roaming_odb ? roaming_odbVariable : 0 diff --git a/lib/sbi/openapi/model/operator_specific_data_container.c b/lib/sbi/openapi/model/operator_specific_data_container.c index 2a69e753b..3f0400021 100644 --- a/lib/sbi/openapi/model/operator_specific_data_container.c +++ b/lib/sbi/openapi/model/operator_specific_data_container.c @@ -96,7 +96,7 @@ OpenAPI_operator_specific_data_container_t *OpenAPI_operator_specific_data_conta ogs_error("OpenAPI_operator_specific_data_container_parseFromJSON() failed [data_type_definition]"); goto end; } -} + } cJSON *value = cJSON_GetObjectItemCaseSensitive(operator_specific_data_containerJSON, "value"); if (!value) { @@ -117,7 +117,7 @@ OpenAPI_operator_specific_data_container_t *OpenAPI_operator_specific_data_conta ogs_error("OpenAPI_operator_specific_data_container_parseFromJSON() failed [supported_features]"); goto end; } -} + } operator_specific_data_container_local_var = OpenAPI_operator_specific_data_container_create ( ogs_strdup_or_assert(data_type->valuestring), diff --git a/lib/sbi/openapi/model/options_response.c b/lib/sbi/openapi/model/options_response.c index 9d44968dc..b4d3b83e9 100644 --- a/lib/sbi/openapi/model/options_response.c +++ b/lib/sbi/openapi/model/options_response.c @@ -58,7 +58,7 @@ OpenAPI_options_response_t *OpenAPI_options_response_parseFromJSON(cJSON *option ogs_error("OpenAPI_options_response_parseFromJSON() failed [supported_features]"); goto end; } -} + } options_response_local_var = OpenAPI_options_response_create ( supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL diff --git a/lib/sbi/openapi/model/out_of_credit_information.c b/lib/sbi/openapi/model/out_of_credit_information.c index 3e66e5600..47c28360c 100644 --- a/lib/sbi/openapi/model/out_of_credit_information.c +++ b/lib/sbi/openapi/model/out_of_credit_information.c @@ -112,7 +112,7 @@ OpenAPI_out_of_credit_information_t *OpenAPI_out_of_credit_information_parseFrom OpenAPI_list_add(flowsList, flowsItem); } -} + } out_of_credit_information_local_var = OpenAPI_out_of_credit_information_create ( fin_unit_act_local_nonprim, diff --git a/lib/sbi/openapi/model/packet_filter_info.c b/lib/sbi/openapi/model/packet_filter_info.c index efbbc2863..2af7a51d6 100644 --- a/lib/sbi/openapi/model/packet_filter_info.c +++ b/lib/sbi/openapi/model/packet_filter_info.c @@ -107,7 +107,7 @@ OpenAPI_packet_filter_info_t *OpenAPI_packet_filter_info_parseFromJSON(cJSON *pa ogs_error("OpenAPI_packet_filter_info_parseFromJSON() failed [pack_filt_id]"); goto end; } -} + } cJSON *pack_filt_cont = cJSON_GetObjectItemCaseSensitive(packet_filter_infoJSON, "packFiltCont"); @@ -116,7 +116,7 @@ OpenAPI_packet_filter_info_t *OpenAPI_packet_filter_info_parseFromJSON(cJSON *pa ogs_error("OpenAPI_packet_filter_info_parseFromJSON() failed [pack_filt_cont]"); goto end; } -} + } cJSON *tos_traffic_class = cJSON_GetObjectItemCaseSensitive(packet_filter_infoJSON, "tosTrafficClass"); @@ -125,7 +125,7 @@ OpenAPI_packet_filter_info_t *OpenAPI_packet_filter_info_parseFromJSON(cJSON *pa ogs_error("OpenAPI_packet_filter_info_parseFromJSON() failed [tos_traffic_class]"); goto end; } -} + } cJSON *spi = cJSON_GetObjectItemCaseSensitive(packet_filter_infoJSON, "spi"); @@ -134,7 +134,7 @@ OpenAPI_packet_filter_info_t *OpenAPI_packet_filter_info_parseFromJSON(cJSON *pa ogs_error("OpenAPI_packet_filter_info_parseFromJSON() failed [spi]"); goto end; } -} + } cJSON *flow_label = cJSON_GetObjectItemCaseSensitive(packet_filter_infoJSON, "flowLabel"); @@ -143,7 +143,7 @@ OpenAPI_packet_filter_info_t *OpenAPI_packet_filter_info_parseFromJSON(cJSON *pa ogs_error("OpenAPI_packet_filter_info_parseFromJSON() failed [flow_label]"); goto end; } -} + } cJSON *flow_direction = cJSON_GetObjectItemCaseSensitive(packet_filter_infoJSON, "flowDirection"); @@ -154,7 +154,7 @@ OpenAPI_packet_filter_info_t *OpenAPI_packet_filter_info_parseFromJSON(cJSON *pa goto end; } flow_directionVariable = OpenAPI_flow_direction_FromString(flow_direction->valuestring); -} + } packet_filter_info_local_var = OpenAPI_packet_filter_info_create ( pack_filt_id ? ogs_strdup_or_assert(pack_filt_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/parameter_combination.c b/lib/sbi/openapi/model/parameter_combination.c index 01f1ec1f7..17d2aee2a 100644 --- a/lib/sbi/openapi/model/parameter_combination.c +++ b/lib/sbi/openapi/model/parameter_combination.c @@ -84,7 +84,7 @@ OpenAPI_parameter_combination_t *OpenAPI_parameter_combination_parseFromJSON(cJS ogs_error("OpenAPI_parameter_combination_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(parameter_combinationJSON, "dnn"); @@ -93,14 +93,14 @@ OpenAPI_parameter_combination_t *OpenAPI_parameter_combination_parseFromJSON(cJS ogs_error("OpenAPI_parameter_combination_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *snssai = cJSON_GetObjectItemCaseSensitive(parameter_combinationJSON, "snssai"); OpenAPI_snssai_t *snssai_local_nonprim = NULL; if (snssai) { snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(snssai); -} + } parameter_combination_local_var = OpenAPI_parameter_combination_create ( supi ? ogs_strdup_or_assert(supi->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/partial_success_report.c b/lib/sbi/openapi/model/partial_success_report.c index c07892c18..bc2b6928a 100644 --- a/lib/sbi/openapi/model/partial_success_report.c +++ b/lib/sbi/openapi/model/partial_success_report.c @@ -169,7 +169,7 @@ OpenAPI_partial_success_report_t *OpenAPI_partial_success_report_parseFromJSON(c OpenAPI_list_add(rule_reportsList, rule_reportsItem); } -} + } cJSON *sess_rule_reports = cJSON_GetObjectItemCaseSensitive(partial_success_reportJSON, "sessRuleReports"); @@ -192,14 +192,14 @@ OpenAPI_partial_success_report_t *OpenAPI_partial_success_report_parseFromJSON(c OpenAPI_list_add(sess_rule_reportsList, sess_rule_reportsItem); } -} + } cJSON *ue_camping_rep = cJSON_GetObjectItemCaseSensitive(partial_success_reportJSON, "ueCampingRep"); OpenAPI_ue_camping_rep_t *ue_camping_rep_local_nonprim = NULL; if (ue_camping_rep) { ue_camping_rep_local_nonprim = OpenAPI_ue_camping_rep_parseFromJSON(ue_camping_rep); -} + } cJSON *policy_dec_failure_reports = cJSON_GetObjectItemCaseSensitive(partial_success_reportJSON, "policyDecFailureReports"); @@ -221,7 +221,7 @@ OpenAPI_partial_success_report_t *OpenAPI_partial_success_report_parseFromJSON(c OpenAPI_list_add(policy_dec_failure_reportsList, (void *)OpenAPI_policy_decision_failure_code_FromString(policy_dec_failure_reports_local_nonprimitive->valuestring)); } -} + } partial_success_report_local_var = OpenAPI_partial_success_report_create ( failure_causeVariable, diff --git a/lib/sbi/openapi/model/patch_item.c b/lib/sbi/openapi/model/patch_item.c index 25a3b4a37..635465578 100644 --- a/lib/sbi/openapi/model/patch_item.c +++ b/lib/sbi/openapi/model/patch_item.c @@ -109,7 +109,7 @@ OpenAPI_patch_item_t *OpenAPI_patch_item_parseFromJSON(cJSON *patch_itemJSON) ogs_error("OpenAPI_patch_item_parseFromJSON() failed [from]"); goto end; } -} + } cJSON *value = cJSON_GetObjectItemCaseSensitive(patch_itemJSON, "value"); @@ -118,7 +118,7 @@ OpenAPI_patch_item_t *OpenAPI_patch_item_parseFromJSON(cJSON *patch_itemJSON) ogs_error("OpenAPI_patch_item_parseFromJSON() failed [value]"); goto end; } -} + } patch_item_local_var = OpenAPI_patch_item_create ( opVariable, diff --git a/lib/sbi/openapi/model/pc5_flow_bit_rates.c b/lib/sbi/openapi/model/pc5_flow_bit_rates.c index 0f8035484..0c38f845f 100644 --- a/lib/sbi/openapi/model/pc5_flow_bit_rates.c +++ b/lib/sbi/openapi/model/pc5_flow_bit_rates.c @@ -68,7 +68,7 @@ OpenAPI_pc5_flow_bit_rates_t *OpenAPI_pc5_flow_bit_rates_parseFromJSON(cJSON *pc ogs_error("OpenAPI_pc5_flow_bit_rates_parseFromJSON() failed [gua_fbr]"); goto end; } -} + } cJSON *max_fbr = cJSON_GetObjectItemCaseSensitive(pc5_flow_bit_ratesJSON, "maxFbr"); @@ -77,7 +77,7 @@ OpenAPI_pc5_flow_bit_rates_t *OpenAPI_pc5_flow_bit_rates_parseFromJSON(cJSON *pc ogs_error("OpenAPI_pc5_flow_bit_rates_parseFromJSON() failed [max_fbr]"); goto end; } -} + } pc5_flow_bit_rates_local_var = OpenAPI_pc5_flow_bit_rates_create ( gua_fbr ? ogs_strdup_or_assert(gua_fbr->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/pc5_qo_s_para.c b/lib/sbi/openapi/model/pc5_qo_s_para.c index 3140b1258..411dfb75d 100644 --- a/lib/sbi/openapi/model/pc5_qo_s_para.c +++ b/lib/sbi/openapi/model/pc5_qo_s_para.c @@ -108,7 +108,7 @@ OpenAPI_pc5_qo_s_para_t *OpenAPI_pc5_qo_s_para_parseFromJSON(cJSON *pc5_qo_s_par ogs_error("OpenAPI_pc5_qo_s_para_parseFromJSON() failed [pc5_link_ambr]"); goto end; } -} + } pc5_qo_s_para_local_var = OpenAPI_pc5_qo_s_para_create ( pc5_qos_flow_listList, diff --git a/lib/sbi/openapi/model/pc5_qos_flow_item.c b/lib/sbi/openapi/model/pc5_qos_flow_item.c index f2af92e3d..0a4225bfb 100644 --- a/lib/sbi/openapi/model/pc5_qos_flow_item.c +++ b/lib/sbi/openapi/model/pc5_qos_flow_item.c @@ -90,7 +90,7 @@ OpenAPI_pc5_qos_flow_item_t *OpenAPI_pc5_qos_flow_item_parseFromJSON(cJSON *pc5_ OpenAPI_pc5_flow_bit_rates_t *pc5_flow_bit_rates_local_nonprim = NULL; if (pc5_flow_bit_rates) { pc5_flow_bit_rates_local_nonprim = OpenAPI_pc5_flow_bit_rates_parseFromJSON(pc5_flow_bit_rates); -} + } cJSON *range = cJSON_GetObjectItemCaseSensitive(pc5_qos_flow_itemJSON, "range"); @@ -99,7 +99,7 @@ OpenAPI_pc5_qos_flow_item_t *OpenAPI_pc5_qos_flow_item_parseFromJSON(cJSON *pc5_ ogs_error("OpenAPI_pc5_qos_flow_item_parseFromJSON() failed [range]"); goto end; } -} + } pc5_qos_flow_item_local_var = OpenAPI_pc5_qos_flow_item_create ( pqi->valuedouble, diff --git a/lib/sbi/openapi/model/pcc_rule.c b/lib/sbi/openapi/model/pcc_rule.c index ba57d0998..3efa4f720 100644 --- a/lib/sbi/openapi/model/pcc_rule.c +++ b/lib/sbi/openapi/model/pcc_rule.c @@ -419,7 +419,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) OpenAPI_list_add(flow_infosList, flow_infosItem); } -} + } cJSON *app_id = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "appId"); @@ -428,7 +428,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) ogs_error("OpenAPI_pcc_rule_parseFromJSON() failed [app_id]"); goto end; } -} + } cJSON *app_descriptor = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "appDescriptor"); @@ -437,7 +437,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) ogs_error("OpenAPI_pcc_rule_parseFromJSON() failed [app_descriptor]"); goto end; } -} + } cJSON *cont_ver = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "contVer"); @@ -446,7 +446,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) ogs_error("OpenAPI_pcc_rule_parseFromJSON() failed [cont_ver]"); goto end; } -} + } cJSON *pcc_rule_id = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "pccRuleId"); if (!pcc_rule_id) { @@ -467,7 +467,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) ogs_error("OpenAPI_pcc_rule_parseFromJSON() failed [precedence]"); goto end; } -} + } cJSON *af_sig_protocol = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "afSigProtocol"); @@ -478,7 +478,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) goto end; } af_sig_protocolVariable = OpenAPI_af_sig_protocol_FromString(af_sig_protocol->valuestring); -} + } cJSON *app_reloc = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "appReloc"); @@ -487,7 +487,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) ogs_error("OpenAPI_pcc_rule_parseFromJSON() failed [app_reloc]"); goto end; } -} + } cJSON *ref_qos_data = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "refQosData"); @@ -507,7 +507,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) } OpenAPI_list_add(ref_qos_dataList , ogs_strdup_or_assert(ref_qos_data_local->valuestring)); } -} + } cJSON *ref_alt_qos_params = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "refAltQosParams"); @@ -527,7 +527,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) } OpenAPI_list_add(ref_alt_qos_paramsList , ogs_strdup_or_assert(ref_alt_qos_params_local->valuestring)); } -} + } cJSON *ref_tc_data = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "refTcData"); @@ -547,7 +547,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) } OpenAPI_list_add(ref_tc_dataList , ogs_strdup_or_assert(ref_tc_data_local->valuestring)); } -} + } cJSON *ref_chg_data = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "refChgData"); @@ -567,7 +567,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) } OpenAPI_list_add(ref_chg_dataList , ogs_strdup_or_assert(ref_chg_data_local->valuestring)); } -} + } cJSON *ref_chg_n3g_data = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "refChgN3gData"); @@ -587,7 +587,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) } OpenAPI_list_add(ref_chg_n3g_dataList , ogs_strdup_or_assert(ref_chg_n3g_data_local->valuestring)); } -} + } cJSON *ref_um_data = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "refUmData"); @@ -607,7 +607,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) } OpenAPI_list_add(ref_um_dataList , ogs_strdup_or_assert(ref_um_data_local->valuestring)); } -} + } cJSON *ref_um_n3g_data = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "refUmN3gData"); @@ -627,7 +627,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) } OpenAPI_list_add(ref_um_n3g_dataList , ogs_strdup_or_assert(ref_um_n3g_data_local->valuestring)); } -} + } cJSON *ref_cond_data = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "refCondData"); @@ -636,7 +636,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) ogs_error("OpenAPI_pcc_rule_parseFromJSON() failed [ref_cond_data]"); goto end; } -} + } cJSON *ref_qos_mon = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "refQosMon"); @@ -656,7 +656,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) } OpenAPI_list_add(ref_qos_monList , ogs_strdup_or_assert(ref_qos_mon_local->valuestring)); } -} + } cJSON *addr_preser_ind = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "addrPreserInd"); @@ -665,35 +665,35 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) ogs_error("OpenAPI_pcc_rule_parseFromJSON() failed [addr_preser_ind]"); goto end; } -} + } cJSON *tscai_input_dl = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "tscaiInputDl"); OpenAPI_tscai_input_container_t *tscai_input_dl_local_nonprim = NULL; if (tscai_input_dl) { tscai_input_dl_local_nonprim = OpenAPI_tscai_input_container_parseFromJSON(tscai_input_dl); -} + } cJSON *tscai_input_ul = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "tscaiInputUl"); OpenAPI_tscai_input_container_t *tscai_input_ul_local_nonprim = NULL; if (tscai_input_ul) { tscai_input_ul_local_nonprim = OpenAPI_tscai_input_container_parseFromJSON(tscai_input_ul); -} + } cJSON *dd_notif_ctrl = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "ddNotifCtrl"); OpenAPI_downlink_data_notification_control_t *dd_notif_ctrl_local_nonprim = NULL; if (dd_notif_ctrl) { dd_notif_ctrl_local_nonprim = OpenAPI_downlink_data_notification_control_parseFromJSON(dd_notif_ctrl); -} + } cJSON *dd_notif_ctrl2 = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "ddNotifCtrl2"); OpenAPI_downlink_data_notification_control_rm_t *dd_notif_ctrl2_local_nonprim = NULL; if (dd_notif_ctrl2) { dd_notif_ctrl2_local_nonprim = OpenAPI_downlink_data_notification_control_rm_parseFromJSON(dd_notif_ctrl2); -} + } cJSON *dis_ue_notif = cJSON_GetObjectItemCaseSensitive(pcc_ruleJSON, "disUeNotif"); @@ -702,7 +702,7 @@ OpenAPI_pcc_rule_t *OpenAPI_pcc_rule_parseFromJSON(cJSON *pcc_ruleJSON) ogs_error("OpenAPI_pcc_rule_parseFromJSON() failed [dis_ue_notif]"); goto end; } -} + } pcc_rule_local_var = OpenAPI_pcc_rule_create ( flow_infos ? flow_infosList : NULL, diff --git a/lib/sbi/openapi/model/pcf_binding.c b/lib/sbi/openapi/model/pcf_binding.c index 4a2fbcf8d..d53a579e5 100644 --- a/lib/sbi/openapi/model/pcf_binding.c +++ b/lib/sbi/openapi/model/pcf_binding.c @@ -375,7 +375,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "gpsi"); @@ -384,7 +384,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *ipv4_addr = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "ipv4Addr"); @@ -393,7 +393,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [ipv4_addr]"); goto end; } -} + } cJSON *ipv6_prefix = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "ipv6Prefix"); @@ -402,7 +402,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [ipv6_prefix]"); goto end; } -} + } cJSON *add_ipv6_prefixes = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "addIpv6Prefixes"); @@ -422,7 +422,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) } OpenAPI_list_add(add_ipv6_prefixesList , ogs_strdup_or_assert(add_ipv6_prefixes_local->valuestring)); } -} + } cJSON *ip_domain = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "ipDomain"); @@ -431,7 +431,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [ip_domain]"); goto end; } -} + } cJSON *mac_addr48 = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "macAddr48"); @@ -440,7 +440,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [mac_addr48]"); goto end; } -} + } cJSON *add_mac_addrs = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "addMacAddrs"); @@ -460,7 +460,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) } OpenAPI_list_add(add_mac_addrsList , ogs_strdup_or_assert(add_mac_addrs_local->valuestring)); } -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "dnn"); if (!dnn) { @@ -481,7 +481,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [pcf_fqdn]"); goto end; } -} + } cJSON *pcf_ip_end_points = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "pcfIpEndPoints"); @@ -504,7 +504,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) OpenAPI_list_add(pcf_ip_end_pointsList, pcf_ip_end_pointsItem); } -} + } cJSON *pcf_diam_host = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "pcfDiamHost"); @@ -513,7 +513,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [pcf_diam_host]"); goto end; } -} + } cJSON *pcf_diam_realm = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "pcfDiamRealm"); @@ -522,7 +522,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [pcf_diam_realm]"); goto end; } -} + } cJSON *pcf_sm_fqdn = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "pcfSmFqdn"); @@ -531,7 +531,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [pcf_sm_fqdn]"); goto end; } -} + } cJSON *pcf_sm_ip_end_points = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "pcfSmIpEndPoints"); @@ -554,7 +554,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) OpenAPI_list_add(pcf_sm_ip_end_pointsList, pcf_sm_ip_end_pointsItem); } -} + } cJSON *snssai = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "snssai"); if (!snssai) { @@ -573,7 +573,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [supp_feat]"); goto end; } -} + } cJSON *pcf_id = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "pcfId"); @@ -582,7 +582,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [pcf_id]"); goto end; } -} + } cJSON *pcf_set_id = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "pcfSetId"); @@ -591,7 +591,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [pcf_set_id]"); goto end; } -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "recoveryTime"); @@ -600,14 +600,14 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) ogs_error("OpenAPI_pcf_binding_parseFromJSON() failed [recovery_time]"); goto end; } -} + } cJSON *para_com = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "paraCom"); OpenAPI_parameter_combination_t *para_com_local_nonprim = NULL; if (para_com) { para_com_local_nonprim = OpenAPI_parameter_combination_parseFromJSON(para_com); -} + } cJSON *bind_level = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "bindLevel"); @@ -618,7 +618,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) goto end; } bind_levelVariable = OpenAPI_binding_level_FromString(bind_level->valuestring); -} + } cJSON *ipv4_frame_route_list = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "ipv4FrameRouteList"); @@ -638,7 +638,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) } OpenAPI_list_add(ipv4_frame_route_listList , ogs_strdup_or_assert(ipv4_frame_route_list_local->valuestring)); } -} + } cJSON *ipv6_frame_route_list = cJSON_GetObjectItemCaseSensitive(pcf_bindingJSON, "ipv6FrameRouteList"); @@ -658,7 +658,7 @@ OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON) } OpenAPI_list_add(ipv6_frame_route_listList , ogs_strdup_or_assert(ipv6_frame_route_list_local->valuestring)); } -} + } pcf_binding_local_var = OpenAPI_pcf_binding_create ( supi ? ogs_strdup_or_assert(supi->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/pcf_binding_patch.c b/lib/sbi/openapi/model/pcf_binding_patch.c index deceb97aa..e11b20dc7 100644 --- a/lib/sbi/openapi/model/pcf_binding_patch.c +++ b/lib/sbi/openapi/model/pcf_binding_patch.c @@ -198,7 +198,7 @@ OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_parseFromJSON(cJSON *pcf_ ogs_error("OpenAPI_pcf_binding_patch_parseFromJSON() failed [ipv4_addr]"); goto end; } -} + } cJSON *ip_domain = cJSON_GetObjectItemCaseSensitive(pcf_binding_patchJSON, "ipDomain"); @@ -207,7 +207,7 @@ OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_parseFromJSON(cJSON *pcf_ ogs_error("OpenAPI_pcf_binding_patch_parseFromJSON() failed [ip_domain]"); goto end; } -} + } cJSON *ipv6_prefix = cJSON_GetObjectItemCaseSensitive(pcf_binding_patchJSON, "ipv6Prefix"); @@ -216,7 +216,7 @@ OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_parseFromJSON(cJSON *pcf_ ogs_error("OpenAPI_pcf_binding_patch_parseFromJSON() failed [ipv6_prefix]"); goto end; } -} + } cJSON *add_ipv6_prefixes = cJSON_GetObjectItemCaseSensitive(pcf_binding_patchJSON, "addIpv6Prefixes"); @@ -236,7 +236,7 @@ OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_parseFromJSON(cJSON *pcf_ } OpenAPI_list_add(add_ipv6_prefixesList , ogs_strdup_or_assert(add_ipv6_prefixes_local->valuestring)); } -} + } cJSON *mac_addr48 = cJSON_GetObjectItemCaseSensitive(pcf_binding_patchJSON, "macAddr48"); @@ -245,7 +245,7 @@ OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_parseFromJSON(cJSON *pcf_ ogs_error("OpenAPI_pcf_binding_patch_parseFromJSON() failed [mac_addr48]"); goto end; } -} + } cJSON *add_mac_addrs = cJSON_GetObjectItemCaseSensitive(pcf_binding_patchJSON, "addMacAddrs"); @@ -265,7 +265,7 @@ OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_parseFromJSON(cJSON *pcf_ } OpenAPI_list_add(add_mac_addrsList , ogs_strdup_or_assert(add_mac_addrs_local->valuestring)); } -} + } cJSON *pcf_id = cJSON_GetObjectItemCaseSensitive(pcf_binding_patchJSON, "pcfId"); @@ -274,7 +274,7 @@ OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_parseFromJSON(cJSON *pcf_ ogs_error("OpenAPI_pcf_binding_patch_parseFromJSON() failed [pcf_id]"); goto end; } -} + } cJSON *pcf_fqdn = cJSON_GetObjectItemCaseSensitive(pcf_binding_patchJSON, "pcfFqdn"); @@ -283,7 +283,7 @@ OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_parseFromJSON(cJSON *pcf_ ogs_error("OpenAPI_pcf_binding_patch_parseFromJSON() failed [pcf_fqdn]"); goto end; } -} + } cJSON *pcf_ip_end_points = cJSON_GetObjectItemCaseSensitive(pcf_binding_patchJSON, "pcfIpEndPoints"); @@ -306,7 +306,7 @@ OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_parseFromJSON(cJSON *pcf_ OpenAPI_list_add(pcf_ip_end_pointsList, pcf_ip_end_pointsItem); } -} + } cJSON *pcf_diam_host = cJSON_GetObjectItemCaseSensitive(pcf_binding_patchJSON, "pcfDiamHost"); @@ -315,7 +315,7 @@ OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_parseFromJSON(cJSON *pcf_ ogs_error("OpenAPI_pcf_binding_patch_parseFromJSON() failed [pcf_diam_host]"); goto end; } -} + } cJSON *pcf_diam_realm = cJSON_GetObjectItemCaseSensitive(pcf_binding_patchJSON, "pcfDiamRealm"); @@ -324,7 +324,7 @@ OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_parseFromJSON(cJSON *pcf_ ogs_error("OpenAPI_pcf_binding_patch_parseFromJSON() failed [pcf_diam_realm]"); goto end; } -} + } pcf_binding_patch_local_var = OpenAPI_pcf_binding_patch_create ( ipv4_addr ? ogs_strdup_or_assert(ipv4_addr->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/pcf_info.c b/lib/sbi/openapi/model/pcf_info.c index 54d03494f..781dad16e 100644 --- a/lib/sbi/openapi/model/pcf_info.c +++ b/lib/sbi/openapi/model/pcf_info.c @@ -161,7 +161,7 @@ OpenAPI_pcf_info_t *OpenAPI_pcf_info_parseFromJSON(cJSON *pcf_infoJSON) ogs_error("OpenAPI_pcf_info_parseFromJSON() failed [group_id]"); goto end; } -} + } cJSON *dnn_list = cJSON_GetObjectItemCaseSensitive(pcf_infoJSON, "dnnList"); @@ -181,7 +181,7 @@ OpenAPI_pcf_info_t *OpenAPI_pcf_info_parseFromJSON(cJSON *pcf_infoJSON) } OpenAPI_list_add(dnn_listList , ogs_strdup_or_assert(dnn_list_local->valuestring)); } -} + } cJSON *supi_ranges = cJSON_GetObjectItemCaseSensitive(pcf_infoJSON, "supiRanges"); @@ -204,7 +204,7 @@ OpenAPI_pcf_info_t *OpenAPI_pcf_info_parseFromJSON(cJSON *pcf_infoJSON) OpenAPI_list_add(supi_rangesList, supi_rangesItem); } -} + } cJSON *gpsi_ranges = cJSON_GetObjectItemCaseSensitive(pcf_infoJSON, "gpsiRanges"); @@ -227,7 +227,7 @@ OpenAPI_pcf_info_t *OpenAPI_pcf_info_parseFromJSON(cJSON *pcf_infoJSON) OpenAPI_list_add(gpsi_rangesList, gpsi_rangesItem); } -} + } cJSON *rx_diam_host = cJSON_GetObjectItemCaseSensitive(pcf_infoJSON, "rxDiamHost"); @@ -236,7 +236,7 @@ OpenAPI_pcf_info_t *OpenAPI_pcf_info_parseFromJSON(cJSON *pcf_infoJSON) ogs_error("OpenAPI_pcf_info_parseFromJSON() failed [rx_diam_host]"); goto end; } -} + } cJSON *rx_diam_realm = cJSON_GetObjectItemCaseSensitive(pcf_infoJSON, "rxDiamRealm"); @@ -245,7 +245,7 @@ OpenAPI_pcf_info_t *OpenAPI_pcf_info_parseFromJSON(cJSON *pcf_infoJSON) ogs_error("OpenAPI_pcf_info_parseFromJSON() failed [rx_diam_realm]"); goto end; } -} + } cJSON *v2x_support_ind = cJSON_GetObjectItemCaseSensitive(pcf_infoJSON, "v2xSupportInd"); @@ -254,7 +254,7 @@ OpenAPI_pcf_info_t *OpenAPI_pcf_info_parseFromJSON(cJSON *pcf_infoJSON) ogs_error("OpenAPI_pcf_info_parseFromJSON() failed [v2x_support_ind]"); goto end; } -} + } pcf_info_local_var = OpenAPI_pcf_info_create ( group_id ? ogs_strdup_or_assert(group_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/pcscf_info.c b/lib/sbi/openapi/model/pcscf_info.c index 1b44df564..482aeebb2 100644 --- a/lib/sbi/openapi/model/pcscf_info.c +++ b/lib/sbi/openapi/model/pcscf_info.c @@ -207,7 +207,7 @@ OpenAPI_pcscf_info_t *OpenAPI_pcscf_info_parseFromJSON(cJSON *pcscf_infoJSON) OpenAPI_list_add(access_typeList, (void *)OpenAPI_access_type_FromString(access_type_local_nonprimitive->valuestring)); } -} + } cJSON *dnn_list = cJSON_GetObjectItemCaseSensitive(pcscf_infoJSON, "dnnList"); @@ -227,7 +227,7 @@ OpenAPI_pcscf_info_t *OpenAPI_pcscf_info_parseFromJSON(cJSON *pcscf_infoJSON) } OpenAPI_list_add(dnn_listList , ogs_strdup_or_assert(dnn_list_local->valuestring)); } -} + } cJSON *gm_fqdn = cJSON_GetObjectItemCaseSensitive(pcscf_infoJSON, "gmFqdn"); @@ -236,7 +236,7 @@ OpenAPI_pcscf_info_t *OpenAPI_pcscf_info_parseFromJSON(cJSON *pcscf_infoJSON) ogs_error("OpenAPI_pcscf_info_parseFromJSON() failed [gm_fqdn]"); goto end; } -} + } cJSON *gm_ipv4_addresses = cJSON_GetObjectItemCaseSensitive(pcscf_infoJSON, "gmIpv4Addresses"); @@ -256,7 +256,7 @@ OpenAPI_pcscf_info_t *OpenAPI_pcscf_info_parseFromJSON(cJSON *pcscf_infoJSON) } OpenAPI_list_add(gm_ipv4_addressesList , ogs_strdup_or_assert(gm_ipv4_addresses_local->valuestring)); } -} + } cJSON *gm_ipv6_addresses = cJSON_GetObjectItemCaseSensitive(pcscf_infoJSON, "gmIpv6Addresses"); @@ -276,7 +276,7 @@ OpenAPI_pcscf_info_t *OpenAPI_pcscf_info_parseFromJSON(cJSON *pcscf_infoJSON) } OpenAPI_list_add(gm_ipv6_addressesList , ogs_strdup_or_assert(gm_ipv6_addresses_local->valuestring)); } -} + } cJSON *served_ipv4_address_ranges = cJSON_GetObjectItemCaseSensitive(pcscf_infoJSON, "servedIpv4AddressRanges"); @@ -299,7 +299,7 @@ OpenAPI_pcscf_info_t *OpenAPI_pcscf_info_parseFromJSON(cJSON *pcscf_infoJSON) OpenAPI_list_add(served_ipv4_address_rangesList, served_ipv4_address_rangesItem); } -} + } cJSON *served_ipv6_prefix_ranges = cJSON_GetObjectItemCaseSensitive(pcscf_infoJSON, "servedIpv6PrefixRanges"); @@ -322,7 +322,7 @@ OpenAPI_pcscf_info_t *OpenAPI_pcscf_info_parseFromJSON(cJSON *pcscf_infoJSON) OpenAPI_list_add(served_ipv6_prefix_rangesList, served_ipv6_prefix_rangesItem); } -} + } pcscf_info_local_var = OpenAPI_pcscf_info_create ( access_type ? access_typeList : NULL, diff --git a/lib/sbi/openapi/model/pcscf_restoration_request_data.c b/lib/sbi/openapi/model/pcscf_restoration_request_data.c index e17b3a58d..2bbe77e20 100644 --- a/lib/sbi/openapi/model/pcscf_restoration_request_data.c +++ b/lib/sbi/openapi/model/pcscf_restoration_request_data.c @@ -114,7 +114,7 @@ OpenAPI_pcscf_restoration_request_data_t *OpenAPI_pcscf_restoration_request_data ogs_error("OpenAPI_pcscf_restoration_request_data_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *ip_domain = cJSON_GetObjectItemCaseSensitive(pcscf_restoration_request_dataJSON, "ipDomain"); @@ -123,14 +123,14 @@ OpenAPI_pcscf_restoration_request_data_t *OpenAPI_pcscf_restoration_request_data ogs_error("OpenAPI_pcscf_restoration_request_data_parseFromJSON() failed [ip_domain]"); goto end; } -} + } cJSON *slice_info = cJSON_GetObjectItemCaseSensitive(pcscf_restoration_request_dataJSON, "sliceInfo"); OpenAPI_snssai_t *slice_info_local_nonprim = NULL; if (slice_info) { slice_info_local_nonprim = OpenAPI_snssai_parseFromJSON(slice_info); -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(pcscf_restoration_request_dataJSON, "supi"); @@ -139,7 +139,7 @@ OpenAPI_pcscf_restoration_request_data_t *OpenAPI_pcscf_restoration_request_data ogs_error("OpenAPI_pcscf_restoration_request_data_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *ue_ipv4 = cJSON_GetObjectItemCaseSensitive(pcscf_restoration_request_dataJSON, "ueIpv4"); @@ -148,7 +148,7 @@ OpenAPI_pcscf_restoration_request_data_t *OpenAPI_pcscf_restoration_request_data ogs_error("OpenAPI_pcscf_restoration_request_data_parseFromJSON() failed [ue_ipv4]"); goto end; } -} + } cJSON *ue_ipv6 = cJSON_GetObjectItemCaseSensitive(pcscf_restoration_request_dataJSON, "ueIpv6"); @@ -157,7 +157,7 @@ OpenAPI_pcscf_restoration_request_data_t *OpenAPI_pcscf_restoration_request_data ogs_error("OpenAPI_pcscf_restoration_request_data_parseFromJSON() failed [ue_ipv6]"); goto end; } -} + } pcscf_restoration_request_data_local_var = OpenAPI_pcscf_restoration_request_data_create ( dnn ? ogs_strdup_or_assert(dnn->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/pdu_session.c b/lib/sbi/openapi/model/pdu_session.c index 5a0103998..1c87d4fef 100644 --- a/lib/sbi/openapi/model/pdu_session.c +++ b/lib/sbi/openapi/model/pdu_session.c @@ -126,7 +126,7 @@ OpenAPI_pdu_session_t *OpenAPI_pdu_session_parseFromJSON(cJSON *pdu_sessionJSON) OpenAPI_snssai_t *single_nssai_local_nonprim = NULL; if (single_nssai) { single_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(single_nssai); -} + } pdu_session_local_var = OpenAPI_pdu_session_create ( ogs_strdup_or_assert(dnn->valuestring), diff --git a/lib/sbi/openapi/model/pdu_session_1.c b/lib/sbi/openapi/model/pdu_session_1.c index 89ec33252..e667c91fe 100644 --- a/lib/sbi/openapi/model/pdu_session_1.c +++ b/lib/sbi/openapi/model/pdu_session_1.c @@ -126,7 +126,7 @@ OpenAPI_pdu_session_1_t *OpenAPI_pdu_session_1_parseFromJSON(cJSON *pdu_session_ OpenAPI_snssai_t *single_nssai_local_nonprim = NULL; if (single_nssai) { single_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(single_nssai); -} + } pdu_session_1_local_var = OpenAPI_pdu_session_1_create ( ogs_strdup_or_assert(dnn->valuestring), diff --git a/lib/sbi/openapi/model/pdu_session_context.c b/lib/sbi/openapi/model/pdu_session_context.c index 37e96f9af..a5dbd079e 100644 --- a/lib/sbi/openapi/model/pdu_session_context.c +++ b/lib/sbi/openapi/model/pdu_session_context.c @@ -345,7 +345,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [selected_dnn]"); goto end; } -} + } cJSON *access_type = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "accessType"); if (!access_type) { @@ -370,7 +370,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * goto end; } additional_access_typeVariable = OpenAPI_access_type_FromString(additional_access_type->valuestring); -} + } cJSON *allocated_ebi_list = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "allocatedEbiList"); @@ -393,7 +393,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * OpenAPI_list_add(allocated_ebi_listList, allocated_ebi_listItem); } -} + } cJSON *hsmf_id = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "hsmfId"); @@ -402,7 +402,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [hsmf_id]"); goto end; } -} + } cJSON *hsmf_set_id = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "hsmfSetId"); @@ -411,7 +411,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [hsmf_set_id]"); goto end; } -} + } cJSON *hsmf_service_set_id = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "hsmfServiceSetId"); @@ -420,7 +420,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [hsmf_service_set_id]"); goto end; } -} + } cJSON *smf_binding = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "smfBinding"); @@ -431,7 +431,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * goto end; } smf_bindingVariable = OpenAPI_sbi_binding_level_FromString(smf_binding->valuestring); -} + } cJSON *vsmf_id = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "vsmfId"); @@ -440,7 +440,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [vsmf_id]"); goto end; } -} + } cJSON *vsmf_set_id = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "vsmfSetId"); @@ -449,7 +449,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [vsmf_set_id]"); goto end; } -} + } cJSON *vsmf_service_set_id = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "vsmfServiceSetId"); @@ -458,7 +458,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [vsmf_service_set_id]"); goto end; } -} + } cJSON *vsmf_binding = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "vsmfBinding"); @@ -469,7 +469,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * goto end; } vsmf_bindingVariable = OpenAPI_sbi_binding_level_FromString(vsmf_binding->valuestring); -} + } cJSON *ismf_id = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "ismfId"); @@ -478,7 +478,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [ismf_id]"); goto end; } -} + } cJSON *ismf_set_id = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "ismfSetId"); @@ -487,7 +487,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [ismf_set_id]"); goto end; } -} + } cJSON *ismf_service_set_id = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "ismfServiceSetId"); @@ -496,7 +496,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [ismf_service_set_id]"); goto end; } -} + } cJSON *ismf_binding = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "ismfBinding"); @@ -507,7 +507,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * goto end; } ismf_bindingVariable = OpenAPI_sbi_binding_level_FromString(ismf_binding->valuestring); -} + } cJSON *ns_instance = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "nsInstance"); @@ -516,7 +516,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [ns_instance]"); goto end; } -} + } cJSON *smf_service_instance_id = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "smfServiceInstanceId"); @@ -525,7 +525,7 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [smf_service_instance_id]"); goto end; } -} + } cJSON *ma_pdu_session = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "maPduSession"); @@ -534,14 +534,14 @@ OpenAPI_pdu_session_context_t *OpenAPI_pdu_session_context_parseFromJSON(cJSON * ogs_error("OpenAPI_pdu_session_context_parseFromJSON() failed [ma_pdu_session]"); goto end; } -} + } cJSON *cn_assisted_ran_para = cJSON_GetObjectItemCaseSensitive(pdu_session_contextJSON, "cnAssistedRanPara"); OpenAPI_cn_assisted_ran_para_t *cn_assisted_ran_para_local_nonprim = NULL; if (cn_assisted_ran_para) { cn_assisted_ran_para_local_nonprim = OpenAPI_cn_assisted_ran_para_parseFromJSON(cn_assisted_ran_para); -} + } pdu_session_context_local_var = OpenAPI_pdu_session_context_create ( pdu_session_id->valuedouble, diff --git a/lib/sbi/openapi/model/pdu_session_create_data.c b/lib/sbi/openapi/model/pdu_session_create_data.c index fad80fb0e..cf6f76e4d 100644 --- a/lib/sbi/openapi/model/pdu_session_create_data.c +++ b/lib/sbi/openapi/model/pdu_session_create_data.c @@ -787,7 +787,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *unauthenticated_supi = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "unauthenticatedSupi"); @@ -796,7 +796,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [unauthenticated_supi]"); goto end; } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "pei"); @@ -805,7 +805,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *pdu_session_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "pduSessionId"); @@ -814,7 +814,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [pdu_session_id]"); goto end; } -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "dnn"); if (!dnn) { @@ -835,14 +835,14 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [selected_dnn]"); goto end; } -} + } cJSON *s_nssai = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "sNssai"); OpenAPI_snssai_t *s_nssai_local_nonprim = NULL; if (s_nssai) { s_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(s_nssai); -} + } cJSON *vsmf_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "vsmfId"); @@ -851,7 +851,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [vsmf_id]"); goto end; } -} + } cJSON *ismf_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "ismfId"); @@ -860,7 +860,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [ismf_id]"); goto end; } -} + } cJSON *serving_network = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "servingNetwork"); if (!serving_network) { @@ -881,7 +881,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON goto end; } request_typeVariable = OpenAPI_request_type_FromString(request_type->valuestring); -} + } cJSON *eps_bearer_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "epsBearerId"); @@ -901,7 +901,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON } OpenAPI_list_add(eps_bearer_idList , &eps_bearer_id_local->valuedouble); } -} + } cJSON *pgw_s8c_fteid = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "pgwS8cFteid"); @@ -910,7 +910,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [pgw_s8c_fteid]"); goto end; } -} + } cJSON *vsmf_pdu_session_uri = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "vsmfPduSessionUri"); @@ -919,7 +919,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [vsmf_pdu_session_uri]"); goto end; } -} + } cJSON *ismf_pdu_session_uri = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "ismfPduSessionUri"); @@ -928,35 +928,35 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [ismf_pdu_session_uri]"); goto end; } -} + } cJSON *vcn_tunnel_info = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "vcnTunnelInfo"); OpenAPI_tunnel_info_t *vcn_tunnel_info_local_nonprim = NULL; if (vcn_tunnel_info) { vcn_tunnel_info_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(vcn_tunnel_info); -} + } cJSON *icn_tunnel_info = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "icnTunnelInfo"); OpenAPI_tunnel_info_t *icn_tunnel_info_local_nonprim = NULL; if (icn_tunnel_info) { icn_tunnel_info_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(icn_tunnel_info); -} + } cJSON *n9_forwarding_tunnel_info = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "n9ForwardingTunnelInfo"); OpenAPI_tunnel_info_t *n9_forwarding_tunnel_info_local_nonprim = NULL; if (n9_forwarding_tunnel_info) { n9_forwarding_tunnel_info_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(n9_forwarding_tunnel_info); -} + } cJSON *additional_cn_tunnel_info = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "additionalCnTunnelInfo"); OpenAPI_tunnel_info_t *additional_cn_tunnel_info_local_nonprim = NULL; if (additional_cn_tunnel_info) { additional_cn_tunnel_info_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(additional_cn_tunnel_info); -} + } cJSON *an_type = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "anType"); if (!an_type) { @@ -981,7 +981,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON goto end; } additional_an_typeVariable = OpenAPI_access_type_FromString(additional_an_type->valuestring); -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "ratType"); @@ -992,14 +992,14 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON goto end; } rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring); -} + } cJSON *ue_location = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "ueLocation"); OpenAPI_user_location_t *ue_location_local_nonprim = NULL; if (ue_location) { ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_location); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "ueTimeZone"); @@ -1008,14 +1008,14 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *add_ue_location = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "addUeLocation"); OpenAPI_user_location_t *add_ue_location_local_nonprim = NULL; if (add_ue_location) { add_ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(add_ue_location); -} + } cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "gpsi"); @@ -1024,21 +1024,21 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *n1_sm_info_from_ue = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "n1SmInfoFromUe"); OpenAPI_ref_to_binary_data_t *n1_sm_info_from_ue_local_nonprim = NULL; if (n1_sm_info_from_ue) { n1_sm_info_from_ue_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_info_from_ue); -} + } cJSON *unknown_n1_sm_info = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "unknownN1SmInfo"); OpenAPI_ref_to_binary_data_t *unknown_n1_sm_info_local_nonprim = NULL; if (unknown_n1_sm_info) { unknown_n1_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(unknown_n1_sm_info); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "supportedFeatures"); @@ -1047,7 +1047,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *h_pcf_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "hPcfId"); @@ -1056,7 +1056,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [h_pcf_id]"); goto end; } -} + } cJSON *pcf_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "pcfId"); @@ -1065,7 +1065,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [pcf_id]"); goto end; } -} + } cJSON *pcf_group_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "pcfGroupId"); @@ -1074,7 +1074,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [pcf_group_id]"); goto end; } -} + } cJSON *pcf_set_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "pcfSetId"); @@ -1083,7 +1083,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [pcf_set_id]"); goto end; } -} + } cJSON *ho_preparation_indication = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "hoPreparationIndication"); @@ -1092,7 +1092,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [ho_preparation_indication]"); goto end; } -} + } cJSON *sel_mode = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "selMode"); @@ -1103,7 +1103,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON goto end; } sel_modeVariable = OpenAPI_dnn_selection_mode_FromString(sel_mode->valuestring); -} + } cJSON *always_on_requested = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "alwaysOnRequested"); @@ -1112,7 +1112,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [always_on_requested]"); goto end; } -} + } cJSON *udm_group_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "udmGroupId"); @@ -1121,7 +1121,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [udm_group_id]"); goto end; } -} + } cJSON *routing_indicator = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "routingIndicator"); @@ -1130,7 +1130,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [routing_indicator]"); goto end; } -} + } cJSON *eps_interworking_ind = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "epsInterworkingInd"); @@ -1141,7 +1141,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON goto end; } eps_interworking_indVariable = OpenAPI_eps_interworking_indication_FromString(eps_interworking_ind->valuestring); -} + } cJSON *v_smf_service_instance_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "vSmfServiceInstanceId"); @@ -1150,7 +1150,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [v_smf_service_instance_id]"); goto end; } -} + } cJSON *i_smf_service_instance_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "iSmfServiceInstanceId"); @@ -1159,7 +1159,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [i_smf_service_instance_id]"); goto end; } -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "recoveryTime"); @@ -1168,14 +1168,14 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [recovery_time]"); goto end; } -} + } cJSON *roaming_charging_profile = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "roamingChargingProfile"); OpenAPI_roaming_charging_profile_t *roaming_charging_profile_local_nonprim = NULL; if (roaming_charging_profile) { roaming_charging_profile_local_nonprim = OpenAPI_roaming_charging_profile_parseFromJSON(roaming_charging_profile); -} + } cJSON *charging_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "chargingId"); @@ -1184,7 +1184,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [charging_id]"); goto end; } -} + } cJSON *old_pdu_session_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "oldPduSessionId"); @@ -1193,7 +1193,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [old_pdu_session_id]"); goto end; } -} + } cJSON *eps_bearer_ctx_status = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "epsBearerCtxStatus"); @@ -1202,7 +1202,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [eps_bearer_ctx_status]"); goto end; } -} + } cJSON *amf_nf_id = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "amfNfId"); @@ -1211,14 +1211,14 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [amf_nf_id]"); goto end; } -} + } cJSON *guami = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "guami"); OpenAPI_guami_t *guami_local_nonprim = NULL; if (guami) { guami_local_nonprim = OpenAPI_guami_parseFromJSON(guami); -} + } cJSON *max_integrity_protected_data_rate_ul = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "maxIntegrityProtectedDataRateUl"); @@ -1229,7 +1229,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON goto end; } max_integrity_protected_data_rate_ulVariable = OpenAPI_max_integrity_protected_data_rate_FromString(max_integrity_protected_data_rate_ul->valuestring); -} + } cJSON *max_integrity_protected_data_rate_dl = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "maxIntegrityProtectedDataRateDl"); @@ -1240,7 +1240,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON goto end; } max_integrity_protected_data_rate_dlVariable = OpenAPI_max_integrity_protected_data_rate_FromString(max_integrity_protected_data_rate_dl->valuestring); -} + } cJSON *cp_ciot_enabled = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "cpCiotEnabled"); @@ -1249,7 +1249,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [cp_ciot_enabled]"); goto end; } -} + } cJSON *cp_only_ind = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "cpOnlyInd"); @@ -1258,7 +1258,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [cp_only_ind]"); goto end; } -} + } cJSON *invoke_nef = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "invokeNef"); @@ -1267,7 +1267,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [invoke_nef]"); goto end; } -} + } cJSON *ma_request_ind = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "maRequestInd"); @@ -1276,7 +1276,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [ma_request_ind]"); goto end; } -} + } cJSON *ma_nw_upgrade_ind = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "maNwUpgradeInd"); @@ -1285,7 +1285,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [ma_nw_upgrade_ind]"); goto end; } -} + } cJSON *dnai_list = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "dnaiList"); @@ -1305,7 +1305,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON } OpenAPI_list_add(dnai_listList , ogs_strdup_or_assert(dnai_list_local->valuestring)); } -} + } cJSON *presence_in_ladn = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "presenceInLadn"); @@ -1316,7 +1316,7 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON goto end; } presence_in_ladnVariable = OpenAPI_presence_state_FromString(presence_in_ladn->valuestring); -} + } cJSON *secondary_rat_usage_info = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "secondaryRatUsageInfo"); @@ -1339,21 +1339,21 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON OpenAPI_list_add(secondary_rat_usage_infoList, secondary_rat_usage_infoItem); } -} + } cJSON *small_data_rate_status = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "smallDataRateStatus"); OpenAPI_small_data_rate_status_t *small_data_rate_status_local_nonprim = NULL; if (small_data_rate_status) { small_data_rate_status_local_nonprim = OpenAPI_small_data_rate_status_parseFromJSON(small_data_rate_status); -} + } cJSON *apn_rate_status = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "apnRateStatus"); OpenAPI_apn_rate_status_t *apn_rate_status_local_nonprim = NULL; if (apn_rate_status) { apn_rate_status_local_nonprim = OpenAPI_apn_rate_status_parseFromJSON(apn_rate_status); -} + } cJSON *dl_serving_plmn_rate_ctl = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "dlServingPlmnRateCtl"); @@ -1362,21 +1362,21 @@ OpenAPI_pdu_session_create_data_t *OpenAPI_pdu_session_create_data_parseFromJSON ogs_error("OpenAPI_pdu_session_create_data_parseFromJSON() failed [dl_serving_plmn_rate_ctl]"); goto end; } -} + } cJSON *up_security_info = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "upSecurityInfo"); OpenAPI_up_security_info_t *up_security_info_local_nonprim = NULL; if (up_security_info) { up_security_info_local_nonprim = OpenAPI_up_security_info_parseFromJSON(up_security_info); -} + } cJSON *vplmn_qos = cJSON_GetObjectItemCaseSensitive(pdu_session_create_dataJSON, "vplmnQos"); OpenAPI_vplmn_qos_t *vplmn_qos_local_nonprim = NULL; if (vplmn_qos) { vplmn_qos_local_nonprim = OpenAPI_vplmn_qos_parseFromJSON(vplmn_qos); -} + } pdu_session_create_data_local_var = OpenAPI_pdu_session_create_data_create ( supi ? ogs_strdup_or_assert(supi->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/pdu_session_create_error.c b/lib/sbi/openapi/model/pdu_session_create_error.c index 15b2cb61a..18884c74f 100644 --- a/lib/sbi/openapi/model/pdu_session_create_error.c +++ b/lib/sbi/openapi/model/pdu_session_create_error.c @@ -117,14 +117,14 @@ OpenAPI_pdu_session_create_error_t *OpenAPI_pdu_session_create_error_parseFromJS ogs_error("OpenAPI_pdu_session_create_error_parseFromJSON() failed [n1sm_cause]"); goto end; } -} + } cJSON *n1_sm_info_to_ue = cJSON_GetObjectItemCaseSensitive(pdu_session_create_errorJSON, "n1SmInfoToUe"); OpenAPI_ref_to_binary_data_t *n1_sm_info_to_ue_local_nonprim = NULL; if (n1_sm_info_to_ue) { n1_sm_info_to_ue_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_info_to_ue); -} + } cJSON *back_off_timer = cJSON_GetObjectItemCaseSensitive(pdu_session_create_errorJSON, "backOffTimer"); @@ -133,7 +133,7 @@ OpenAPI_pdu_session_create_error_t *OpenAPI_pdu_session_create_error_parseFromJS ogs_error("OpenAPI_pdu_session_create_error_parseFromJSON() failed [back_off_timer]"); goto end; } -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(pdu_session_create_errorJSON, "recoveryTime"); @@ -142,7 +142,7 @@ OpenAPI_pdu_session_create_error_t *OpenAPI_pdu_session_create_error_parseFromJS ogs_error("OpenAPI_pdu_session_create_error_parseFromJSON() failed [recovery_time]"); goto end; } -} + } pdu_session_create_error_local_var = OpenAPI_pdu_session_create_error_create ( error_local_nonprim, diff --git a/lib/sbi/openapi/model/pdu_session_created_data.c b/lib/sbi/openapi/model/pdu_session_created_data.c index f6b312a71..d48ae1b84 100644 --- a/lib/sbi/openapi/model/pdu_session_created_data.c +++ b/lib/sbi/openapi/model/pdu_session_created_data.c @@ -537,28 +537,28 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS OpenAPI_tunnel_info_t *hcn_tunnel_info_local_nonprim = NULL; if (hcn_tunnel_info) { hcn_tunnel_info_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(hcn_tunnel_info); -} + } cJSON *cn_tunnel_info = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "cnTunnelInfo"); OpenAPI_tunnel_info_t *cn_tunnel_info_local_nonprim = NULL; if (cn_tunnel_info) { cn_tunnel_info_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(cn_tunnel_info); -} + } cJSON *additional_cn_tunnel_info = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "additionalCnTunnelInfo"); OpenAPI_tunnel_info_t *additional_cn_tunnel_info_local_nonprim = NULL; if (additional_cn_tunnel_info) { additional_cn_tunnel_info_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(additional_cn_tunnel_info); -} + } cJSON *session_ambr = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "sessionAmbr"); OpenAPI_ambr_t *session_ambr_local_nonprim = NULL; if (session_ambr) { session_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(session_ambr); -} + } cJSON *qos_flows_setup_list = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "qosFlowsSetupList"); @@ -581,7 +581,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS OpenAPI_list_add(qos_flows_setup_listList, qos_flows_setup_listItem); } -} + } cJSON *h_smf_instance_id = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "hSmfInstanceId"); @@ -590,7 +590,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [h_smf_instance_id]"); goto end; } -} + } cJSON *smf_instance_id = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "smfInstanceId"); @@ -599,7 +599,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [smf_instance_id]"); goto end; } -} + } cJSON *pdu_session_id = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "pduSessionId"); @@ -608,14 +608,14 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [pdu_session_id]"); goto end; } -} + } cJSON *s_nssai = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "sNssai"); OpenAPI_snssai_t *s_nssai_local_nonprim = NULL; if (s_nssai) { s_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(s_nssai); -} + } cJSON *enable_pause_charging = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "enablePauseCharging"); @@ -624,7 +624,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [enable_pause_charging]"); goto end; } -} + } cJSON *ue_ipv4_address = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "ueIpv4Address"); @@ -633,7 +633,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [ue_ipv4_address]"); goto end; } -} + } cJSON *ue_ipv6_prefix = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "ueIpv6Prefix"); @@ -642,21 +642,21 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [ue_ipv6_prefix]"); goto end; } -} + } cJSON *n1_sm_info_to_ue = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "n1SmInfoToUe"); OpenAPI_ref_to_binary_data_t *n1_sm_info_to_ue_local_nonprim = NULL; if (n1_sm_info_to_ue) { n1_sm_info_to_ue_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_info_to_ue); -} + } cJSON *eps_pdn_cnx_info = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "epsPdnCnxInfo"); OpenAPI_eps_pdn_cnx_info_t *eps_pdn_cnx_info_local_nonprim = NULL; if (eps_pdn_cnx_info) { eps_pdn_cnx_info_local_nonprim = OpenAPI_eps_pdn_cnx_info_parseFromJSON(eps_pdn_cnx_info); -} + } cJSON *eps_bearer_info = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "epsBearerInfo"); @@ -679,7 +679,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS OpenAPI_list_add(eps_bearer_infoList, eps_bearer_infoItem); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "supportedFeatures"); @@ -688,7 +688,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *max_integrity_protected_data_rate = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "maxIntegrityProtectedDataRate"); @@ -699,7 +699,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS goto end; } max_integrity_protected_data_rateVariable = OpenAPI_max_integrity_protected_data_rate_FromString(max_integrity_protected_data_rate->valuestring); -} + } cJSON *max_integrity_protected_data_rate_dl = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "maxIntegrityProtectedDataRateDl"); @@ -710,7 +710,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS goto end; } max_integrity_protected_data_rate_dlVariable = OpenAPI_max_integrity_protected_data_rate_FromString(max_integrity_protected_data_rate_dl->valuestring); -} + } cJSON *always_on_granted = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "alwaysOnGranted"); @@ -719,7 +719,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [always_on_granted]"); goto end; } -} + } cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "gpsi"); @@ -728,21 +728,21 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *up_security = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "upSecurity"); OpenAPI_up_security_t *up_security_local_nonprim = NULL; if (up_security) { up_security_local_nonprim = OpenAPI_up_security_parseFromJSON(up_security); -} + } cJSON *roaming_charging_profile = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "roamingChargingProfile"); OpenAPI_roaming_charging_profile_t *roaming_charging_profile_local_nonprim = NULL; if (roaming_charging_profile) { roaming_charging_profile_local_nonprim = OpenAPI_roaming_charging_profile_parseFromJSON(roaming_charging_profile); -} + } cJSON *h_smf_service_instance_id = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "hSmfServiceInstanceId"); @@ -751,7 +751,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [h_smf_service_instance_id]"); goto end; } -} + } cJSON *smf_service_instance_id = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "smfServiceInstanceId"); @@ -760,7 +760,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [smf_service_instance_id]"); goto end; } -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "recoveryTime"); @@ -769,7 +769,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [recovery_time]"); goto end; } -} + } cJSON *dnai_list = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "dnaiList"); @@ -789,7 +789,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS } OpenAPI_list_add(dnai_listList , ogs_strdup_or_assert(dnai_list_local->valuestring)); } -} + } cJSON *ipv6_multi_homing_ind = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "ipv6MultiHomingInd"); @@ -798,7 +798,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [ipv6_multi_homing_ind]"); goto end; } -} + } cJSON *ma_accepted_ind = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "maAcceptedInd"); @@ -807,7 +807,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [ma_accepted_ind]"); goto end; } -} + } cJSON *home_provided_charging_id = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "homeProvidedChargingId"); @@ -816,7 +816,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [home_provided_charging_id]"); goto end; } -} + } cJSON *nef_ext_buf_support_ind = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "nefExtBufSupportInd"); @@ -825,7 +825,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [nef_ext_buf_support_ind]"); goto end; } -} + } cJSON *small_data_rate_control_enabled = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "smallDataRateControlEnabled"); @@ -834,7 +834,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [small_data_rate_control_enabled]"); goto end; } -} + } cJSON *ue_ipv6_interface_id = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "ueIpv6InterfaceId"); @@ -843,7 +843,7 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [ue_ipv6_interface_id]"); goto end; } -} + } cJSON *ipv6_index = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "ipv6Index"); @@ -852,21 +852,21 @@ OpenAPI_pdu_session_created_data_t *OpenAPI_pdu_session_created_data_parseFromJS ogs_error("OpenAPI_pdu_session_created_data_parseFromJSON() failed [ipv6_index]"); goto end; } -} + } cJSON *dn_aaa_address = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "dnAaaAddress"); OpenAPI_ip_address_t *dn_aaa_address_local_nonprim = NULL; if (dn_aaa_address) { dn_aaa_address_local_nonprim = OpenAPI_ip_address_parseFromJSON(dn_aaa_address); -} + } cJSON *redundant_pdu_session_info = cJSON_GetObjectItemCaseSensitive(pdu_session_created_dataJSON, "redundantPduSessionInfo"); OpenAPI_redundant_pdu_session_information_t *redundant_pdu_session_info_local_nonprim = NULL; if (redundant_pdu_session_info) { redundant_pdu_session_info_local_nonprim = OpenAPI_redundant_pdu_session_information_parseFromJSON(redundant_pdu_session_info); -} + } pdu_session_created_data_local_var = OpenAPI_pdu_session_created_data_create ( pdu_session_typeVariable, diff --git a/lib/sbi/openapi/model/pdu_session_management_data.c b/lib/sbi/openapi/model/pdu_session_management_data.c index 153ed716d..93f552db6 100644 --- a/lib/sbi/openapi/model/pdu_session_management_data.c +++ b/lib/sbi/openapi/model/pdu_session_management_data.c @@ -230,7 +230,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse OpenAPI_pdu_session_status_t *pdu_session_status_local_nonprim = NULL; if (pdu_session_status) { pdu_session_status_local_nonprim = OpenAPI_pdu_session_status_parseFromJSON(pdu_session_status); -} + } cJSON *pdu_session_status_ts = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "pduSessionStatusTs"); @@ -239,7 +239,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse ogs_error("OpenAPI_pdu_session_management_data_parseFromJSON() failed [pdu_session_status_ts]"); goto end; } -} + } cJSON *dnai = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "dnai"); @@ -248,7 +248,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse ogs_error("OpenAPI_pdu_session_management_data_parseFromJSON() failed [dnai]"); goto end; } -} + } cJSON *dnai_ts = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "dnaiTs"); @@ -257,7 +257,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse ogs_error("OpenAPI_pdu_session_management_data_parseFromJSON() failed [dnai_ts]"); goto end; } -} + } cJSON *n6_traffic_routing_info = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "n6TrafficRoutingInfo"); @@ -280,7 +280,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse OpenAPI_list_add(n6_traffic_routing_infoList, n6_traffic_routing_infoItem); } -} + } cJSON *n6_traffic_routing_info_ts = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "n6TrafficRoutingInfoTs"); @@ -289,7 +289,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse ogs_error("OpenAPI_pdu_session_management_data_parseFromJSON() failed [n6_traffic_routing_info_ts]"); goto end; } -} + } cJSON *ipv4_addr = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "ipv4Addr"); @@ -298,7 +298,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse ogs_error("OpenAPI_pdu_session_management_data_parseFromJSON() failed [ipv4_addr]"); goto end; } -} + } cJSON *ipv6_prefix = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "ipv6Prefix"); @@ -318,7 +318,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse } OpenAPI_list_add(ipv6_prefixList , ogs_strdup_or_assert(ipv6_prefix_local->valuestring)); } -} + } cJSON *ipv6_addrs = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "ipv6Addrs"); @@ -338,7 +338,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse } OpenAPI_list_add(ipv6_addrsList , ogs_strdup_or_assert(ipv6_addrs_local->valuestring)); } -} + } cJSON *pdu_sess_type = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "pduSessType"); @@ -349,7 +349,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse goto end; } pdu_sess_typeVariable = OpenAPI_pdu_session_type_FromString(pdu_sess_type->valuestring); -} + } cJSON *ip_addr_ts = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "ipAddrTs"); @@ -358,7 +358,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse ogs_error("OpenAPI_pdu_session_management_data_parseFromJSON() failed [ip_addr_ts]"); goto end; } -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "dnn"); @@ -367,7 +367,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse ogs_error("OpenAPI_pdu_session_management_data_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *pdu_session_id = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "pduSessionId"); @@ -376,7 +376,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse ogs_error("OpenAPI_pdu_session_management_data_parseFromJSON() failed [pdu_session_id]"); goto end; } -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(pdu_session_management_dataJSON, "suppFeat"); @@ -385,7 +385,7 @@ OpenAPI_pdu_session_management_data_t *OpenAPI_pdu_session_management_data_parse ogs_error("OpenAPI_pdu_session_management_data_parseFromJSON() failed [supp_feat]"); goto end; } -} + } pdu_session_management_data_local_var = OpenAPI_pdu_session_management_data_create ( pdu_session_status ? pdu_session_status_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/pdu_session_status_cfg.c b/lib/sbi/openapi/model/pdu_session_status_cfg.c index dea0694e0..52cd3dc78 100644 --- a/lib/sbi/openapi/model/pdu_session_status_cfg.c +++ b/lib/sbi/openapi/model/pdu_session_status_cfg.c @@ -58,7 +58,7 @@ OpenAPI_pdu_session_status_cfg_t *OpenAPI_pdu_session_status_cfg_parseFromJSON(c ogs_error("OpenAPI_pdu_session_status_cfg_parseFromJSON() failed [dnn]"); goto end; } -} + } pdu_session_status_cfg_local_var = OpenAPI_pdu_session_status_cfg_create ( dnn ? ogs_strdup_or_assert(dnn->valuestring) : NULL diff --git a/lib/sbi/openapi/model/pdu_session_tsn_bridge.c b/lib/sbi/openapi/model/pdu_session_tsn_bridge.c index e86819ce4..e6e9ffca6 100644 --- a/lib/sbi/openapi/model/pdu_session_tsn_bridge.c +++ b/lib/sbi/openapi/model/pdu_session_tsn_bridge.c @@ -128,14 +128,14 @@ OpenAPI_pdu_session_tsn_bridge_t *OpenAPI_pdu_session_tsn_bridge_parseFromJSON(c OpenAPI_bridge_management_container_t *tsn_bridge_man_cont_local_nonprim = NULL; if (tsn_bridge_man_cont) { tsn_bridge_man_cont_local_nonprim = OpenAPI_bridge_management_container_parseFromJSON(tsn_bridge_man_cont); -} + } cJSON *tsn_port_man_cont_dstt = cJSON_GetObjectItemCaseSensitive(pdu_session_tsn_bridgeJSON, "tsnPortManContDstt"); OpenAPI_port_management_container_t *tsn_port_man_cont_dstt_local_nonprim = NULL; if (tsn_port_man_cont_dstt) { tsn_port_man_cont_dstt_local_nonprim = OpenAPI_port_management_container_parseFromJSON(tsn_port_man_cont_dstt); -} + } cJSON *tsn_port_man_cont_nwtts = cJSON_GetObjectItemCaseSensitive(pdu_session_tsn_bridgeJSON, "tsnPortManContNwtts"); @@ -158,7 +158,7 @@ OpenAPI_pdu_session_tsn_bridge_t *OpenAPI_pdu_session_tsn_bridge_parseFromJSON(c OpenAPI_list_add(tsn_port_man_cont_nwttsList, tsn_port_man_cont_nwttsItem); } -} + } pdu_session_tsn_bridge_local_var = OpenAPI_pdu_session_tsn_bridge_create ( tsn_bridge_info_local_nonprim, diff --git a/lib/sbi/openapi/model/pdu_session_types.c b/lib/sbi/openapi/model/pdu_session_types.c index 3fd2c128b..174a40b24 100644 --- a/lib/sbi/openapi/model/pdu_session_types.c +++ b/lib/sbi/openapi/model/pdu_session_types.c @@ -100,7 +100,7 @@ OpenAPI_pdu_session_types_t *OpenAPI_pdu_session_types_parseFromJSON(cJSON *pdu_ OpenAPI_list_add(allowed_session_typesList, (void *)OpenAPI_pdu_session_type_FromString(allowed_session_types_local_nonprimitive->valuestring)); } -} + } pdu_session_types_local_var = OpenAPI_pdu_session_types_create ( default_session_typeVariable, diff --git a/lib/sbi/openapi/model/pdu_session_types_1.c b/lib/sbi/openapi/model/pdu_session_types_1.c index 6ccc9e5c4..535f17fff 100644 --- a/lib/sbi/openapi/model/pdu_session_types_1.c +++ b/lib/sbi/openapi/model/pdu_session_types_1.c @@ -100,7 +100,7 @@ OpenAPI_pdu_session_types_1_t *OpenAPI_pdu_session_types_1_parseFromJSON(cJSON * OpenAPI_list_add(allowed_session_typesList, (void *)OpenAPI_pdu_session_type_FromString(allowed_session_types_local_nonprimitive->valuestring)); } -} + } pdu_session_types_1_local_var = OpenAPI_pdu_session_types_1_create ( default_session_typeVariable, diff --git a/lib/sbi/openapi/model/pfd_change_notification.c b/lib/sbi/openapi/model/pfd_change_notification.c index 407be4656..2b597138b 100644 --- a/lib/sbi/openapi/model/pfd_change_notification.c +++ b/lib/sbi/openapi/model/pfd_change_notification.c @@ -112,7 +112,7 @@ OpenAPI_pfd_change_notification_t *OpenAPI_pfd_change_notification_parseFromJSON ogs_error("OpenAPI_pfd_change_notification_parseFromJSON() failed [removal_flag]"); goto end; } -} + } cJSON *partial_flag = cJSON_GetObjectItemCaseSensitive(pfd_change_notificationJSON, "partialFlag"); @@ -121,7 +121,7 @@ OpenAPI_pfd_change_notification_t *OpenAPI_pfd_change_notification_parseFromJSON ogs_error("OpenAPI_pfd_change_notification_parseFromJSON() failed [partial_flag]"); goto end; } -} + } cJSON *pfds = cJSON_GetObjectItemCaseSensitive(pfd_change_notificationJSON, "pfds"); @@ -144,7 +144,7 @@ OpenAPI_pfd_change_notification_t *OpenAPI_pfd_change_notification_parseFromJSON OpenAPI_list_add(pfdsList, pfdsItem); } -} + } pfd_change_notification_local_var = OpenAPI_pfd_change_notification_create ( ogs_strdup_or_assert(application_id->valuestring), diff --git a/lib/sbi/openapi/model/pfd_content.c b/lib/sbi/openapi/model/pfd_content.c index 7bd259eb1..615dc19c2 100644 --- a/lib/sbi/openapi/model/pfd_content.c +++ b/lib/sbi/openapi/model/pfd_content.c @@ -140,7 +140,7 @@ OpenAPI_pfd_content_t *OpenAPI_pfd_content_parseFromJSON(cJSON *pfd_contentJSON) ogs_error("OpenAPI_pfd_content_parseFromJSON() failed [pfd_id]"); goto end; } -} + } cJSON *flow_descriptions = cJSON_GetObjectItemCaseSensitive(pfd_contentJSON, "flowDescriptions"); @@ -160,7 +160,7 @@ OpenAPI_pfd_content_t *OpenAPI_pfd_content_parseFromJSON(cJSON *pfd_contentJSON) } OpenAPI_list_add(flow_descriptionsList , ogs_strdup_or_assert(flow_descriptions_local->valuestring)); } -} + } cJSON *urls = cJSON_GetObjectItemCaseSensitive(pfd_contentJSON, "urls"); @@ -180,7 +180,7 @@ OpenAPI_pfd_content_t *OpenAPI_pfd_content_parseFromJSON(cJSON *pfd_contentJSON) } OpenAPI_list_add(urlsList , ogs_strdup_or_assert(urls_local->valuestring)); } -} + } cJSON *domain_names = cJSON_GetObjectItemCaseSensitive(pfd_contentJSON, "domainNames"); @@ -200,14 +200,14 @@ OpenAPI_pfd_content_t *OpenAPI_pfd_content_parseFromJSON(cJSON *pfd_contentJSON) } OpenAPI_list_add(domain_namesList , ogs_strdup_or_assert(domain_names_local->valuestring)); } -} + } cJSON *dn_protocol = cJSON_GetObjectItemCaseSensitive(pfd_contentJSON, "dnProtocol"); OpenAPI_domain_name_protocol_t *dn_protocol_local_nonprim = NULL; if (dn_protocol) { dn_protocol_local_nonprim = OpenAPI_domain_name_protocol_parseFromJSON(dn_protocol); -} + } pfd_content_local_var = OpenAPI_pfd_content_create ( pfd_id ? ogs_strdup_or_assert(pfd_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/pfd_data.c b/lib/sbi/openapi/model/pfd_data.c index 99417289a..6e82ede98 100644 --- a/lib/sbi/openapi/model/pfd_data.c +++ b/lib/sbi/openapi/model/pfd_data.c @@ -103,7 +103,7 @@ OpenAPI_pfd_data_t *OpenAPI_pfd_data_parseFromJSON(cJSON *pfd_dataJSON) } OpenAPI_list_add(app_idsList , ogs_strdup_or_assert(app_ids_local->valuestring)); } -} + } cJSON *af_ids = cJSON_GetObjectItemCaseSensitive(pfd_dataJSON, "afIds"); @@ -123,7 +123,7 @@ OpenAPI_pfd_data_t *OpenAPI_pfd_data_parseFromJSON(cJSON *pfd_dataJSON) } OpenAPI_list_add(af_idsList , ogs_strdup_or_assert(af_ids_local->valuestring)); } -} + } pfd_data_local_var = OpenAPI_pfd_data_create ( app_ids ? app_idsList : NULL, diff --git a/lib/sbi/openapi/model/pfd_data_for_app.c b/lib/sbi/openapi/model/pfd_data_for_app.c index 969552f77..54bfc9d79 100644 --- a/lib/sbi/openapi/model/pfd_data_for_app.c +++ b/lib/sbi/openapi/model/pfd_data_for_app.c @@ -128,7 +128,7 @@ OpenAPI_pfd_data_for_app_t *OpenAPI_pfd_data_for_app_parseFromJSON(cJSON *pfd_da ogs_error("OpenAPI_pfd_data_for_app_parseFromJSON() failed [caching_time]"); goto end; } -} + } pfd_data_for_app_local_var = OpenAPI_pfd_data_for_app_create ( ogs_strdup_or_assert(application_id->valuestring), diff --git a/lib/sbi/openapi/model/pfd_data_for_app_ext.c b/lib/sbi/openapi/model/pfd_data_for_app_ext.c index 353e8a814..5920a07dd 100644 --- a/lib/sbi/openapi/model/pfd_data_for_app_ext.c +++ b/lib/sbi/openapi/model/pfd_data_for_app_ext.c @@ -138,7 +138,7 @@ OpenAPI_pfd_data_for_app_ext_t *OpenAPI_pfd_data_for_app_ext_parseFromJSON(cJSON ogs_error("OpenAPI_pfd_data_for_app_ext_parseFromJSON() failed [caching_time]"); goto end; } -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(pfd_data_for_app_extJSON, "suppFeat"); @@ -147,7 +147,7 @@ OpenAPI_pfd_data_for_app_ext_t *OpenAPI_pfd_data_for_app_ext_parseFromJSON(cJSON ogs_error("OpenAPI_pfd_data_for_app_ext_parseFromJSON() failed [supp_feat]"); goto end; } -} + } pfd_data_for_app_ext_local_var = OpenAPI_pfd_data_for_app_ext_create ( ogs_strdup_or_assert(application_id->valuestring), diff --git a/lib/sbi/openapi/model/pfd_data_for_app_ext_all_of.c b/lib/sbi/openapi/model/pfd_data_for_app_ext_all_of.c index 9b095e538..9a4e97e4f 100644 --- a/lib/sbi/openapi/model/pfd_data_for_app_ext_all_of.c +++ b/lib/sbi/openapi/model/pfd_data_for_app_ext_all_of.c @@ -58,7 +58,7 @@ OpenAPI_pfd_data_for_app_ext_all_of_t *OpenAPI_pfd_data_for_app_ext_all_of_parse ogs_error("OpenAPI_pfd_data_for_app_ext_all_of_parseFromJSON() failed [supp_feat]"); goto end; } -} + } pfd_data_for_app_ext_all_of_local_var = OpenAPI_pfd_data_for_app_ext_all_of_create ( supp_feat ? ogs_strdup_or_assert(supp_feat->valuestring) : NULL diff --git a/lib/sbi/openapi/model/pgw_info.c b/lib/sbi/openapi/model/pgw_info.c index 0443feaa7..ea8a1f7c4 100644 --- a/lib/sbi/openapi/model/pgw_info.c +++ b/lib/sbi/openapi/model/pgw_info.c @@ -111,7 +111,7 @@ OpenAPI_pgw_info_t *OpenAPI_pgw_info_parseFromJSON(cJSON *pgw_infoJSON) OpenAPI_plmn_id_t *plmn_id_local_nonprim = NULL; if (plmn_id) { plmn_id_local_nonprim = OpenAPI_plmn_id_parseFromJSON(plmn_id); -} + } cJSON *epdg_ind = cJSON_GetObjectItemCaseSensitive(pgw_infoJSON, "epdgInd"); @@ -120,7 +120,7 @@ OpenAPI_pgw_info_t *OpenAPI_pgw_info_parseFromJSON(cJSON *pgw_infoJSON) ogs_error("OpenAPI_pgw_info_parseFromJSON() failed [epdg_ind]"); goto end; } -} + } pgw_info_local_var = OpenAPI_pgw_info_create ( ogs_strdup_or_assert(dnn->valuestring), diff --git a/lib/sbi/openapi/model/pgw_info_1.c b/lib/sbi/openapi/model/pgw_info_1.c index 0eaa151cd..3be8237c1 100644 --- a/lib/sbi/openapi/model/pgw_info_1.c +++ b/lib/sbi/openapi/model/pgw_info_1.c @@ -111,7 +111,7 @@ OpenAPI_pgw_info_1_t *OpenAPI_pgw_info_1_parseFromJSON(cJSON *pgw_info_1JSON) OpenAPI_plmn_id_1_t *plmn_id_local_nonprim = NULL; if (plmn_id) { plmn_id_local_nonprim = OpenAPI_plmn_id_1_parseFromJSON(plmn_id); -} + } cJSON *epdg_ind = cJSON_GetObjectItemCaseSensitive(pgw_info_1JSON, "epdgInd"); @@ -120,7 +120,7 @@ OpenAPI_pgw_info_1_t *OpenAPI_pgw_info_1_parseFromJSON(cJSON *pgw_info_1JSON) ogs_error("OpenAPI_pgw_info_1_parseFromJSON() failed [epdg_ind]"); goto end; } -} + } pgw_info_1_local_var = OpenAPI_pgw_info_1_create ( ogs_strdup_or_assert(dnn->valuestring), diff --git a/lib/sbi/openapi/model/plmn_ec_info.c b/lib/sbi/openapi/model/plmn_ec_info.c index 735ad0ed3..44502d99d 100644 --- a/lib/sbi/openapi/model/plmn_ec_info.c +++ b/lib/sbi/openapi/model/plmn_ec_info.c @@ -95,7 +95,7 @@ OpenAPI_plmn_ec_info_t *OpenAPI_plmn_ec_info_parseFromJSON(cJSON *plmn_ec_infoJS OpenAPI_ec_restriction_data_wb_t *ec_restriction_data_wb_local_nonprim = NULL; if (ec_restriction_data_wb) { ec_restriction_data_wb_local_nonprim = OpenAPI_ec_restriction_data_wb_parseFromJSON(ec_restriction_data_wb); -} + } cJSON *ec_restriction_data_nb = cJSON_GetObjectItemCaseSensitive(plmn_ec_infoJSON, "ecRestrictionDataNb"); @@ -104,7 +104,7 @@ OpenAPI_plmn_ec_info_t *OpenAPI_plmn_ec_info_parseFromJSON(cJSON *plmn_ec_infoJS ogs_error("OpenAPI_plmn_ec_info_parseFromJSON() failed [ec_restriction_data_nb]"); goto end; } -} + } plmn_ec_info_local_var = OpenAPI_plmn_ec_info_create ( plmn_id_local_nonprim, diff --git a/lib/sbi/openapi/model/plmn_id_nid.c b/lib/sbi/openapi/model/plmn_id_nid.c index 3a18e978d..291df1cad 100644 --- a/lib/sbi/openapi/model/plmn_id_nid.c +++ b/lib/sbi/openapi/model/plmn_id_nid.c @@ -98,7 +98,7 @@ OpenAPI_plmn_id_nid_t *OpenAPI_plmn_id_nid_parseFromJSON(cJSON *plmn_id_nidJSON) ogs_error("OpenAPI_plmn_id_nid_parseFromJSON() failed [nid]"); goto end; } -} + } plmn_id_nid_local_var = OpenAPI_plmn_id_nid_create ( ogs_strdup_or_assert(mcc->valuestring), diff --git a/lib/sbi/openapi/model/plmn_id_nid_1.c b/lib/sbi/openapi/model/plmn_id_nid_1.c index b3f561994..a384a618c 100644 --- a/lib/sbi/openapi/model/plmn_id_nid_1.c +++ b/lib/sbi/openapi/model/plmn_id_nid_1.c @@ -98,7 +98,7 @@ OpenAPI_plmn_id_nid_1_t *OpenAPI_plmn_id_nid_1_parseFromJSON(cJSON *plmn_id_nid_ ogs_error("OpenAPI_plmn_id_nid_1_parseFromJSON() failed [nid]"); goto end; } -} + } plmn_id_nid_1_local_var = OpenAPI_plmn_id_nid_1_create ( ogs_strdup_or_assert(mcc->valuestring), diff --git a/lib/sbi/openapi/model/plmn_range.c b/lib/sbi/openapi/model/plmn_range.c index df949213d..c85a5dcc8 100644 --- a/lib/sbi/openapi/model/plmn_range.c +++ b/lib/sbi/openapi/model/plmn_range.c @@ -78,7 +78,7 @@ OpenAPI_plmn_range_t *OpenAPI_plmn_range_parseFromJSON(cJSON *plmn_rangeJSON) ogs_error("OpenAPI_plmn_range_parseFromJSON() failed [start]"); goto end; } -} + } cJSON *end = cJSON_GetObjectItemCaseSensitive(plmn_rangeJSON, "end"); @@ -87,7 +87,7 @@ OpenAPI_plmn_range_t *OpenAPI_plmn_range_parseFromJSON(cJSON *plmn_rangeJSON) ogs_error("OpenAPI_plmn_range_parseFromJSON() failed [end]"); goto end; } -} + } cJSON *pattern = cJSON_GetObjectItemCaseSensitive(plmn_rangeJSON, "pattern"); @@ -96,7 +96,7 @@ OpenAPI_plmn_range_t *OpenAPI_plmn_range_parseFromJSON(cJSON *plmn_rangeJSON) ogs_error("OpenAPI_plmn_range_parseFromJSON() failed [pattern]"); goto end; } -} + } plmn_range_local_var = OpenAPI_plmn_range_create ( start ? ogs_strdup_or_assert(start->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/plmn_route_selection_descriptor.c b/lib/sbi/openapi/model/plmn_route_selection_descriptor.c index c99ae0cce..2b0a11e32 100644 --- a/lib/sbi/openapi/model/plmn_route_selection_descriptor.c +++ b/lib/sbi/openapi/model/plmn_route_selection_descriptor.c @@ -112,7 +112,7 @@ OpenAPI_plmn_route_selection_descriptor_t *OpenAPI_plmn_route_selection_descript OpenAPI_list_add(snssai_route_sel_descsList, snssai_route_sel_descsItem); } -} + } plmn_route_selection_descriptor_local_var = OpenAPI_plmn_route_selection_descriptor_create ( serving_plmn_local_nonprim, diff --git a/lib/sbi/openapi/model/plmn_snssai.c b/lib/sbi/openapi/model/plmn_snssai.c index 8bcaaeace..3b8fff5a1 100644 --- a/lib/sbi/openapi/model/plmn_snssai.c +++ b/lib/sbi/openapi/model/plmn_snssai.c @@ -132,7 +132,7 @@ OpenAPI_plmn_snssai_t *OpenAPI_plmn_snssai_parseFromJSON(cJSON *plmn_snssaiJSON) ogs_error("OpenAPI_plmn_snssai_parseFromJSON() failed [nid]"); goto end; } -} + } plmn_snssai_local_var = OpenAPI_plmn_snssai_create ( plmn_id_local_nonprim, diff --git a/lib/sbi/openapi/model/policy_association.c b/lib/sbi/openapi/model/policy_association.c index ce3930b03..85dcb4c97 100644 --- a/lib/sbi/openapi/model/policy_association.c +++ b/lib/sbi/openapi/model/policy_association.c @@ -190,7 +190,7 @@ OpenAPI_policy_association_t *OpenAPI_policy_association_parseFromJSON(cJSON *po OpenAPI_policy_association_request_t *request_local_nonprim = NULL; if (request) { request_local_nonprim = OpenAPI_policy_association_request_parseFromJSON(request); -} + } cJSON *triggers = cJSON_GetObjectItemCaseSensitive(policy_associationJSON, "triggers"); @@ -212,21 +212,21 @@ OpenAPI_policy_association_t *OpenAPI_policy_association_parseFromJSON(cJSON *po OpenAPI_list_add(triggersList, (void *)OpenAPI_request_trigger_FromString(triggers_local_nonprimitive->valuestring)); } -} + } cJSON *serv_area_res = cJSON_GetObjectItemCaseSensitive(policy_associationJSON, "servAreaRes"); OpenAPI_service_area_restriction_t *serv_area_res_local_nonprim = NULL; if (serv_area_res) { serv_area_res_local_nonprim = OpenAPI_service_area_restriction_parseFromJSON(serv_area_res); -} + } cJSON *wl_serv_area_res = cJSON_GetObjectItemCaseSensitive(policy_associationJSON, "wlServAreaRes"); OpenAPI_wireline_service_area_restriction_t *wl_serv_area_res_local_nonprim = NULL; if (wl_serv_area_res) { wl_serv_area_res_local_nonprim = OpenAPI_wireline_service_area_restriction_parseFromJSON(wl_serv_area_res); -} + } cJSON *rfsp = cJSON_GetObjectItemCaseSensitive(policy_associationJSON, "rfsp"); @@ -235,21 +235,21 @@ OpenAPI_policy_association_t *OpenAPI_policy_association_parseFromJSON(cJSON *po ogs_error("OpenAPI_policy_association_parseFromJSON() failed [rfsp]"); goto end; } -} + } cJSON *smf_sel_info = cJSON_GetObjectItemCaseSensitive(policy_associationJSON, "smfSelInfo"); OpenAPI_smf_selection_data_t *smf_sel_info_local_nonprim = NULL; if (smf_sel_info) { smf_sel_info_local_nonprim = OpenAPI_smf_selection_data_parseFromJSON(smf_sel_info); -} + } cJSON *ue_ambr = cJSON_GetObjectItemCaseSensitive(policy_associationJSON, "ueAmbr"); OpenAPI_ambr_t *ue_ambr_local_nonprim = NULL; if (ue_ambr) { ue_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(ue_ambr); -} + } cJSON *pras = cJSON_GetObjectItemCaseSensitive(policy_associationJSON, "pras"); @@ -272,7 +272,7 @@ OpenAPI_policy_association_t *OpenAPI_policy_association_parseFromJSON(cJSON *po localMapObject->string, OpenAPI_presence_info_parseFromJSON(localMapObject)); OpenAPI_list_add(prasList , localMapKeyPair); } -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(policy_associationJSON, "suppFeat"); if (!supp_feat) { diff --git a/lib/sbi/openapi/model/policy_association_request.c b/lib/sbi/openapi/model/policy_association_request.c index b2c497fae..2e030be9f 100644 --- a/lib/sbi/openapi/model/policy_association_request.c +++ b/lib/sbi/openapi/model/policy_association_request.c @@ -476,7 +476,7 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr } OpenAPI_list_add(alt_notif_ipv4_addrsList , ogs_strdup_or_assert(alt_notif_ipv4_addrs_local->valuestring)); } -} + } cJSON *alt_notif_ipv6_addrs = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "altNotifIpv6Addrs"); @@ -496,7 +496,7 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr } OpenAPI_list_add(alt_notif_ipv6_addrsList , ogs_strdup_or_assert(alt_notif_ipv6_addrs_local->valuestring)); } -} + } cJSON *alt_notif_fqdns = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "altNotifFqdns"); @@ -516,7 +516,7 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr } OpenAPI_list_add(alt_notif_fqdnsList , ogs_strdup_or_assert(alt_notif_fqdns_local->valuestring)); } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "supi"); if (!supi) { @@ -537,7 +537,7 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr ogs_error("OpenAPI_policy_association_request_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *access_type = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "accessType"); @@ -548,7 +548,7 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr goto end; } access_typeVariable = OpenAPI_access_type_FromString(access_type->valuestring); -} + } cJSON *access_types = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "accessTypes"); @@ -570,7 +570,7 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr OpenAPI_list_add(access_typesList, (void *)OpenAPI_access_type_FromString(access_types_local_nonprimitive->valuestring)); } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "pei"); @@ -579,14 +579,14 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr ogs_error("OpenAPI_policy_association_request_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *user_loc = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "userLoc"); OpenAPI_user_location_t *user_loc_local_nonprim = NULL; if (user_loc) { user_loc_local_nonprim = OpenAPI_user_location_parseFromJSON(user_loc); -} + } cJSON *time_zone = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "timeZone"); @@ -595,14 +595,14 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr ogs_error("OpenAPI_policy_association_request_parseFromJSON() failed [time_zone]"); goto end; } -} + } cJSON *serving_plmn = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "servingPlmn"); OpenAPI_plmn_id_nid_t *serving_plmn_local_nonprim = NULL; if (serving_plmn) { serving_plmn_local_nonprim = OpenAPI_plmn_id_nid_parseFromJSON(serving_plmn); -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "ratType"); @@ -613,7 +613,7 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr goto end; } rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring); -} + } cJSON *rat_types = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "ratTypes"); @@ -635,7 +635,7 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr OpenAPI_list_add(rat_typesList, (void *)OpenAPI_rat_type_FromString(rat_types_local_nonprimitive->valuestring)); } -} + } cJSON *group_ids = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "groupIds"); @@ -655,21 +655,21 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr } OpenAPI_list_add(group_idsList , ogs_strdup_or_assert(group_ids_local->valuestring)); } -} + } cJSON *serv_area_res = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "servAreaRes"); OpenAPI_service_area_restriction_t *serv_area_res_local_nonprim = NULL; if (serv_area_res) { serv_area_res_local_nonprim = OpenAPI_service_area_restriction_parseFromJSON(serv_area_res); -} + } cJSON *wl_serv_area_res = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "wlServAreaRes"); OpenAPI_wireline_service_area_restriction_t *wl_serv_area_res_local_nonprim = NULL; if (wl_serv_area_res) { wl_serv_area_res_local_nonprim = OpenAPI_wireline_service_area_restriction_parseFromJSON(wl_serv_area_res); -} + } cJSON *rfsp = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "rfsp"); @@ -678,14 +678,14 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr ogs_error("OpenAPI_policy_association_request_parseFromJSON() failed [rfsp]"); goto end; } -} + } cJSON *ue_ambr = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "ueAmbr"); OpenAPI_ambr_t *ue_ambr_local_nonprim = NULL; if (ue_ambr) { ue_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(ue_ambr); -} + } cJSON *allowed_snssais = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "allowedSnssais"); @@ -708,7 +708,7 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr OpenAPI_list_add(allowed_snssaisList, allowed_snssaisItem); } -} + } cJSON *mapping_snssais = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "mappingSnssais"); @@ -731,7 +731,7 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr OpenAPI_list_add(mapping_snssaisList, mapping_snssaisItem); } -} + } cJSON *n3g_allowed_snssais = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "n3gAllowedSnssais"); @@ -754,14 +754,14 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr OpenAPI_list_add(n3g_allowed_snssaisList, n3g_allowed_snssaisItem); } -} + } cJSON *guami = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "guami"); OpenAPI_guami_t *guami_local_nonprim = NULL; if (guami) { guami_local_nonprim = OpenAPI_guami_parseFromJSON(guami); -} + } cJSON *service_name = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "serviceName"); @@ -770,14 +770,14 @@ OpenAPI_policy_association_request_t *OpenAPI_policy_association_request_parseFr ogs_error("OpenAPI_policy_association_request_parseFromJSON() failed [service_name]"); goto end; } -} + } cJSON *trace_req = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "traceReq"); OpenAPI_trace_data_t *trace_req_local_nonprim = NULL; if (trace_req) { trace_req_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_req); -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(policy_association_requestJSON, "suppFeat"); if (!supp_feat) { diff --git a/lib/sbi/openapi/model/policy_association_update_request.c b/lib/sbi/openapi/model/policy_association_update_request.c index fce101450..41fd8c6e0 100644 --- a/lib/sbi/openapi/model/policy_association_update_request.c +++ b/lib/sbi/openapi/model/policy_association_update_request.c @@ -406,7 +406,7 @@ OpenAPI_policy_association_update_request_t *OpenAPI_policy_association_update_r ogs_error("OpenAPI_policy_association_update_request_parseFromJSON() failed [notification_uri]"); goto end; } -} + } cJSON *alt_notif_ipv4_addrs = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "altNotifIpv4Addrs"); @@ -426,7 +426,7 @@ OpenAPI_policy_association_update_request_t *OpenAPI_policy_association_update_r } OpenAPI_list_add(alt_notif_ipv4_addrsList , ogs_strdup_or_assert(alt_notif_ipv4_addrs_local->valuestring)); } -} + } cJSON *alt_notif_ipv6_addrs = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "altNotifIpv6Addrs"); @@ -446,7 +446,7 @@ OpenAPI_policy_association_update_request_t *OpenAPI_policy_association_update_r } OpenAPI_list_add(alt_notif_ipv6_addrsList , ogs_strdup_or_assert(alt_notif_ipv6_addrs_local->valuestring)); } -} + } cJSON *alt_notif_fqdns = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "altNotifFqdns"); @@ -466,7 +466,7 @@ OpenAPI_policy_association_update_request_t *OpenAPI_policy_association_update_r } OpenAPI_list_add(alt_notif_fqdnsList , ogs_strdup_or_assert(alt_notif_fqdns_local->valuestring)); } -} + } cJSON *triggers = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "triggers"); @@ -488,21 +488,21 @@ OpenAPI_policy_association_update_request_t *OpenAPI_policy_association_update_r OpenAPI_list_add(triggersList, (void *)OpenAPI_request_trigger_FromString(triggers_local_nonprimitive->valuestring)); } -} + } cJSON *serv_area_res = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "servAreaRes"); OpenAPI_service_area_restriction_t *serv_area_res_local_nonprim = NULL; if (serv_area_res) { serv_area_res_local_nonprim = OpenAPI_service_area_restriction_parseFromJSON(serv_area_res); -} + } cJSON *wl_serv_area_res = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "wlServAreaRes"); OpenAPI_wireline_service_area_restriction_t *wl_serv_area_res_local_nonprim = NULL; if (wl_serv_area_res) { wl_serv_area_res_local_nonprim = OpenAPI_wireline_service_area_restriction_parseFromJSON(wl_serv_area_res); -} + } cJSON *rfsp = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "rfsp"); @@ -511,21 +511,21 @@ OpenAPI_policy_association_update_request_t *OpenAPI_policy_association_update_r ogs_error("OpenAPI_policy_association_update_request_parseFromJSON() failed [rfsp]"); goto end; } -} + } cJSON *smf_sel_info = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "smfSelInfo"); OpenAPI_smf_selection_data_t *smf_sel_info_local_nonprim = NULL; if (smf_sel_info) { smf_sel_info_local_nonprim = OpenAPI_smf_selection_data_parseFromJSON(smf_sel_info); -} + } cJSON *ue_ambr = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "ueAmbr"); OpenAPI_ambr_t *ue_ambr_local_nonprim = NULL; if (ue_ambr) { ue_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(ue_ambr); -} + } cJSON *pra_statuses = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "praStatuses"); @@ -548,14 +548,14 @@ OpenAPI_policy_association_update_request_t *OpenAPI_policy_association_update_r localMapObject->string, OpenAPI_presence_info_parseFromJSON(localMapObject)); OpenAPI_list_add(pra_statusesList , localMapKeyPair); } -} + } cJSON *user_loc = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "userLoc"); OpenAPI_user_location_t *user_loc_local_nonprim = NULL; if (user_loc) { user_loc_local_nonprim = OpenAPI_user_location_parseFromJSON(user_loc); -} + } cJSON *allowed_snssais = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "allowedSnssais"); @@ -578,7 +578,7 @@ OpenAPI_policy_association_update_request_t *OpenAPI_policy_association_update_r OpenAPI_list_add(allowed_snssaisList, allowed_snssaisItem); } -} + } cJSON *mapping_snssais = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "mappingSnssais"); @@ -601,7 +601,7 @@ OpenAPI_policy_association_update_request_t *OpenAPI_policy_association_update_r OpenAPI_list_add(mapping_snssaisList, mapping_snssaisItem); } -} + } cJSON *access_types = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "accessTypes"); @@ -623,7 +623,7 @@ OpenAPI_policy_association_update_request_t *OpenAPI_policy_association_update_r OpenAPI_list_add(access_typesList, (void *)OpenAPI_access_type_FromString(access_types_local_nonprimitive->valuestring)); } -} + } cJSON *rat_types = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "ratTypes"); @@ -645,7 +645,7 @@ OpenAPI_policy_association_update_request_t *OpenAPI_policy_association_update_r OpenAPI_list_add(rat_typesList, (void *)OpenAPI_rat_type_FromString(rat_types_local_nonprimitive->valuestring)); } -} + } cJSON *n3g_allowed_snssais = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "n3gAllowedSnssais"); @@ -668,21 +668,21 @@ OpenAPI_policy_association_update_request_t *OpenAPI_policy_association_update_r OpenAPI_list_add(n3g_allowed_snssaisList, n3g_allowed_snssaisItem); } -} + } cJSON *trace_req = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "traceReq"); OpenAPI_trace_data_t *trace_req_local_nonprim = NULL; if (trace_req) { trace_req_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_req); -} + } cJSON *guami = cJSON_GetObjectItemCaseSensitive(policy_association_update_requestJSON, "guami"); OpenAPI_guami_t *guami_local_nonprim = NULL; if (guami) { guami_local_nonprim = OpenAPI_guami_parseFromJSON(guami); -} + } policy_association_update_request_local_var = OpenAPI_policy_association_update_request_create ( notification_uri ? ogs_strdup_or_assert(notification_uri->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/policy_data_change_notification.c b/lib/sbi/openapi/model/policy_data_change_notification.c index 057d81251..88d65529c 100644 --- a/lib/sbi/openapi/model/policy_data_change_notification.c +++ b/lib/sbi/openapi/model/policy_data_change_notification.c @@ -317,56 +317,56 @@ OpenAPI_policy_data_change_notification_t *OpenAPI_policy_data_change_notificati OpenAPI_am_policy_data_t *am_policy_data_local_nonprim = NULL; if (am_policy_data) { am_policy_data_local_nonprim = OpenAPI_am_policy_data_parseFromJSON(am_policy_data); -} + } cJSON *ue_policy_set = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "uePolicySet"); OpenAPI_ue_policy_set_t *ue_policy_set_local_nonprim = NULL; if (ue_policy_set) { ue_policy_set_local_nonprim = OpenAPI_ue_policy_set_parseFromJSON(ue_policy_set); -} + } cJSON *plmn_ue_policy_set = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "plmnUePolicySet"); OpenAPI_ue_policy_set_t *plmn_ue_policy_set_local_nonprim = NULL; if (plmn_ue_policy_set) { plmn_ue_policy_set_local_nonprim = OpenAPI_ue_policy_set_parseFromJSON(plmn_ue_policy_set); -} + } cJSON *sm_policy_data = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "smPolicyData"); OpenAPI_sm_policy_data_t *sm_policy_data_local_nonprim = NULL; if (sm_policy_data) { sm_policy_data_local_nonprim = OpenAPI_sm_policy_data_parseFromJSON(sm_policy_data); -} + } cJSON *usage_mon_data = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "usageMonData"); OpenAPI_usage_mon_data_t *usage_mon_data_local_nonprim = NULL; if (usage_mon_data) { usage_mon_data_local_nonprim = OpenAPI_usage_mon_data_parseFromJSON(usage_mon_data); -} + } cJSON *sponsor_connectivity_data = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "SponsorConnectivityData"); OpenAPI_sponsor_connectivity_data_t *sponsor_connectivity_data_local_nonprim = NULL; if (sponsor_connectivity_data) { sponsor_connectivity_data_local_nonprim = OpenAPI_sponsor_connectivity_data_parseFromJSON(sponsor_connectivity_data); -} + } cJSON *bdt_data = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "bdtData"); OpenAPI_bdt_data_t *bdt_data_local_nonprim = NULL; if (bdt_data) { bdt_data_local_nonprim = OpenAPI_bdt_data_parseFromJSON(bdt_data); -} + } cJSON *op_spec_data = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "opSpecData"); OpenAPI_operator_specific_data_container_t *op_spec_data_local_nonprim = NULL; if (op_spec_data) { op_spec_data_local_nonprim = OpenAPI_operator_specific_data_container_parseFromJSON(op_spec_data); -} + } cJSON *op_spec_data_map = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "opSpecDataMap"); @@ -389,7 +389,7 @@ OpenAPI_policy_data_change_notification_t *OpenAPI_policy_data_change_notificati localMapObject->string, OpenAPI_operator_specific_data_container_parseFromJSON(localMapObject)); OpenAPI_list_add(op_spec_data_mapList , localMapKeyPair); } -} + } cJSON *ue_id = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "ueId"); @@ -398,7 +398,7 @@ OpenAPI_policy_data_change_notification_t *OpenAPI_policy_data_change_notificati ogs_error("OpenAPI_policy_data_change_notification_parseFromJSON() failed [ue_id]"); goto end; } -} + } cJSON *sponsor_id = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "sponsorId"); @@ -407,7 +407,7 @@ OpenAPI_policy_data_change_notification_t *OpenAPI_policy_data_change_notificati ogs_error("OpenAPI_policy_data_change_notification_parseFromJSON() failed [sponsor_id]"); goto end; } -} + } cJSON *bdt_ref_id = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "bdtRefId"); @@ -416,7 +416,7 @@ OpenAPI_policy_data_change_notification_t *OpenAPI_policy_data_change_notificati ogs_error("OpenAPI_policy_data_change_notification_parseFromJSON() failed [bdt_ref_id]"); goto end; } -} + } cJSON *usage_mon_id = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "usageMonId"); @@ -425,14 +425,14 @@ OpenAPI_policy_data_change_notification_t *OpenAPI_policy_data_change_notificati ogs_error("OpenAPI_policy_data_change_notification_parseFromJSON() failed [usage_mon_id]"); goto end; } -} + } cJSON *plmn_id = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "plmnId"); OpenAPI_plmn_id_1_t *plmn_id_local_nonprim = NULL; if (plmn_id) { plmn_id_local_nonprim = OpenAPI_plmn_id_1_parseFromJSON(plmn_id); -} + } cJSON *del_resources = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "delResources"); @@ -452,7 +452,7 @@ OpenAPI_policy_data_change_notification_t *OpenAPI_policy_data_change_notificati } OpenAPI_list_add(del_resourcesList , ogs_strdup_or_assert(del_resources_local->valuestring)); } -} + } cJSON *notif_id = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "notifId"); @@ -461,7 +461,7 @@ OpenAPI_policy_data_change_notification_t *OpenAPI_policy_data_change_notificati ogs_error("OpenAPI_policy_data_change_notification_parseFromJSON() failed [notif_id]"); goto end; } -} + } cJSON *reported_fragments = cJSON_GetObjectItemCaseSensitive(policy_data_change_notificationJSON, "reportedFragments"); @@ -484,7 +484,7 @@ OpenAPI_policy_data_change_notification_t *OpenAPI_policy_data_change_notificati OpenAPI_list_add(reported_fragmentsList, reported_fragmentsItem); } -} + } policy_data_change_notification_local_var = OpenAPI_policy_data_change_notification_create ( am_policy_data ? am_policy_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/policy_data_subscription.c b/lib/sbi/openapi/model/policy_data_subscription.c index cdbd08166..0cac7ac26 100644 --- a/lib/sbi/openapi/model/policy_data_subscription.c +++ b/lib/sbi/openapi/model/policy_data_subscription.c @@ -144,7 +144,7 @@ OpenAPI_policy_data_subscription_t *OpenAPI_policy_data_subscription_parseFromJS ogs_error("OpenAPI_policy_data_subscription_parseFromJSON() failed [notif_id]"); goto end; } -} + } cJSON *monitored_resource_uris = cJSON_GetObjectItemCaseSensitive(policy_data_subscriptionJSON, "monitoredResourceUris"); if (!monitored_resource_uris) { @@ -190,7 +190,7 @@ OpenAPI_policy_data_subscription_t *OpenAPI_policy_data_subscription_parseFromJS OpenAPI_list_add(mon_res_itemsList, mon_res_itemsItem); } -} + } cJSON *expiry = cJSON_GetObjectItemCaseSensitive(policy_data_subscriptionJSON, "expiry"); @@ -199,7 +199,7 @@ OpenAPI_policy_data_subscription_t *OpenAPI_policy_data_subscription_parseFromJS ogs_error("OpenAPI_policy_data_subscription_parseFromJSON() failed [expiry]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(policy_data_subscriptionJSON, "supportedFeatures"); @@ -208,7 +208,7 @@ OpenAPI_policy_data_subscription_t *OpenAPI_policy_data_subscription_parseFromJS ogs_error("OpenAPI_policy_data_subscription_parseFromJSON() failed [supported_features]"); goto end; } -} + } policy_data_subscription_local_var = OpenAPI_policy_data_subscription_create ( ogs_strdup_or_assert(notification_uri->valuestring), diff --git a/lib/sbi/openapi/model/policy_update.c b/lib/sbi/openapi/model/policy_update.c index d7c8f7c39..dc0257801 100644 --- a/lib/sbi/openapi/model/policy_update.c +++ b/lib/sbi/openapi/model/policy_update.c @@ -201,21 +201,21 @@ OpenAPI_policy_update_t *OpenAPI_policy_update_parseFromJSON(cJSON *policy_updat OpenAPI_list_add(triggersList, (void *)OpenAPI_request_trigger_FromString(triggers_local_nonprimitive->valuestring)); } -} + } cJSON *serv_area_res = cJSON_GetObjectItemCaseSensitive(policy_updateJSON, "servAreaRes"); OpenAPI_service_area_restriction_t *serv_area_res_local_nonprim = NULL; if (serv_area_res) { serv_area_res_local_nonprim = OpenAPI_service_area_restriction_parseFromJSON(serv_area_res); -} + } cJSON *wl_serv_area_res = cJSON_GetObjectItemCaseSensitive(policy_updateJSON, "wlServAreaRes"); OpenAPI_wireline_service_area_restriction_t *wl_serv_area_res_local_nonprim = NULL; if (wl_serv_area_res) { wl_serv_area_res_local_nonprim = OpenAPI_wireline_service_area_restriction_parseFromJSON(wl_serv_area_res); -} + } cJSON *rfsp = cJSON_GetObjectItemCaseSensitive(policy_updateJSON, "rfsp"); @@ -224,21 +224,21 @@ OpenAPI_policy_update_t *OpenAPI_policy_update_parseFromJSON(cJSON *policy_updat ogs_error("OpenAPI_policy_update_parseFromJSON() failed [rfsp]"); goto end; } -} + } cJSON *smf_sel_info = cJSON_GetObjectItemCaseSensitive(policy_updateJSON, "smfSelInfo"); OpenAPI_smf_selection_data_t *smf_sel_info_local_nonprim = NULL; if (smf_sel_info) { smf_sel_info_local_nonprim = OpenAPI_smf_selection_data_parseFromJSON(smf_sel_info); -} + } cJSON *ue_ambr = cJSON_GetObjectItemCaseSensitive(policy_updateJSON, "ueAmbr"); OpenAPI_ambr_t *ue_ambr_local_nonprim = NULL; if (ue_ambr) { ue_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(ue_ambr); -} + } cJSON *pras = cJSON_GetObjectItemCaseSensitive(policy_updateJSON, "pras"); @@ -261,7 +261,7 @@ OpenAPI_policy_update_t *OpenAPI_policy_update_parseFromJSON(cJSON *policy_updat localMapObject->string, OpenAPI_presence_info_rm_parseFromJSON(localMapObject)); OpenAPI_list_add(prasList , localMapKeyPair); } -} + } policy_update_local_var = OpenAPI_policy_update_create ( ogs_strdup_or_assert(resource_uri->valuestring), diff --git a/lib/sbi/openapi/model/pp5g_vn_group_profile_data.c b/lib/sbi/openapi/model/pp5g_vn_group_profile_data.c index 0b526c3ee..001606961 100644 --- a/lib/sbi/openapi/model/pp5g_vn_group_profile_data.c +++ b/lib/sbi/openapi/model/pp5g_vn_group_profile_data.c @@ -89,7 +89,7 @@ OpenAPI_pp5g_vn_group_profile_data_t *OpenAPI_pp5g_vn_group_profile_data_parseFr cJSON *localMapObject = allowed_mtc_providers_local_map; OpenAPI_list_add(allowed_mtc_providersList , localMapKeyPair); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(pp5g_vn_group_profile_dataJSON, "supportedFeatures"); @@ -98,7 +98,7 @@ OpenAPI_pp5g_vn_group_profile_data_t *OpenAPI_pp5g_vn_group_profile_data_parseFr ogs_error("OpenAPI_pp5g_vn_group_profile_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } pp5g_vn_group_profile_data_local_var = OpenAPI_pp5g_vn_group_profile_data_create ( allowed_mtc_providers ? allowed_mtc_providersList : NULL, diff --git a/lib/sbi/openapi/model/pp_active_time.c b/lib/sbi/openapi/model/pp_active_time.c index 32b7a8f37..eb60e3d1b 100644 --- a/lib/sbi/openapi/model/pp_active_time.c +++ b/lib/sbi/openapi/model/pp_active_time.c @@ -126,7 +126,7 @@ OpenAPI_pp_active_time_t *OpenAPI_pp_active_time_parseFromJSON(cJSON *pp_active_ ogs_error("OpenAPI_pp_active_time_parseFromJSON() failed [validity_time]"); goto end; } -} + } cJSON *mtc_provider_information = cJSON_GetObjectItemCaseSensitive(pp_active_timeJSON, "mtcProviderInformation"); @@ -135,7 +135,7 @@ OpenAPI_pp_active_time_t *OpenAPI_pp_active_time_parseFromJSON(cJSON *pp_active_ ogs_error("OpenAPI_pp_active_time_parseFromJSON() failed [mtc_provider_information]"); goto end; } -} + } pp_active_time_local_var = OpenAPI_pp_active_time_create ( active_time->valuedouble, diff --git a/lib/sbi/openapi/model/pp_data.c b/lib/sbi/openapi/model/pp_data.c index 3f1f4c9bd..65cd14aa7 100644 --- a/lib/sbi/openapi/model/pp_data.c +++ b/lib/sbi/openapi/model/pp_data.c @@ -162,7 +162,7 @@ OpenAPI_pp_data_t *OpenAPI_pp_data_parseFromJSON(cJSON *pp_dataJSON) OpenAPI_communication_characteristics_t *communication_characteristics_local_nonprim = NULL; if (communication_characteristics) { communication_characteristics_local_nonprim = OpenAPI_communication_characteristics_parseFromJSON(communication_characteristics); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(pp_dataJSON, "supportedFeatures"); @@ -171,28 +171,28 @@ OpenAPI_pp_data_t *OpenAPI_pp_data_parseFromJSON(cJSON *pp_dataJSON) ogs_error("OpenAPI_pp_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *expected_ue_behaviour_parameters = cJSON_GetObjectItemCaseSensitive(pp_dataJSON, "expectedUeBehaviourParameters"); OpenAPI_expected_ue_behaviour_t *expected_ue_behaviour_parameters_local_nonprim = NULL; if (expected_ue_behaviour_parameters) { expected_ue_behaviour_parameters_local_nonprim = OpenAPI_expected_ue_behaviour_parseFromJSON(expected_ue_behaviour_parameters); -} + } cJSON *ec_restriction = cJSON_GetObjectItemCaseSensitive(pp_dataJSON, "ecRestriction"); OpenAPI_ec_restriction_t *ec_restriction_local_nonprim = NULL; if (ec_restriction) { ec_restriction_local_nonprim = OpenAPI_ec_restriction_parseFromJSON(ec_restriction); -} + } cJSON *acs_info = cJSON_GetObjectItemCaseSensitive(pp_dataJSON, "acsInfo"); OpenAPI_acs_info_rm_t *acs_info_local_nonprim = NULL; if (acs_info) { acs_info_local_nonprim = OpenAPI_acs_info_rm_parseFromJSON(acs_info); -} + } cJSON *stn_sr = cJSON_GetObjectItemCaseSensitive(pp_dataJSON, "stnSr"); @@ -201,21 +201,21 @@ OpenAPI_pp_data_t *OpenAPI_pp_data_parseFromJSON(cJSON *pp_dataJSON) ogs_error("OpenAPI_pp_data_parseFromJSON() failed [stn_sr]"); goto end; } -} + } cJSON *lcs_privacy = cJSON_GetObjectItemCaseSensitive(pp_dataJSON, "lcsPrivacy"); OpenAPI_lcs_privacy_t *lcs_privacy_local_nonprim = NULL; if (lcs_privacy) { lcs_privacy_local_nonprim = OpenAPI_lcs_privacy_parseFromJSON(lcs_privacy); -} + } cJSON *sor_info = cJSON_GetObjectItemCaseSensitive(pp_dataJSON, "sorInfo"); OpenAPI_sor_info_t *sor_info_local_nonprim = NULL; if (sor_info) { sor_info_local_nonprim = OpenAPI_sor_info_parseFromJSON(sor_info); -} + } pp_data_local_var = OpenAPI_pp_data_create ( communication_characteristics ? communication_characteristics_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/pp_dl_packet_count_ext.c b/lib/sbi/openapi/model/pp_dl_packet_count_ext.c index 66ed8f739..4ee77e5e3 100644 --- a/lib/sbi/openapi/model/pp_dl_packet_count_ext.c +++ b/lib/sbi/openapi/model/pp_dl_packet_count_ext.c @@ -107,7 +107,7 @@ OpenAPI_pp_dl_packet_count_ext_t *OpenAPI_pp_dl_packet_count_ext_parseFromJSON(c ogs_error("OpenAPI_pp_dl_packet_count_ext_parseFromJSON() failed [validity_time]"); goto end; } -} + } cJSON *mtc_provider_information = cJSON_GetObjectItemCaseSensitive(pp_dl_packet_count_extJSON, "mtcProviderInformation"); @@ -116,7 +116,7 @@ OpenAPI_pp_dl_packet_count_ext_t *OpenAPI_pp_dl_packet_count_ext_parseFromJSON(c ogs_error("OpenAPI_pp_dl_packet_count_ext_parseFromJSON() failed [mtc_provider_information]"); goto end; } -} + } pp_dl_packet_count_ext_local_var = OpenAPI_pp_dl_packet_count_ext_create ( ogs_strdup_or_assert(af_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/pp_maximum_latency.c b/lib/sbi/openapi/model/pp_maximum_latency.c index b6fbe4475..018430080 100644 --- a/lib/sbi/openapi/model/pp_maximum_latency.c +++ b/lib/sbi/openapi/model/pp_maximum_latency.c @@ -126,7 +126,7 @@ OpenAPI_pp_maximum_latency_t *OpenAPI_pp_maximum_latency_parseFromJSON(cJSON *pp ogs_error("OpenAPI_pp_maximum_latency_parseFromJSON() failed [validity_time]"); goto end; } -} + } cJSON *mtc_provider_information = cJSON_GetObjectItemCaseSensitive(pp_maximum_latencyJSON, "mtcProviderInformation"); @@ -135,7 +135,7 @@ OpenAPI_pp_maximum_latency_t *OpenAPI_pp_maximum_latency_parseFromJSON(cJSON *pp ogs_error("OpenAPI_pp_maximum_latency_parseFromJSON() failed [mtc_provider_information]"); goto end; } -} + } pp_maximum_latency_local_var = OpenAPI_pp_maximum_latency_create ( maximum_latency->valuedouble, diff --git a/lib/sbi/openapi/model/pp_maximum_response_time.c b/lib/sbi/openapi/model/pp_maximum_response_time.c index 2c47f1c64..fc12462d4 100644 --- a/lib/sbi/openapi/model/pp_maximum_response_time.c +++ b/lib/sbi/openapi/model/pp_maximum_response_time.c @@ -126,7 +126,7 @@ OpenAPI_pp_maximum_response_time_t *OpenAPI_pp_maximum_response_time_parseFromJS ogs_error("OpenAPI_pp_maximum_response_time_parseFromJSON() failed [validity_time]"); goto end; } -} + } cJSON *mtc_provider_information = cJSON_GetObjectItemCaseSensitive(pp_maximum_response_timeJSON, "mtcProviderInformation"); @@ -135,7 +135,7 @@ OpenAPI_pp_maximum_response_time_t *OpenAPI_pp_maximum_response_time_parseFromJS ogs_error("OpenAPI_pp_maximum_response_time_parseFromJSON() failed [mtc_provider_information]"); goto end; } -} + } pp_maximum_response_time_local_var = OpenAPI_pp_maximum_response_time_create ( maximum_response_time->valuedouble, diff --git a/lib/sbi/openapi/model/pp_profile_data.c b/lib/sbi/openapi/model/pp_profile_data.c index c2d78b57d..849392c37 100644 --- a/lib/sbi/openapi/model/pp_profile_data.c +++ b/lib/sbi/openapi/model/pp_profile_data.c @@ -89,7 +89,7 @@ OpenAPI_pp_profile_data_t *OpenAPI_pp_profile_data_parseFromJSON(cJSON *pp_profi cJSON *localMapObject = allowed_mtc_providers_local_map; OpenAPI_list_add(allowed_mtc_providersList , localMapKeyPair); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(pp_profile_dataJSON, "supportedFeatures"); @@ -98,7 +98,7 @@ OpenAPI_pp_profile_data_t *OpenAPI_pp_profile_data_parseFromJSON(cJSON *pp_profi ogs_error("OpenAPI_pp_profile_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } pp_profile_data_local_var = OpenAPI_pp_profile_data_create ( allowed_mtc_providers ? allowed_mtc_providersList : NULL, diff --git a/lib/sbi/openapi/model/pp_subs_reg_timer.c b/lib/sbi/openapi/model/pp_subs_reg_timer.c index f2ee94518..28327a1a5 100644 --- a/lib/sbi/openapi/model/pp_subs_reg_timer.c +++ b/lib/sbi/openapi/model/pp_subs_reg_timer.c @@ -126,7 +126,7 @@ OpenAPI_pp_subs_reg_timer_t *OpenAPI_pp_subs_reg_timer_parseFromJSON(cJSON *pp_s ogs_error("OpenAPI_pp_subs_reg_timer_parseFromJSON() failed [validity_time]"); goto end; } -} + } cJSON *mtc_provider_information = cJSON_GetObjectItemCaseSensitive(pp_subs_reg_timerJSON, "mtcProviderInformation"); @@ -135,7 +135,7 @@ OpenAPI_pp_subs_reg_timer_t *OpenAPI_pp_subs_reg_timer_parseFromJSON(cJSON *pp_s ogs_error("OpenAPI_pp_subs_reg_timer_parseFromJSON() failed [mtc_provider_information]"); goto end; } -} + } pp_subs_reg_timer_local_var = OpenAPI_pp_subs_reg_timer_create ( subs_reg_timer->valuedouble, diff --git a/lib/sbi/openapi/model/preferred_search.c b/lib/sbi/openapi/model/preferred_search.c index e058c3049..d30e3c5e9 100644 --- a/lib/sbi/openapi/model/preferred_search.c +++ b/lib/sbi/openapi/model/preferred_search.c @@ -102,7 +102,7 @@ OpenAPI_preferred_search_t *OpenAPI_preferred_search_parseFromJSON(cJSON *prefer ogs_error("OpenAPI_preferred_search_parseFromJSON() failed [preferred_tai_match_ind]"); goto end; } -} + } cJSON *preferred_full_plmn_match_ind = cJSON_GetObjectItemCaseSensitive(preferred_searchJSON, "preferredFullPlmnMatchInd"); @@ -111,7 +111,7 @@ OpenAPI_preferred_search_t *OpenAPI_preferred_search_parseFromJSON(cJSON *prefer ogs_error("OpenAPI_preferred_search_parseFromJSON() failed [preferred_full_plmn_match_ind]"); goto end; } -} + } cJSON *preferred_api_versions_match_ind = cJSON_GetObjectItemCaseSensitive(preferred_searchJSON, "preferredApiVersionsMatchInd"); @@ -120,7 +120,7 @@ OpenAPI_preferred_search_t *OpenAPI_preferred_search_parseFromJSON(cJSON *prefer ogs_error("OpenAPI_preferred_search_parseFromJSON() failed [preferred_api_versions_match_ind]"); goto end; } -} + } cJSON *other_api_versions_ind = cJSON_GetObjectItemCaseSensitive(preferred_searchJSON, "otherApiVersionsInd"); @@ -129,7 +129,7 @@ OpenAPI_preferred_search_t *OpenAPI_preferred_search_parseFromJSON(cJSON *prefer ogs_error("OpenAPI_preferred_search_parseFromJSON() failed [other_api_versions_ind]"); goto end; } -} + } cJSON *preferred_locality_match_ind = cJSON_GetObjectItemCaseSensitive(preferred_searchJSON, "preferredLocalityMatchInd"); @@ -138,7 +138,7 @@ OpenAPI_preferred_search_t *OpenAPI_preferred_search_parseFromJSON(cJSON *prefer ogs_error("OpenAPI_preferred_search_parseFromJSON() failed [preferred_locality_match_ind]"); goto end; } -} + } cJSON *other_locality_ind = cJSON_GetObjectItemCaseSensitive(preferred_searchJSON, "otherLocalityInd"); @@ -147,7 +147,7 @@ OpenAPI_preferred_search_t *OpenAPI_preferred_search_parseFromJSON(cJSON *prefer ogs_error("OpenAPI_preferred_search_parseFromJSON() failed [other_locality_ind]"); goto end; } -} + } preferred_search_local_var = OpenAPI_preferred_search_create ( preferred_tai_match_ind ? preferred_tai_match_ind->valueint : 0, diff --git a/lib/sbi/openapi/model/presence_info.c b/lib/sbi/openapi/model/presence_info.c index 4518835f6..02d28ab82 100644 --- a/lib/sbi/openapi/model/presence_info.c +++ b/lib/sbi/openapi/model/presence_info.c @@ -207,7 +207,7 @@ OpenAPI_presence_info_t *OpenAPI_presence_info_parseFromJSON(cJSON *presence_inf ogs_error("OpenAPI_presence_info_parseFromJSON() failed [pra_id]"); goto end; } -} + } cJSON *additional_pra_id = cJSON_GetObjectItemCaseSensitive(presence_infoJSON, "additionalPraId"); @@ -216,7 +216,7 @@ OpenAPI_presence_info_t *OpenAPI_presence_info_parseFromJSON(cJSON *presence_inf ogs_error("OpenAPI_presence_info_parseFromJSON() failed [additional_pra_id]"); goto end; } -} + } cJSON *presence_state = cJSON_GetObjectItemCaseSensitive(presence_infoJSON, "presenceState"); @@ -227,7 +227,7 @@ OpenAPI_presence_info_t *OpenAPI_presence_info_parseFromJSON(cJSON *presence_inf goto end; } presence_stateVariable = OpenAPI_presence_state_FromString(presence_state->valuestring); -} + } cJSON *tracking_area_list = cJSON_GetObjectItemCaseSensitive(presence_infoJSON, "trackingAreaList"); @@ -250,7 +250,7 @@ OpenAPI_presence_info_t *OpenAPI_presence_info_parseFromJSON(cJSON *presence_inf OpenAPI_list_add(tracking_area_listList, tracking_area_listItem); } -} + } cJSON *ecgi_list = cJSON_GetObjectItemCaseSensitive(presence_infoJSON, "ecgiList"); @@ -273,7 +273,7 @@ OpenAPI_presence_info_t *OpenAPI_presence_info_parseFromJSON(cJSON *presence_inf OpenAPI_list_add(ecgi_listList, ecgi_listItem); } -} + } cJSON *ncgi_list = cJSON_GetObjectItemCaseSensitive(presence_infoJSON, "ncgiList"); @@ -296,7 +296,7 @@ OpenAPI_presence_info_t *OpenAPI_presence_info_parseFromJSON(cJSON *presence_inf OpenAPI_list_add(ncgi_listList, ncgi_listItem); } -} + } cJSON *global_ran_node_id_list = cJSON_GetObjectItemCaseSensitive(presence_infoJSON, "globalRanNodeIdList"); @@ -319,7 +319,7 @@ OpenAPI_presence_info_t *OpenAPI_presence_info_parseFromJSON(cJSON *presence_inf OpenAPI_list_add(global_ran_node_id_listList, global_ran_node_id_listItem); } -} + } cJSON *globale_nb_id_list = cJSON_GetObjectItemCaseSensitive(presence_infoJSON, "globaleNbIdList"); @@ -342,7 +342,7 @@ OpenAPI_presence_info_t *OpenAPI_presence_info_parseFromJSON(cJSON *presence_inf OpenAPI_list_add(globale_nb_id_listList, globale_nb_id_listItem); } -} + } presence_info_local_var = OpenAPI_presence_info_create ( pra_id ? ogs_strdup_or_assert(pra_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/presence_info_rm.c b/lib/sbi/openapi/model/presence_info_rm.c index 0b7153424..5f61e456b 100644 --- a/lib/sbi/openapi/model/presence_info_rm.c +++ b/lib/sbi/openapi/model/presence_info_rm.c @@ -207,7 +207,7 @@ OpenAPI_presence_info_rm_t *OpenAPI_presence_info_rm_parseFromJSON(cJSON *presen ogs_error("OpenAPI_presence_info_rm_parseFromJSON() failed [pra_id]"); goto end; } -} + } cJSON *additional_pra_id = cJSON_GetObjectItemCaseSensitive(presence_info_rmJSON, "additionalPraId"); @@ -216,7 +216,7 @@ OpenAPI_presence_info_rm_t *OpenAPI_presence_info_rm_parseFromJSON(cJSON *presen ogs_error("OpenAPI_presence_info_rm_parseFromJSON() failed [additional_pra_id]"); goto end; } -} + } cJSON *presence_state = cJSON_GetObjectItemCaseSensitive(presence_info_rmJSON, "presenceState"); @@ -227,7 +227,7 @@ OpenAPI_presence_info_rm_t *OpenAPI_presence_info_rm_parseFromJSON(cJSON *presen goto end; } presence_stateVariable = OpenAPI_presence_state_FromString(presence_state->valuestring); -} + } cJSON *tracking_area_list = cJSON_GetObjectItemCaseSensitive(presence_info_rmJSON, "trackingAreaList"); @@ -250,7 +250,7 @@ OpenAPI_presence_info_rm_t *OpenAPI_presence_info_rm_parseFromJSON(cJSON *presen OpenAPI_list_add(tracking_area_listList, tracking_area_listItem); } -} + } cJSON *ecgi_list = cJSON_GetObjectItemCaseSensitive(presence_info_rmJSON, "ecgiList"); @@ -273,7 +273,7 @@ OpenAPI_presence_info_rm_t *OpenAPI_presence_info_rm_parseFromJSON(cJSON *presen OpenAPI_list_add(ecgi_listList, ecgi_listItem); } -} + } cJSON *ncgi_list = cJSON_GetObjectItemCaseSensitive(presence_info_rmJSON, "ncgiList"); @@ -296,7 +296,7 @@ OpenAPI_presence_info_rm_t *OpenAPI_presence_info_rm_parseFromJSON(cJSON *presen OpenAPI_list_add(ncgi_listList, ncgi_listItem); } -} + } cJSON *global_ran_node_id_list = cJSON_GetObjectItemCaseSensitive(presence_info_rmJSON, "globalRanNodeIdList"); @@ -319,7 +319,7 @@ OpenAPI_presence_info_rm_t *OpenAPI_presence_info_rm_parseFromJSON(cJSON *presen OpenAPI_list_add(global_ran_node_id_listList, global_ran_node_id_listItem); } -} + } cJSON *globale_nb_id_list = cJSON_GetObjectItemCaseSensitive(presence_info_rmJSON, "globaleNbIdList"); @@ -342,7 +342,7 @@ OpenAPI_presence_info_rm_t *OpenAPI_presence_info_rm_parseFromJSON(cJSON *presen OpenAPI_list_add(globale_nb_id_listList, globale_nb_id_listItem); } -} + } presence_info_rm_local_var = OpenAPI_presence_info_rm_create ( pra_id ? ogs_strdup_or_assert(pra_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/problem_details.c b/lib/sbi/openapi/model/problem_details.c index 1892d8834..dc1a0c399 100644 --- a/lib/sbi/openapi/model/problem_details.c +++ b/lib/sbi/openapi/model/problem_details.c @@ -185,7 +185,7 @@ OpenAPI_problem_details_t *OpenAPI_problem_details_parseFromJSON(cJSON *problem_ ogs_error("OpenAPI_problem_details_parseFromJSON() failed [type]"); goto end; } -} + } cJSON *title = cJSON_GetObjectItemCaseSensitive(problem_detailsJSON, "title"); @@ -194,7 +194,7 @@ OpenAPI_problem_details_t *OpenAPI_problem_details_parseFromJSON(cJSON *problem_ ogs_error("OpenAPI_problem_details_parseFromJSON() failed [title]"); goto end; } -} + } cJSON *status = cJSON_GetObjectItemCaseSensitive(problem_detailsJSON, "status"); @@ -203,7 +203,7 @@ OpenAPI_problem_details_t *OpenAPI_problem_details_parseFromJSON(cJSON *problem_ ogs_error("OpenAPI_problem_details_parseFromJSON() failed [status]"); goto end; } -} + } cJSON *detail = cJSON_GetObjectItemCaseSensitive(problem_detailsJSON, "detail"); @@ -212,7 +212,7 @@ OpenAPI_problem_details_t *OpenAPI_problem_details_parseFromJSON(cJSON *problem_ ogs_error("OpenAPI_problem_details_parseFromJSON() failed [detail]"); goto end; } -} + } cJSON *instance = cJSON_GetObjectItemCaseSensitive(problem_detailsJSON, "instance"); @@ -221,7 +221,7 @@ OpenAPI_problem_details_t *OpenAPI_problem_details_parseFromJSON(cJSON *problem_ ogs_error("OpenAPI_problem_details_parseFromJSON() failed [instance]"); goto end; } -} + } cJSON *cause = cJSON_GetObjectItemCaseSensitive(problem_detailsJSON, "cause"); @@ -230,7 +230,7 @@ OpenAPI_problem_details_t *OpenAPI_problem_details_parseFromJSON(cJSON *problem_ ogs_error("OpenAPI_problem_details_parseFromJSON() failed [cause]"); goto end; } -} + } cJSON *invalid_params = cJSON_GetObjectItemCaseSensitive(problem_detailsJSON, "invalidParams"); @@ -253,7 +253,7 @@ OpenAPI_problem_details_t *OpenAPI_problem_details_parseFromJSON(cJSON *problem_ OpenAPI_list_add(invalid_paramsList, invalid_paramsItem); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(problem_detailsJSON, "supportedFeatures"); @@ -262,21 +262,21 @@ OpenAPI_problem_details_t *OpenAPI_problem_details_parseFromJSON(cJSON *problem_ ogs_error("OpenAPI_problem_details_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *access_token_error = cJSON_GetObjectItemCaseSensitive(problem_detailsJSON, "accessTokenError"); OpenAPI_access_token_err_t *access_token_error_local_nonprim = NULL; if (access_token_error) { access_token_error_local_nonprim = OpenAPI_access_token_err_parseFromJSON(access_token_error); -} + } cJSON *access_token_request = cJSON_GetObjectItemCaseSensitive(problem_detailsJSON, "accessTokenRequest"); OpenAPI_access_token_req_t *access_token_request_local_nonprim = NULL; if (access_token_request) { access_token_request_local_nonprim = OpenAPI_access_token_req_parseFromJSON(access_token_request); -} + } cJSON *nrf_id = cJSON_GetObjectItemCaseSensitive(problem_detailsJSON, "nrfId"); @@ -285,7 +285,7 @@ OpenAPI_problem_details_t *OpenAPI_problem_details_parseFromJSON(cJSON *problem_ ogs_error("OpenAPI_problem_details_parseFromJSON() failed [nrf_id]"); goto end; } -} + } problem_details_local_var = OpenAPI_problem_details_create ( type ? ogs_strdup_or_assert(type->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/problem_details_1.c b/lib/sbi/openapi/model/problem_details_1.c index 7da22c569..166a63c84 100644 --- a/lib/sbi/openapi/model/problem_details_1.c +++ b/lib/sbi/openapi/model/problem_details_1.c @@ -185,7 +185,7 @@ OpenAPI_problem_details_1_t *OpenAPI_problem_details_1_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_1_parseFromJSON() failed [type]"); goto end; } -} + } cJSON *title = cJSON_GetObjectItemCaseSensitive(problem_details_1JSON, "title"); @@ -194,7 +194,7 @@ OpenAPI_problem_details_1_t *OpenAPI_problem_details_1_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_1_parseFromJSON() failed [title]"); goto end; } -} + } cJSON *status = cJSON_GetObjectItemCaseSensitive(problem_details_1JSON, "status"); @@ -203,7 +203,7 @@ OpenAPI_problem_details_1_t *OpenAPI_problem_details_1_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_1_parseFromJSON() failed [status]"); goto end; } -} + } cJSON *detail = cJSON_GetObjectItemCaseSensitive(problem_details_1JSON, "detail"); @@ -212,7 +212,7 @@ OpenAPI_problem_details_1_t *OpenAPI_problem_details_1_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_1_parseFromJSON() failed [detail]"); goto end; } -} + } cJSON *instance = cJSON_GetObjectItemCaseSensitive(problem_details_1JSON, "instance"); @@ -221,7 +221,7 @@ OpenAPI_problem_details_1_t *OpenAPI_problem_details_1_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_1_parseFromJSON() failed [instance]"); goto end; } -} + } cJSON *cause = cJSON_GetObjectItemCaseSensitive(problem_details_1JSON, "cause"); @@ -230,7 +230,7 @@ OpenAPI_problem_details_1_t *OpenAPI_problem_details_1_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_1_parseFromJSON() failed [cause]"); goto end; } -} + } cJSON *invalid_params = cJSON_GetObjectItemCaseSensitive(problem_details_1JSON, "invalidParams"); @@ -253,7 +253,7 @@ OpenAPI_problem_details_1_t *OpenAPI_problem_details_1_parseFromJSON(cJSON *prob OpenAPI_list_add(invalid_paramsList, invalid_paramsItem); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(problem_details_1JSON, "supportedFeatures"); @@ -262,21 +262,21 @@ OpenAPI_problem_details_1_t *OpenAPI_problem_details_1_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_1_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *access_token_error = cJSON_GetObjectItemCaseSensitive(problem_details_1JSON, "accessTokenError"); OpenAPI_access_token_err_t *access_token_error_local_nonprim = NULL; if (access_token_error) { access_token_error_local_nonprim = OpenAPI_access_token_err_parseFromJSON(access_token_error); -} + } cJSON *access_token_request = cJSON_GetObjectItemCaseSensitive(problem_details_1JSON, "accessTokenRequest"); OpenAPI_access_token_req_t *access_token_request_local_nonprim = NULL; if (access_token_request) { access_token_request_local_nonprim = OpenAPI_access_token_req_parseFromJSON(access_token_request); -} + } cJSON *nrf_id = cJSON_GetObjectItemCaseSensitive(problem_details_1JSON, "nrfId"); @@ -285,7 +285,7 @@ OpenAPI_problem_details_1_t *OpenAPI_problem_details_1_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_1_parseFromJSON() failed [nrf_id]"); goto end; } -} + } problem_details_1_local_var = OpenAPI_problem_details_1_create ( type ? ogs_strdup_or_assert(type->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/problem_details_2.c b/lib/sbi/openapi/model/problem_details_2.c index 9606d4965..3c8920a56 100644 --- a/lib/sbi/openapi/model/problem_details_2.c +++ b/lib/sbi/openapi/model/problem_details_2.c @@ -133,7 +133,7 @@ OpenAPI_problem_details_2_t *OpenAPI_problem_details_2_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_2_parseFromJSON() failed [type]"); goto end; } -} + } cJSON *title = cJSON_GetObjectItemCaseSensitive(problem_details_2JSON, "title"); @@ -142,7 +142,7 @@ OpenAPI_problem_details_2_t *OpenAPI_problem_details_2_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_2_parseFromJSON() failed [title]"); goto end; } -} + } cJSON *status = cJSON_GetObjectItemCaseSensitive(problem_details_2JSON, "status"); @@ -151,7 +151,7 @@ OpenAPI_problem_details_2_t *OpenAPI_problem_details_2_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_2_parseFromJSON() failed [status]"); goto end; } -} + } cJSON *detail = cJSON_GetObjectItemCaseSensitive(problem_details_2JSON, "detail"); @@ -160,7 +160,7 @@ OpenAPI_problem_details_2_t *OpenAPI_problem_details_2_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_2_parseFromJSON() failed [detail]"); goto end; } -} + } cJSON *instance = cJSON_GetObjectItemCaseSensitive(problem_details_2JSON, "instance"); @@ -169,7 +169,7 @@ OpenAPI_problem_details_2_t *OpenAPI_problem_details_2_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_2_parseFromJSON() failed [instance]"); goto end; } -} + } cJSON *cause = cJSON_GetObjectItemCaseSensitive(problem_details_2JSON, "cause"); @@ -178,7 +178,7 @@ OpenAPI_problem_details_2_t *OpenAPI_problem_details_2_parseFromJSON(cJSON *prob ogs_error("OpenAPI_problem_details_2_parseFromJSON() failed [cause]"); goto end; } -} + } cJSON *invalid_params = cJSON_GetObjectItemCaseSensitive(problem_details_2JSON, "invalidParams"); @@ -201,7 +201,7 @@ OpenAPI_problem_details_2_t *OpenAPI_problem_details_2_parseFromJSON(cJSON *prob OpenAPI_list_add(invalid_paramsList, invalid_paramsItem); } -} + } problem_details_2_local_var = OpenAPI_problem_details_2_create ( type ? ogs_strdup_or_assert(type->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/problem_details_add_info.c b/lib/sbi/openapi/model/problem_details_add_info.c index bfa41dfd0..a0761e785 100644 --- a/lib/sbi/openapi/model/problem_details_add_info.c +++ b/lib/sbi/openapi/model/problem_details_add_info.c @@ -57,7 +57,7 @@ OpenAPI_problem_details_add_info_t *OpenAPI_problem_details_add_info_parseFromJS ogs_error("OpenAPI_problem_details_add_info_parseFromJSON() failed [remote_error]"); goto end; } -} + } problem_details_add_info_local_var = OpenAPI_problem_details_add_info_create ( remote_error ? remote_error->valueint : 0 diff --git a/lib/sbi/openapi/model/provisioned_data_sets.c b/lib/sbi/openapi/model/provisioned_data_sets.c index 13d70873a..a2c5283a8 100644 --- a/lib/sbi/openapi/model/provisioned_data_sets.c +++ b/lib/sbi/openapi/model/provisioned_data_sets.c @@ -216,21 +216,21 @@ OpenAPI_provisioned_data_sets_t *OpenAPI_provisioned_data_sets_parseFromJSON(cJS OpenAPI_access_and_mobility_subscription_data_t *am_data_local_nonprim = NULL; if (am_data) { am_data_local_nonprim = OpenAPI_access_and_mobility_subscription_data_parseFromJSON(am_data); -} + } cJSON *smf_sel_data = cJSON_GetObjectItemCaseSensitive(provisioned_data_setsJSON, "smfSelData"); OpenAPI_smf_selection_subscription_data_t *smf_sel_data_local_nonprim = NULL; if (smf_sel_data) { smf_sel_data_local_nonprim = OpenAPI_smf_selection_subscription_data_parseFromJSON(smf_sel_data); -} + } cJSON *sms_subs_data = cJSON_GetObjectItemCaseSensitive(provisioned_data_setsJSON, "smsSubsData"); OpenAPI_sms_subscription_data_t *sms_subs_data_local_nonprim = NULL; if (sms_subs_data) { sms_subs_data_local_nonprim = OpenAPI_sms_subscription_data_parseFromJSON(sms_subs_data); -} + } cJSON *sm_data = cJSON_GetObjectItemCaseSensitive(provisioned_data_setsJSON, "smData"); @@ -253,49 +253,49 @@ OpenAPI_provisioned_data_sets_t *OpenAPI_provisioned_data_sets_parseFromJSON(cJS OpenAPI_list_add(sm_dataList, sm_dataItem); } -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(provisioned_data_setsJSON, "traceData"); OpenAPI_trace_data_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data); -} + } cJSON *sms_mng_data = cJSON_GetObjectItemCaseSensitive(provisioned_data_setsJSON, "smsMngData"); OpenAPI_sms_management_subscription_data_t *sms_mng_data_local_nonprim = NULL; if (sms_mng_data) { sms_mng_data_local_nonprim = OpenAPI_sms_management_subscription_data_parseFromJSON(sms_mng_data); -} + } cJSON *lcs_privacy_data = cJSON_GetObjectItemCaseSensitive(provisioned_data_setsJSON, "lcsPrivacyData"); OpenAPI_lcs_privacy_data_t *lcs_privacy_data_local_nonprim = NULL; if (lcs_privacy_data) { lcs_privacy_data_local_nonprim = OpenAPI_lcs_privacy_data_parseFromJSON(lcs_privacy_data); -} + } cJSON *lcs_mo_data = cJSON_GetObjectItemCaseSensitive(provisioned_data_setsJSON, "lcsMoData"); OpenAPI_lcs_mo_data_t *lcs_mo_data_local_nonprim = NULL; if (lcs_mo_data) { lcs_mo_data_local_nonprim = OpenAPI_lcs_mo_data_parseFromJSON(lcs_mo_data); -} + } cJSON *lcs_bca_data = cJSON_GetObjectItemCaseSensitive(provisioned_data_setsJSON, "lcsBcaData"); OpenAPI_lcs_broadcast_assistance_types_data_t *lcs_bca_data_local_nonprim = NULL; if (lcs_bca_data) { lcs_bca_data_local_nonprim = OpenAPI_lcs_broadcast_assistance_types_data_parseFromJSON(lcs_bca_data); -} + } cJSON *v2x_data = cJSON_GetObjectItemCaseSensitive(provisioned_data_setsJSON, "v2xData"); OpenAPI_v2x_subscription_data_t *v2x_data_local_nonprim = NULL; if (v2x_data) { v2x_data_local_nonprim = OpenAPI_v2x_subscription_data_parseFromJSON(v2x_data); -} + } provisioned_data_sets_local_var = OpenAPI_provisioned_data_sets_create ( am_data ? am_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/psa_information.c b/lib/sbi/openapi/model/psa_information.c index 0666e9532..de4aa5fe2 100644 --- a/lib/sbi/openapi/model/psa_information.c +++ b/lib/sbi/openapi/model/psa_information.c @@ -101,7 +101,7 @@ OpenAPI_psa_information_t *OpenAPI_psa_information_parseFromJSON(cJSON *psa_info goto end; } psa_indVariable = OpenAPI_psa_indication_FromString(psa_ind->valuestring); -} + } cJSON *dnai_list = cJSON_GetObjectItemCaseSensitive(psa_informationJSON, "dnaiList"); @@ -121,7 +121,7 @@ OpenAPI_psa_information_t *OpenAPI_psa_information_parseFromJSON(cJSON *psa_info } OpenAPI_list_add(dnai_listList , ogs_strdup_or_assert(dnai_list_local->valuestring)); } -} + } cJSON *ue_ipv6_prefix = cJSON_GetObjectItemCaseSensitive(psa_informationJSON, "ueIpv6Prefix"); @@ -130,7 +130,7 @@ OpenAPI_psa_information_t *OpenAPI_psa_information_parseFromJSON(cJSON *psa_info ogs_error("OpenAPI_psa_information_parseFromJSON() failed [ue_ipv6_prefix]"); goto end; } -} + } cJSON *psa_upf_id = cJSON_GetObjectItemCaseSensitive(psa_informationJSON, "psaUpfId"); @@ -139,7 +139,7 @@ OpenAPI_psa_information_t *OpenAPI_psa_information_parseFromJSON(cJSON *psa_info ogs_error("OpenAPI_psa_information_parseFromJSON() failed [psa_upf_id]"); goto end; } -} + } psa_information_local_var = OpenAPI_psa_information_create ( psa_ind ? psa_indVariable : 0, diff --git a/lib/sbi/openapi/model/pws_information.c b/lib/sbi/openapi/model/pws_information.c index 5ad23287f..98cb1b557 100644 --- a/lib/sbi/openapi/model/pws_information.c +++ b/lib/sbi/openapi/model/pws_information.c @@ -169,7 +169,7 @@ OpenAPI_pws_information_t *OpenAPI_pws_information_parseFromJSON(cJSON *pws_info OpenAPI_list_add(bc_empty_area_listList, bc_empty_area_listItem); } -} + } cJSON *send_ran_response = cJSON_GetObjectItemCaseSensitive(pws_informationJSON, "sendRanResponse"); @@ -178,7 +178,7 @@ OpenAPI_pws_information_t *OpenAPI_pws_information_parseFromJSON(cJSON *pws_info ogs_error("OpenAPI_pws_information_parseFromJSON() failed [send_ran_response]"); goto end; } -} + } cJSON *omc_id = cJSON_GetObjectItemCaseSensitive(pws_informationJSON, "omcId"); @@ -187,7 +187,7 @@ OpenAPI_pws_information_t *OpenAPI_pws_information_parseFromJSON(cJSON *pws_info ogs_error("OpenAPI_pws_information_parseFromJSON() failed [omc_id]"); goto end; } -} + } pws_information_local_var = OpenAPI_pws_information_create ( message_identifier->valuedouble, diff --git a/lib/sbi/openapi/model/pws_response_data.c b/lib/sbi/openapi/model/pws_response_data.c index d02ea37ca..0cb751a46 100644 --- a/lib/sbi/openapi/model/pws_response_data.c +++ b/lib/sbi/openapi/model/pws_response_data.c @@ -145,7 +145,7 @@ OpenAPI_pws_response_data_t *OpenAPI_pws_response_data_parseFromJSON(cJSON *pws_ OpenAPI_list_add(unknown_tai_listList, unknown_tai_listItem); } -} + } pws_response_data_local_var = OpenAPI_pws_response_data_create ( ngap_message_type->valuedouble, diff --git a/lib/sbi/openapi/model/qos_characteristics.c b/lib/sbi/openapi/model/qos_characteristics.c index d80200816..8a8103da2 100644 --- a/lib/sbi/openapi/model/qos_characteristics.c +++ b/lib/sbi/openapi/model/qos_characteristics.c @@ -173,7 +173,7 @@ OpenAPI_qos_characteristics_t *OpenAPI_qos_characteristics_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_characteristics_parseFromJSON() failed [averaging_window]"); goto end; } -} + } cJSON *max_data_burst_vol = cJSON_GetObjectItemCaseSensitive(qos_characteristicsJSON, "maxDataBurstVol"); @@ -182,7 +182,7 @@ OpenAPI_qos_characteristics_t *OpenAPI_qos_characteristics_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_characteristics_parseFromJSON() failed [max_data_burst_vol]"); goto end; } -} + } cJSON *ext_max_data_burst_vol = cJSON_GetObjectItemCaseSensitive(qos_characteristicsJSON, "extMaxDataBurstVol"); @@ -191,7 +191,7 @@ OpenAPI_qos_characteristics_t *OpenAPI_qos_characteristics_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_characteristics_parseFromJSON() failed [ext_max_data_burst_vol]"); goto end; } -} + } qos_characteristics_local_var = OpenAPI_qos_characteristics_create ( _5qi->valuedouble, diff --git a/lib/sbi/openapi/model/qos_data.c b/lib/sbi/openapi/model/qos_data.c index de69ccf16..3ce0221b1 100644 --- a/lib/sbi/openapi/model/qos_data.c +++ b/lib/sbi/openapi/model/qos_data.c @@ -253,7 +253,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [_5qi]"); goto end; } -} + } cJSON *maxbr_ul = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "maxbrUl"); @@ -262,7 +262,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [maxbr_ul]"); goto end; } -} + } cJSON *maxbr_dl = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "maxbrDl"); @@ -271,7 +271,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [maxbr_dl]"); goto end; } -} + } cJSON *gbr_ul = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "gbrUl"); @@ -280,7 +280,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [gbr_ul]"); goto end; } -} + } cJSON *gbr_dl = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "gbrDl"); @@ -289,14 +289,14 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [gbr_dl]"); goto end; } -} + } cJSON *arp = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "arp"); OpenAPI_arp_t *arp_local_nonprim = NULL; if (arp) { arp_local_nonprim = OpenAPI_arp_parseFromJSON(arp); -} + } cJSON *qnc = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "qnc"); @@ -305,7 +305,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [qnc]"); goto end; } -} + } cJSON *priority_level = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "priorityLevel"); @@ -314,7 +314,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [priority_level]"); goto end; } -} + } cJSON *aver_window = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "averWindow"); @@ -323,7 +323,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [aver_window]"); goto end; } -} + } cJSON *max_data_burst_vol = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "maxDataBurstVol"); @@ -332,7 +332,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [max_data_burst_vol]"); goto end; } -} + } cJSON *reflective_qos = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "reflectiveQos"); @@ -341,7 +341,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [reflective_qos]"); goto end; } -} + } cJSON *sharing_key_dl = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "sharingKeyDl"); @@ -350,7 +350,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [sharing_key_dl]"); goto end; } -} + } cJSON *sharing_key_ul = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "sharingKeyUl"); @@ -359,7 +359,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [sharing_key_ul]"); goto end; } -} + } cJSON *max_packet_loss_rate_dl = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "maxPacketLossRateDl"); @@ -368,7 +368,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [max_packet_loss_rate_dl]"); goto end; } -} + } cJSON *max_packet_loss_rate_ul = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "maxPacketLossRateUl"); @@ -377,7 +377,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [max_packet_loss_rate_ul]"); goto end; } -} + } cJSON *def_qos_flow_indication = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "defQosFlowIndication"); @@ -386,7 +386,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [def_qos_flow_indication]"); goto end; } -} + } cJSON *ext_max_data_burst_vol = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "extMaxDataBurstVol"); @@ -395,7 +395,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [ext_max_data_burst_vol]"); goto end; } -} + } cJSON *packet_delay_budget = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "packetDelayBudget"); @@ -404,7 +404,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [packet_delay_budget]"); goto end; } -} + } cJSON *packet_error_rate = cJSON_GetObjectItemCaseSensitive(qos_dataJSON, "packetErrorRate"); @@ -413,7 +413,7 @@ OpenAPI_qos_data_t *OpenAPI_qos_data_parseFromJSON(cJSON *qos_dataJSON) ogs_error("OpenAPI_qos_data_parseFromJSON() failed [packet_error_rate]"); goto end; } -} + } qos_data_local_var = OpenAPI_qos_data_create ( ogs_strdup_or_assert(qos_id->valuestring), diff --git a/lib/sbi/openapi/model/qos_flow_add_modify_request_item.c b/lib/sbi/openapi/model/qos_flow_add_modify_request_item.c index dde1f7964..76891b9cf 100644 --- a/lib/sbi/openapi/model/qos_flow_add_modify_request_item.c +++ b/lib/sbi/openapi/model/qos_flow_add_modify_request_item.c @@ -119,7 +119,7 @@ OpenAPI_qos_flow_add_modify_request_item_t *OpenAPI_qos_flow_add_modify_request_ ogs_error("OpenAPI_qos_flow_add_modify_request_item_parseFromJSON() failed [ebi]"); goto end; } -} + } cJSON *qos_rules = cJSON_GetObjectItemCaseSensitive(qos_flow_add_modify_request_itemJSON, "qosRules"); @@ -128,7 +128,7 @@ OpenAPI_qos_flow_add_modify_request_item_t *OpenAPI_qos_flow_add_modify_request_ ogs_error("OpenAPI_qos_flow_add_modify_request_item_parseFromJSON() failed [qos_rules]"); goto end; } -} + } cJSON *qos_flow_description = cJSON_GetObjectItemCaseSensitive(qos_flow_add_modify_request_itemJSON, "qosFlowDescription"); @@ -137,14 +137,14 @@ OpenAPI_qos_flow_add_modify_request_item_t *OpenAPI_qos_flow_add_modify_request_ ogs_error("OpenAPI_qos_flow_add_modify_request_item_parseFromJSON() failed [qos_flow_description]"); goto end; } -} + } cJSON *qos_flow_profile = cJSON_GetObjectItemCaseSensitive(qos_flow_add_modify_request_itemJSON, "qosFlowProfile"); OpenAPI_qos_flow_profile_t *qos_flow_profile_local_nonprim = NULL; if (qos_flow_profile) { qos_flow_profile_local_nonprim = OpenAPI_qos_flow_profile_parseFromJSON(qos_flow_profile); -} + } cJSON *associated_an_type = cJSON_GetObjectItemCaseSensitive(qos_flow_add_modify_request_itemJSON, "associatedAnType"); @@ -155,7 +155,7 @@ OpenAPI_qos_flow_add_modify_request_item_t *OpenAPI_qos_flow_add_modify_request_ goto end; } associated_an_typeVariable = OpenAPI_qos_flow_access_type_FromString(associated_an_type->valuestring); -} + } qos_flow_add_modify_request_item_local_var = OpenAPI_qos_flow_add_modify_request_item_create ( qfi->valuedouble, diff --git a/lib/sbi/openapi/model/qos_flow_item.c b/lib/sbi/openapi/model/qos_flow_item.c index c715d8e19..7e1e893ab 100644 --- a/lib/sbi/openapi/model/qos_flow_item.c +++ b/lib/sbi/openapi/model/qos_flow_item.c @@ -96,7 +96,7 @@ OpenAPI_qos_flow_item_t *OpenAPI_qos_flow_item_parseFromJSON(cJSON *qos_flow_ite goto end; } causeVariable = OpenAPI_cause_FromString(cause->valuestring); -} + } cJSON *current_qos_profile_index = cJSON_GetObjectItemCaseSensitive(qos_flow_itemJSON, "currentQosProfileIndex"); @@ -105,7 +105,7 @@ OpenAPI_qos_flow_item_t *OpenAPI_qos_flow_item_parseFromJSON(cJSON *qos_flow_ite ogs_error("OpenAPI_qos_flow_item_parseFromJSON() failed [current_qos_profile_index]"); goto end; } -} + } cJSON *null_qo_s_profile_index = cJSON_GetObjectItemCaseSensitive(qos_flow_itemJSON, "nullQoSProfileIndex"); @@ -114,7 +114,7 @@ OpenAPI_qos_flow_item_t *OpenAPI_qos_flow_item_parseFromJSON(cJSON *qos_flow_ite ogs_error("OpenAPI_qos_flow_item_parseFromJSON() failed [null_qo_s_profile_index]"); goto end; } -} + } qos_flow_item_local_var = OpenAPI_qos_flow_item_create ( qfi->valuedouble, diff --git a/lib/sbi/openapi/model/qos_flow_notify_item.c b/lib/sbi/openapi/model/qos_flow_notify_item.c index 75c312aaa..7d4700af9 100644 --- a/lib/sbi/openapi/model/qos_flow_notify_item.c +++ b/lib/sbi/openapi/model/qos_flow_notify_item.c @@ -106,7 +106,7 @@ OpenAPI_qos_flow_notify_item_t *OpenAPI_qos_flow_notify_item_parseFromJSON(cJSON ogs_error("OpenAPI_qos_flow_notify_item_parseFromJSON() failed [current_qos_profile_index]"); goto end; } -} + } cJSON *null_qo_s_profile_index = cJSON_GetObjectItemCaseSensitive(qos_flow_notify_itemJSON, "nullQoSProfileIndex"); @@ -115,7 +115,7 @@ OpenAPI_qos_flow_notify_item_t *OpenAPI_qos_flow_notify_item_parseFromJSON(cJSON ogs_error("OpenAPI_qos_flow_notify_item_parseFromJSON() failed [null_qo_s_profile_index]"); goto end; } -} + } qos_flow_notify_item_local_var = OpenAPI_qos_flow_notify_item_create ( qfi->valuedouble, diff --git a/lib/sbi/openapi/model/qos_flow_profile.c b/lib/sbi/openapi/model/qos_flow_profile.c index 514921a1a..d451e43f1 100644 --- a/lib/sbi/openapi/model/qos_flow_profile.c +++ b/lib/sbi/openapi/model/qos_flow_profile.c @@ -165,28 +165,28 @@ OpenAPI_qos_flow_profile_t *OpenAPI_qos_flow_profile_parseFromJSON(cJSON *qos_fl OpenAPI_non_dynamic5_qi_t *non_dynamic5_qi_local_nonprim = NULL; if (non_dynamic5_qi) { non_dynamic5_qi_local_nonprim = OpenAPI_non_dynamic5_qi_parseFromJSON(non_dynamic5_qi); -} + } cJSON *dynamic5_qi = cJSON_GetObjectItemCaseSensitive(qos_flow_profileJSON, "dynamic5Qi"); OpenAPI_dynamic5_qi_t *dynamic5_qi_local_nonprim = NULL; if (dynamic5_qi) { dynamic5_qi_local_nonprim = OpenAPI_dynamic5_qi_parseFromJSON(dynamic5_qi); -} + } cJSON *arp = cJSON_GetObjectItemCaseSensitive(qos_flow_profileJSON, "arp"); OpenAPI_arp_t *arp_local_nonprim = NULL; if (arp) { arp_local_nonprim = OpenAPI_arp_parseFromJSON(arp); -} + } cJSON *gbr_qos_flow_info = cJSON_GetObjectItemCaseSensitive(qos_flow_profileJSON, "gbrQosFlowInfo"); OpenAPI_gbr_qos_flow_information_t *gbr_qos_flow_info_local_nonprim = NULL; if (gbr_qos_flow_info) { gbr_qos_flow_info_local_nonprim = OpenAPI_gbr_qos_flow_information_parseFromJSON(gbr_qos_flow_info); -} + } cJSON *rqa = cJSON_GetObjectItemCaseSensitive(qos_flow_profileJSON, "rqa"); @@ -197,7 +197,7 @@ OpenAPI_qos_flow_profile_t *OpenAPI_qos_flow_profile_parseFromJSON(cJSON *qos_fl goto end; } rqaVariable = OpenAPI_reflective_qo_s_attribute_FromString(rqa->valuestring); -} + } cJSON *additional_qos_flow_info = cJSON_GetObjectItemCaseSensitive(qos_flow_profileJSON, "additionalQosFlowInfo"); @@ -208,7 +208,7 @@ OpenAPI_qos_flow_profile_t *OpenAPI_qos_flow_profile_parseFromJSON(cJSON *qos_fl goto end; } additional_qos_flow_infoVariable = OpenAPI_additional_qos_flow_info_FromString(additional_qos_flow_info->valuestring); -} + } cJSON *qos_monitoring_req = cJSON_GetObjectItemCaseSensitive(qos_flow_profileJSON, "qosMonitoringReq"); @@ -219,7 +219,7 @@ OpenAPI_qos_flow_profile_t *OpenAPI_qos_flow_profile_parseFromJSON(cJSON *qos_fl goto end; } qos_monitoring_reqVariable = OpenAPI_qos_monitoring_req_FromString(qos_monitoring_req->valuestring); -} + } cJSON *qos_rep_period = cJSON_GetObjectItemCaseSensitive(qos_flow_profileJSON, "qosRepPeriod"); @@ -228,7 +228,7 @@ OpenAPI_qos_flow_profile_t *OpenAPI_qos_flow_profile_parseFromJSON(cJSON *qos_fl ogs_error("OpenAPI_qos_flow_profile_parseFromJSON() failed [qos_rep_period]"); goto end; } -} + } qos_flow_profile_local_var = OpenAPI_qos_flow_profile_create ( _5qi->valuedouble, diff --git a/lib/sbi/openapi/model/qos_flow_release_request_item.c b/lib/sbi/openapi/model/qos_flow_release_request_item.c index c4ee212e6..c8bc70f64 100644 --- a/lib/sbi/openapi/model/qos_flow_release_request_item.c +++ b/lib/sbi/openapi/model/qos_flow_release_request_item.c @@ -85,7 +85,7 @@ OpenAPI_qos_flow_release_request_item_t *OpenAPI_qos_flow_release_request_item_p ogs_error("OpenAPI_qos_flow_release_request_item_parseFromJSON() failed [qos_rules]"); goto end; } -} + } cJSON *qos_flow_description = cJSON_GetObjectItemCaseSensitive(qos_flow_release_request_itemJSON, "qosFlowDescription"); @@ -94,7 +94,7 @@ OpenAPI_qos_flow_release_request_item_t *OpenAPI_qos_flow_release_request_item_p ogs_error("OpenAPI_qos_flow_release_request_item_parseFromJSON() failed [qos_flow_description]"); goto end; } -} + } qos_flow_release_request_item_local_var = OpenAPI_qos_flow_release_request_item_create ( qfi->valuedouble, diff --git a/lib/sbi/openapi/model/qos_flow_setup_item.c b/lib/sbi/openapi/model/qos_flow_setup_item.c index 129bc9d44..32bb26b93 100644 --- a/lib/sbi/openapi/model/qos_flow_setup_item.c +++ b/lib/sbi/openapi/model/qos_flow_setup_item.c @@ -129,7 +129,7 @@ OpenAPI_qos_flow_setup_item_t *OpenAPI_qos_flow_setup_item_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_flow_setup_item_parseFromJSON() failed [ebi]"); goto end; } -} + } cJSON *qos_flow_description = cJSON_GetObjectItemCaseSensitive(qos_flow_setup_itemJSON, "qosFlowDescription"); @@ -138,14 +138,14 @@ OpenAPI_qos_flow_setup_item_t *OpenAPI_qos_flow_setup_item_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_flow_setup_item_parseFromJSON() failed [qos_flow_description]"); goto end; } -} + } cJSON *qos_flow_profile = cJSON_GetObjectItemCaseSensitive(qos_flow_setup_itemJSON, "qosFlowProfile"); OpenAPI_qos_flow_profile_t *qos_flow_profile_local_nonprim = NULL; if (qos_flow_profile) { qos_flow_profile_local_nonprim = OpenAPI_qos_flow_profile_parseFromJSON(qos_flow_profile); -} + } cJSON *associated_an_type = cJSON_GetObjectItemCaseSensitive(qos_flow_setup_itemJSON, "associatedAnType"); @@ -156,7 +156,7 @@ OpenAPI_qos_flow_setup_item_t *OpenAPI_qos_flow_setup_item_parseFromJSON(cJSON * goto end; } associated_an_typeVariable = OpenAPI_qos_flow_access_type_FromString(associated_an_type->valuestring); -} + } qos_flow_setup_item_local_var = OpenAPI_qos_flow_setup_item_create ( qfi->valuedouble, diff --git a/lib/sbi/openapi/model/qos_monitoring_data.c b/lib/sbi/openapi/model/qos_monitoring_data.c index 07a780ddd..2f8f07b44 100644 --- a/lib/sbi/openapi/model/qos_monitoring_data.c +++ b/lib/sbi/openapi/model/qos_monitoring_data.c @@ -215,7 +215,7 @@ OpenAPI_qos_monitoring_data_t *OpenAPI_qos_monitoring_data_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_monitoring_data_parseFromJSON() failed [rep_thresh_dl]"); goto end; } -} + } cJSON *rep_thresh_ul = cJSON_GetObjectItemCaseSensitive(qos_monitoring_dataJSON, "repThreshUl"); @@ -224,7 +224,7 @@ OpenAPI_qos_monitoring_data_t *OpenAPI_qos_monitoring_data_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_monitoring_data_parseFromJSON() failed [rep_thresh_ul]"); goto end; } -} + } cJSON *rep_thresh_rp = cJSON_GetObjectItemCaseSensitive(qos_monitoring_dataJSON, "repThreshRp"); @@ -233,7 +233,7 @@ OpenAPI_qos_monitoring_data_t *OpenAPI_qos_monitoring_data_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_monitoring_data_parseFromJSON() failed [rep_thresh_rp]"); goto end; } -} + } cJSON *wait_time = cJSON_GetObjectItemCaseSensitive(qos_monitoring_dataJSON, "waitTime"); @@ -242,7 +242,7 @@ OpenAPI_qos_monitoring_data_t *OpenAPI_qos_monitoring_data_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_monitoring_data_parseFromJSON() failed [wait_time]"); goto end; } -} + } cJSON *rep_period = cJSON_GetObjectItemCaseSensitive(qos_monitoring_dataJSON, "repPeriod"); @@ -251,7 +251,7 @@ OpenAPI_qos_monitoring_data_t *OpenAPI_qos_monitoring_data_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_monitoring_data_parseFromJSON() failed [rep_period]"); goto end; } -} + } cJSON *notify_uri = cJSON_GetObjectItemCaseSensitive(qos_monitoring_dataJSON, "notifyUri"); @@ -260,7 +260,7 @@ OpenAPI_qos_monitoring_data_t *OpenAPI_qos_monitoring_data_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_monitoring_data_parseFromJSON() failed [notify_uri]"); goto end; } -} + } cJSON *notify_corre_id = cJSON_GetObjectItemCaseSensitive(qos_monitoring_dataJSON, "notifyCorreId"); @@ -269,7 +269,7 @@ OpenAPI_qos_monitoring_data_t *OpenAPI_qos_monitoring_data_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_monitoring_data_parseFromJSON() failed [notify_corre_id]"); goto end; } -} + } qos_monitoring_data_local_var = OpenAPI_qos_monitoring_data_create ( ogs_strdup_or_assert(qm_id->valuestring), diff --git a/lib/sbi/openapi/model/qos_monitoring_info.c b/lib/sbi/openapi/model/qos_monitoring_info.c index b807d39d0..be9ce46ad 100644 --- a/lib/sbi/openapi/model/qos_monitoring_info.c +++ b/lib/sbi/openapi/model/qos_monitoring_info.c @@ -57,7 +57,7 @@ OpenAPI_qos_monitoring_info_t *OpenAPI_qos_monitoring_info_parseFromJSON(cJSON * ogs_error("OpenAPI_qos_monitoring_info_parseFromJSON() failed [qos_monitoring_ind]"); goto end; } -} + } qos_monitoring_info_local_var = OpenAPI_qos_monitoring_info_create ( qos_monitoring_ind ? qos_monitoring_ind->valueint : 0 diff --git a/lib/sbi/openapi/model/qos_monitoring_information.c b/lib/sbi/openapi/model/qos_monitoring_information.c index d83ccb170..fa4e3e1e5 100644 --- a/lib/sbi/openapi/model/qos_monitoring_information.c +++ b/lib/sbi/openapi/model/qos_monitoring_information.c @@ -75,7 +75,7 @@ OpenAPI_qos_monitoring_information_t *OpenAPI_qos_monitoring_information_parseFr ogs_error("OpenAPI_qos_monitoring_information_parseFromJSON() failed [rep_thresh_dl]"); goto end; } -} + } cJSON *rep_thresh_ul = cJSON_GetObjectItemCaseSensitive(qos_monitoring_informationJSON, "repThreshUl"); @@ -84,7 +84,7 @@ OpenAPI_qos_monitoring_information_t *OpenAPI_qos_monitoring_information_parseFr ogs_error("OpenAPI_qos_monitoring_information_parseFromJSON() failed [rep_thresh_ul]"); goto end; } -} + } cJSON *rep_thresh_rp = cJSON_GetObjectItemCaseSensitive(qos_monitoring_informationJSON, "repThreshRp"); @@ -93,7 +93,7 @@ OpenAPI_qos_monitoring_information_t *OpenAPI_qos_monitoring_information_parseFr ogs_error("OpenAPI_qos_monitoring_information_parseFromJSON() failed [rep_thresh_rp]"); goto end; } -} + } qos_monitoring_information_local_var = OpenAPI_qos_monitoring_information_create ( rep_thresh_dl ? rep_thresh_dl->valuedouble : 0, diff --git a/lib/sbi/openapi/model/qos_monitoring_information_rm.c b/lib/sbi/openapi/model/qos_monitoring_information_rm.c index 435703264..12050ad6c 100644 --- a/lib/sbi/openapi/model/qos_monitoring_information_rm.c +++ b/lib/sbi/openapi/model/qos_monitoring_information_rm.c @@ -75,7 +75,7 @@ OpenAPI_qos_monitoring_information_rm_t *OpenAPI_qos_monitoring_information_rm_p ogs_error("OpenAPI_qos_monitoring_information_rm_parseFromJSON() failed [rep_thresh_dl]"); goto end; } -} + } cJSON *rep_thresh_ul = cJSON_GetObjectItemCaseSensitive(qos_monitoring_information_rmJSON, "repThreshUl"); @@ -84,7 +84,7 @@ OpenAPI_qos_monitoring_information_rm_t *OpenAPI_qos_monitoring_information_rm_p ogs_error("OpenAPI_qos_monitoring_information_rm_parseFromJSON() failed [rep_thresh_ul]"); goto end; } -} + } cJSON *rep_thresh_rp = cJSON_GetObjectItemCaseSensitive(qos_monitoring_information_rmJSON, "repThreshRp"); @@ -93,7 +93,7 @@ OpenAPI_qos_monitoring_information_rm_t *OpenAPI_qos_monitoring_information_rm_p ogs_error("OpenAPI_qos_monitoring_information_rm_parseFromJSON() failed [rep_thresh_rp]"); goto end; } -} + } qos_monitoring_information_rm_local_var = OpenAPI_qos_monitoring_information_rm_create ( rep_thresh_dl ? rep_thresh_dl->valuedouble : 0, diff --git a/lib/sbi/openapi/model/qos_monitoring_report.c b/lib/sbi/openapi/model/qos_monitoring_report.c index af9980f12..721de7cf2 100644 --- a/lib/sbi/openapi/model/qos_monitoring_report.c +++ b/lib/sbi/openapi/model/qos_monitoring_report.c @@ -154,7 +154,7 @@ OpenAPI_qos_monitoring_report_t *OpenAPI_qos_monitoring_report_parseFromJSON(cJS OpenAPI_list_add(flowsList, flowsItem); } -} + } cJSON *ul_delays = cJSON_GetObjectItemCaseSensitive(qos_monitoring_reportJSON, "ulDelays"); @@ -174,7 +174,7 @@ OpenAPI_qos_monitoring_report_t *OpenAPI_qos_monitoring_report_parseFromJSON(cJS } OpenAPI_list_add(ul_delaysList , &ul_delays_local->valuedouble); } -} + } cJSON *dl_delays = cJSON_GetObjectItemCaseSensitive(qos_monitoring_reportJSON, "dlDelays"); @@ -194,7 +194,7 @@ OpenAPI_qos_monitoring_report_t *OpenAPI_qos_monitoring_report_parseFromJSON(cJS } OpenAPI_list_add(dl_delaysList , &dl_delays_local->valuedouble); } -} + } cJSON *rt_delays = cJSON_GetObjectItemCaseSensitive(qos_monitoring_reportJSON, "rtDelays"); @@ -214,7 +214,7 @@ OpenAPI_qos_monitoring_report_t *OpenAPI_qos_monitoring_report_parseFromJSON(cJS } OpenAPI_list_add(rt_delaysList , &rt_delays_local->valuedouble); } -} + } qos_monitoring_report_local_var = OpenAPI_qos_monitoring_report_create ( flows ? flowsList : NULL, diff --git a/lib/sbi/openapi/model/qos_notification_control_info.c b/lib/sbi/openapi/model/qos_notification_control_info.c index 1aa1a36de..1936e9d7d 100644 --- a/lib/sbi/openapi/model/qos_notification_control_info.c +++ b/lib/sbi/openapi/model/qos_notification_control_info.c @@ -119,7 +119,7 @@ OpenAPI_qos_notification_control_info_t *OpenAPI_qos_notification_control_info_p OpenAPI_list_add(flowsList, flowsItem); } -} + } cJSON *alt_ser_req = cJSON_GetObjectItemCaseSensitive(qos_notification_control_infoJSON, "altSerReq"); @@ -128,7 +128,7 @@ OpenAPI_qos_notification_control_info_t *OpenAPI_qos_notification_control_info_p ogs_error("OpenAPI_qos_notification_control_info_parseFromJSON() failed [alt_ser_req]"); goto end; } -} + } qos_notification_control_info_local_var = OpenAPI_qos_notification_control_info_create ( notif_typeVariable, diff --git a/lib/sbi/openapi/model/ran_nas_rel_cause.c b/lib/sbi/openapi/model/ran_nas_rel_cause.c index 7602873ac..5d8732e7e 100644 --- a/lib/sbi/openapi/model/ran_nas_rel_cause.c +++ b/lib/sbi/openapi/model/ran_nas_rel_cause.c @@ -90,7 +90,7 @@ OpenAPI_ran_nas_rel_cause_t *OpenAPI_ran_nas_rel_cause_parseFromJSON(cJSON *ran_ OpenAPI_ng_ap_cause_t *ng_ap_cause_local_nonprim = NULL; if (ng_ap_cause) { ng_ap_cause_local_nonprim = OpenAPI_ng_ap_cause_parseFromJSON(ng_ap_cause); -} + } cJSON *_5g_mm_cause = cJSON_GetObjectItemCaseSensitive(ran_nas_rel_causeJSON, "5gMmCause"); @@ -99,7 +99,7 @@ OpenAPI_ran_nas_rel_cause_t *OpenAPI_ran_nas_rel_cause_parseFromJSON(cJSON *ran_ ogs_error("OpenAPI_ran_nas_rel_cause_parseFromJSON() failed [_5g_mm_cause]"); goto end; } -} + } cJSON *_5g_sm_cause = cJSON_GetObjectItemCaseSensitive(ran_nas_rel_causeJSON, "5gSmCause"); @@ -108,7 +108,7 @@ OpenAPI_ran_nas_rel_cause_t *OpenAPI_ran_nas_rel_cause_parseFromJSON(cJSON *ran_ ogs_error("OpenAPI_ran_nas_rel_cause_parseFromJSON() failed [_5g_sm_cause]"); goto end; } -} + } cJSON *eps_cause = cJSON_GetObjectItemCaseSensitive(ran_nas_rel_causeJSON, "epsCause"); @@ -117,7 +117,7 @@ OpenAPI_ran_nas_rel_cause_t *OpenAPI_ran_nas_rel_cause_parseFromJSON(cJSON *ran_ ogs_error("OpenAPI_ran_nas_rel_cause_parseFromJSON() failed [eps_cause]"); goto end; } -} + } ran_nas_rel_cause_local_var = OpenAPI_ran_nas_rel_cause_create ( ng_ap_cause ? ng_ap_cause_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/redirect_information.c b/lib/sbi/openapi/model/redirect_information.c index 0f010724e..79ff06efb 100644 --- a/lib/sbi/openapi/model/redirect_information.c +++ b/lib/sbi/openapi/model/redirect_information.c @@ -76,7 +76,7 @@ OpenAPI_redirect_information_t *OpenAPI_redirect_information_parseFromJSON(cJSON ogs_error("OpenAPI_redirect_information_parseFromJSON() failed [redirect_enabled]"); goto end; } -} + } cJSON *redirect_address_type = cJSON_GetObjectItemCaseSensitive(redirect_informationJSON, "redirectAddressType"); @@ -87,7 +87,7 @@ OpenAPI_redirect_information_t *OpenAPI_redirect_information_parseFromJSON(cJSON goto end; } redirect_address_typeVariable = OpenAPI_redirect_address_type_FromString(redirect_address_type->valuestring); -} + } cJSON *redirect_server_address = cJSON_GetObjectItemCaseSensitive(redirect_informationJSON, "redirectServerAddress"); @@ -96,7 +96,7 @@ OpenAPI_redirect_information_t *OpenAPI_redirect_information_parseFromJSON(cJSON ogs_error("OpenAPI_redirect_information_parseFromJSON() failed [redirect_server_address]"); goto end; } -} + } redirect_information_local_var = OpenAPI_redirect_information_create ( redirect_enabled ? redirect_enabled->valueint : 0, diff --git a/lib/sbi/openapi/model/redirect_response.c b/lib/sbi/openapi/model/redirect_response.c index e9ecf157c..820a624d3 100644 --- a/lib/sbi/openapi/model/redirect_response.c +++ b/lib/sbi/openapi/model/redirect_response.c @@ -68,7 +68,7 @@ OpenAPI_redirect_response_t *OpenAPI_redirect_response_parseFromJSON(cJSON *redi ogs_error("OpenAPI_redirect_response_parseFromJSON() failed [cause]"); goto end; } -} + } cJSON *target_scp = cJSON_GetObjectItemCaseSensitive(redirect_responseJSON, "targetScp"); @@ -77,7 +77,7 @@ OpenAPI_redirect_response_t *OpenAPI_redirect_response_parseFromJSON(cJSON *redi ogs_error("OpenAPI_redirect_response_parseFromJSON() failed [target_scp]"); goto end; } -} + } redirect_response_local_var = OpenAPI_redirect_response_create ( cause ? ogs_strdup_or_assert(cause->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/registration_context_container.c b/lib/sbi/openapi/model/registration_context_container.c index b49e81e05..e510ae172 100644 --- a/lib/sbi/openapi/model/registration_context_container.c +++ b/lib/sbi/openapi/model/registration_context_container.c @@ -356,7 +356,7 @@ OpenAPI_registration_context_container_t *OpenAPI_registration_context_container ogs_error("OpenAPI_registration_context_container_parseFromJSON() failed [local_time_zone]"); goto end; } -} + } cJSON *an_type = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "anType"); if (!an_type) { @@ -423,7 +423,7 @@ OpenAPI_registration_context_container_t *OpenAPI_registration_context_container ogs_error("OpenAPI_registration_context_container_parseFromJSON() failed [rrc_est_cause]"); goto end; } -} + } cJSON *ue_context_request = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "ueContextRequest"); @@ -432,7 +432,7 @@ OpenAPI_registration_context_container_t *OpenAPI_registration_context_container ogs_error("OpenAPI_registration_context_container_parseFromJSON() failed [ue_context_request]"); goto end; } -} + } cJSON *initial_amf_n2_ap_id = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "initialAmfN2ApId"); @@ -441,7 +441,7 @@ OpenAPI_registration_context_container_t *OpenAPI_registration_context_container ogs_error("OpenAPI_registration_context_container_parseFromJSON() failed [initial_amf_n2_ap_id]"); goto end; } -} + } cJSON *an_n2_ipv4_addr = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "anN2IPv4Addr"); @@ -450,7 +450,7 @@ OpenAPI_registration_context_container_t *OpenAPI_registration_context_container ogs_error("OpenAPI_registration_context_container_parseFromJSON() failed [an_n2_ipv4_addr]"); goto end; } -} + } cJSON *an_n2_ipv6_addr = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "anN2IPv6Addr"); @@ -459,14 +459,14 @@ OpenAPI_registration_context_container_t *OpenAPI_registration_context_container ogs_error("OpenAPI_registration_context_container_parseFromJSON() failed [an_n2_ipv6_addr]"); goto end; } -} + } cJSON *allowed_nssai = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "allowedNssai"); OpenAPI_allowed_nssai_t *allowed_nssai_local_nonprim = NULL; if (allowed_nssai) { allowed_nssai_local_nonprim = OpenAPI_allowed_nssai_parseFromJSON(allowed_nssai); -} + } cJSON *configured_nssai = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "configuredNssai"); @@ -489,7 +489,7 @@ OpenAPI_registration_context_container_t *OpenAPI_registration_context_container OpenAPI_list_add(configured_nssaiList, configured_nssaiItem); } -} + } cJSON *rejected_nssai_in_plmn = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "rejectedNssaiInPlmn"); @@ -512,7 +512,7 @@ OpenAPI_registration_context_container_t *OpenAPI_registration_context_container OpenAPI_list_add(rejected_nssai_in_plmnList, rejected_nssai_in_plmnItem); } -} + } cJSON *rejected_nssai_in_ta = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "rejectedNssaiInTa"); @@ -535,14 +535,14 @@ OpenAPI_registration_context_container_t *OpenAPI_registration_context_container OpenAPI_list_add(rejected_nssai_in_taList, rejected_nssai_in_taItem); } -} + } cJSON *selected_plmn_id = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "selectedPlmnId"); OpenAPI_plmn_id_t *selected_plmn_id_local_nonprim = NULL; if (selected_plmn_id) { selected_plmn_id_local_nonprim = OpenAPI_plmn_id_parseFromJSON(selected_plmn_id); -} + } cJSON *iab_node_ind = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "iabNodeInd"); @@ -551,21 +551,21 @@ OpenAPI_registration_context_container_t *OpenAPI_registration_context_container ogs_error("OpenAPI_registration_context_container_parseFromJSON() failed [iab_node_ind]"); goto end; } -} + } cJSON *ce_mode_b_ind = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "ceModeBInd"); OpenAPI_ce_mode_b_ind_t *ce_mode_b_ind_local_nonprim = NULL; if (ce_mode_b_ind) { ce_mode_b_ind_local_nonprim = OpenAPI_ce_mode_b_ind_parseFromJSON(ce_mode_b_ind); -} + } cJSON *lte_m_ind = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "lteMInd"); OpenAPI_lte_m_ind_t *lte_m_ind_local_nonprim = NULL; if (lte_m_ind) { lte_m_ind_local_nonprim = OpenAPI_lte_m_ind_parseFromJSON(lte_m_ind); -} + } cJSON *authenticated_ind = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "authenticatedInd"); @@ -574,14 +574,14 @@ OpenAPI_registration_context_container_t *OpenAPI_registration_context_container ogs_error("OpenAPI_registration_context_container_parseFromJSON() failed [authenticated_ind]"); goto end; } -} + } cJSON *npn_access_info = cJSON_GetObjectItemCaseSensitive(registration_context_containerJSON, "npnAccessInfo"); OpenAPI_npn_access_info_t *npn_access_info_local_nonprim = NULL; if (npn_access_info) { npn_access_info_local_nonprim = OpenAPI_npn_access_info_parseFromJSON(npn_access_info); -} + } registration_context_container_local_var = OpenAPI_registration_context_container_create ( ue_context_local_nonprim, diff --git a/lib/sbi/openapi/model/registration_data_sets.c b/lib/sbi/openapi/model/registration_data_sets.c index 7e25b4088..404ac85ca 100644 --- a/lib/sbi/openapi/model/registration_data_sets.c +++ b/lib/sbi/openapi/model/registration_data_sets.c @@ -126,35 +126,35 @@ OpenAPI_registration_data_sets_t *OpenAPI_registration_data_sets_parseFromJSON(c OpenAPI_amf3_gpp_access_registration_t *amf3_gpp_local_nonprim = NULL; if (amf3_gpp) { amf3_gpp_local_nonprim = OpenAPI_amf3_gpp_access_registration_parseFromJSON(amf3_gpp); -} + } cJSON *amf_non3_gpp = cJSON_GetObjectItemCaseSensitive(registration_data_setsJSON, "amfNon3Gpp"); OpenAPI_amf_non3_gpp_access_registration_t *amf_non3_gpp_local_nonprim = NULL; if (amf_non3_gpp) { amf_non3_gpp_local_nonprim = OpenAPI_amf_non3_gpp_access_registration_parseFromJSON(amf_non3_gpp); -} + } cJSON *smf_registration = cJSON_GetObjectItemCaseSensitive(registration_data_setsJSON, "smfRegistration"); OpenAPI_smf_registration_info_t *smf_registration_local_nonprim = NULL; if (smf_registration) { smf_registration_local_nonprim = OpenAPI_smf_registration_info_parseFromJSON(smf_registration); -} + } cJSON *smsf3_gpp = cJSON_GetObjectItemCaseSensitive(registration_data_setsJSON, "smsf3Gpp"); OpenAPI_smsf_registration_t *smsf3_gpp_local_nonprim = NULL; if (smsf3_gpp) { smsf3_gpp_local_nonprim = OpenAPI_smsf_registration_parseFromJSON(smsf3_gpp); -} + } cJSON *smsf_non3_gpp = cJSON_GetObjectItemCaseSensitive(registration_data_setsJSON, "smsfNon3Gpp"); OpenAPI_smsf_registration_t *smsf_non3_gpp_local_nonprim = NULL; if (smsf_non3_gpp) { smsf_non3_gpp_local_nonprim = OpenAPI_smsf_registration_parseFromJSON(smsf_non3_gpp); -} + } registration_data_sets_local_var = OpenAPI_registration_data_sets_create ( amf3_gpp ? amf3_gpp_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/registration_location_info.c b/lib/sbi/openapi/model/registration_location_info.c index 9e12397f4..42235cdf4 100644 --- a/lib/sbi/openapi/model/registration_location_info.c +++ b/lib/sbi/openapi/model/registration_location_info.c @@ -114,14 +114,14 @@ OpenAPI_registration_location_info_t *OpenAPI_registration_location_info_parseFr OpenAPI_plmn_id_t *plmn_id_local_nonprim = NULL; if (plmn_id) { plmn_id_local_nonprim = OpenAPI_plmn_id_parseFromJSON(plmn_id); -} + } cJSON *vgmlc_address = cJSON_GetObjectItemCaseSensitive(registration_location_infoJSON, "vgmlcAddress"); OpenAPI_vgmlc_address_t *vgmlc_address_local_nonprim = NULL; if (vgmlc_address) { vgmlc_address_local_nonprim = OpenAPI_vgmlc_address_parseFromJSON(vgmlc_address); -} + } cJSON *access_type_list = cJSON_GetObjectItemCaseSensitive(registration_location_infoJSON, "accessTypeList"); if (!access_type_list) { diff --git a/lib/sbi/openapi/model/release_data.c b/lib/sbi/openapi/model/release_data.c index 7bedcf8f1..b62f6e95b 100644 --- a/lib/sbi/openapi/model/release_data.c +++ b/lib/sbi/openapi/model/release_data.c @@ -226,14 +226,14 @@ OpenAPI_release_data_t *OpenAPI_release_data_parseFromJSON(cJSON *release_dataJS goto end; } causeVariable = OpenAPI_cause_FromString(cause->valuestring); -} + } cJSON *ng_ap_cause = cJSON_GetObjectItemCaseSensitive(release_dataJSON, "ngApCause"); OpenAPI_ng_ap_cause_t *ng_ap_cause_local_nonprim = NULL; if (ng_ap_cause) { ng_ap_cause_local_nonprim = OpenAPI_ng_ap_cause_parseFromJSON(ng_ap_cause); -} + } cJSON *_5g_mm_cause_value = cJSON_GetObjectItemCaseSensitive(release_dataJSON, "5gMmCauseValue"); @@ -242,14 +242,14 @@ OpenAPI_release_data_t *OpenAPI_release_data_parseFromJSON(cJSON *release_dataJS ogs_error("OpenAPI_release_data_parseFromJSON() failed [_5g_mm_cause_value]"); goto end; } -} + } cJSON *ue_location = cJSON_GetObjectItemCaseSensitive(release_dataJSON, "ueLocation"); OpenAPI_user_location_t *ue_location_local_nonprim = NULL; if (ue_location) { ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_location); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(release_dataJSON, "ueTimeZone"); @@ -258,14 +258,14 @@ OpenAPI_release_data_t *OpenAPI_release_data_parseFromJSON(cJSON *release_dataJS ogs_error("OpenAPI_release_data_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *add_ue_location = cJSON_GetObjectItemCaseSensitive(release_dataJSON, "addUeLocation"); OpenAPI_user_location_t *add_ue_location_local_nonprim = NULL; if (add_ue_location) { add_ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(add_ue_location); -} + } cJSON *secondary_rat_usage_report = cJSON_GetObjectItemCaseSensitive(release_dataJSON, "secondaryRatUsageReport"); @@ -288,7 +288,7 @@ OpenAPI_release_data_t *OpenAPI_release_data_parseFromJSON(cJSON *release_dataJS OpenAPI_list_add(secondary_rat_usage_reportList, secondary_rat_usage_reportItem); } -} + } cJSON *secondary_rat_usage_info = cJSON_GetObjectItemCaseSensitive(release_dataJSON, "secondaryRatUsageInfo"); @@ -311,28 +311,28 @@ OpenAPI_release_data_t *OpenAPI_release_data_parseFromJSON(cJSON *release_dataJS OpenAPI_list_add(secondary_rat_usage_infoList, secondary_rat_usage_infoItem); } -} + } cJSON *n4_info = cJSON_GetObjectItemCaseSensitive(release_dataJSON, "n4Info"); OpenAPI_n4_information_t *n4_info_local_nonprim = NULL; if (n4_info) { n4_info_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info); -} + } cJSON *n4_info_ext1 = cJSON_GetObjectItemCaseSensitive(release_dataJSON, "n4InfoExt1"); OpenAPI_n4_information_t *n4_info_ext1_local_nonprim = NULL; if (n4_info_ext1) { n4_info_ext1_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext1); -} + } cJSON *n4_info_ext2 = cJSON_GetObjectItemCaseSensitive(release_dataJSON, "n4InfoExt2"); OpenAPI_n4_information_t *n4_info_ext2_local_nonprim = NULL; if (n4_info_ext2) { n4_info_ext2_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext2); -} + } release_data_local_var = OpenAPI_release_data_create ( cause ? causeVariable : 0, diff --git a/lib/sbi/openapi/model/released_data.c b/lib/sbi/openapi/model/released_data.c index d179253e0..c9978ea64 100644 --- a/lib/sbi/openapi/model/released_data.c +++ b/lib/sbi/openapi/model/released_data.c @@ -126,35 +126,35 @@ OpenAPI_released_data_t *OpenAPI_released_data_parseFromJSON(cJSON *released_dat OpenAPI_small_data_rate_status_t *small_data_rate_status_local_nonprim = NULL; if (small_data_rate_status) { small_data_rate_status_local_nonprim = OpenAPI_small_data_rate_status_parseFromJSON(small_data_rate_status); -} + } cJSON *apn_rate_status = cJSON_GetObjectItemCaseSensitive(released_dataJSON, "apnRateStatus"); OpenAPI_apn_rate_status_t *apn_rate_status_local_nonprim = NULL; if (apn_rate_status) { apn_rate_status_local_nonprim = OpenAPI_apn_rate_status_parseFromJSON(apn_rate_status); -} + } cJSON *n4_info = cJSON_GetObjectItemCaseSensitive(released_dataJSON, "n4Info"); OpenAPI_n4_information_t *n4_info_local_nonprim = NULL; if (n4_info) { n4_info_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info); -} + } cJSON *n4_info_ext1 = cJSON_GetObjectItemCaseSensitive(released_dataJSON, "n4InfoExt1"); OpenAPI_n4_information_t *n4_info_ext1_local_nonprim = NULL; if (n4_info_ext1) { n4_info_ext1_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext1); -} + } cJSON *n4_info_ext2 = cJSON_GetObjectItemCaseSensitive(released_dataJSON, "n4InfoExt2"); OpenAPI_n4_information_t *n4_info_ext2_local_nonprim = NULL; if (n4_info_ext2) { n4_info_ext2_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext2); -} + } released_data_local_var = OpenAPI_released_data_create ( small_data_rate_status ? small_data_rate_status_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/reporting_options.c b/lib/sbi/openapi/model/reporting_options.c index b6caf7300..f4313e6f0 100644 --- a/lib/sbi/openapi/model/reporting_options.c +++ b/lib/sbi/openapi/model/reporting_options.c @@ -108,7 +108,7 @@ OpenAPI_reporting_options_t *OpenAPI_reporting_options_parseFromJSON(cJSON *repo OpenAPI_event_report_mode_t *report_mode_local_nonprim = NULL; if (report_mode) { report_mode_local_nonprim = OpenAPI_event_report_mode_parseFromJSON(report_mode); -} + } cJSON *max_num_of_reports = cJSON_GetObjectItemCaseSensitive(reporting_optionsJSON, "maxNumOfReports"); @@ -117,7 +117,7 @@ OpenAPI_reporting_options_t *OpenAPI_reporting_options_parseFromJSON(cJSON *repo ogs_error("OpenAPI_reporting_options_parseFromJSON() failed [max_num_of_reports]"); goto end; } -} + } cJSON *expiry = cJSON_GetObjectItemCaseSensitive(reporting_optionsJSON, "expiry"); @@ -126,7 +126,7 @@ OpenAPI_reporting_options_t *OpenAPI_reporting_options_parseFromJSON(cJSON *repo ogs_error("OpenAPI_reporting_options_parseFromJSON() failed [expiry]"); goto end; } -} + } cJSON *sampling_ratio = cJSON_GetObjectItemCaseSensitive(reporting_optionsJSON, "samplingRatio"); @@ -135,7 +135,7 @@ OpenAPI_reporting_options_t *OpenAPI_reporting_options_parseFromJSON(cJSON *repo ogs_error("OpenAPI_reporting_options_parseFromJSON() failed [sampling_ratio]"); goto end; } -} + } cJSON *guard_time = cJSON_GetObjectItemCaseSensitive(reporting_optionsJSON, "guardTime"); @@ -144,7 +144,7 @@ OpenAPI_reporting_options_t *OpenAPI_reporting_options_parseFromJSON(cJSON *repo ogs_error("OpenAPI_reporting_options_parseFromJSON() failed [guard_time]"); goto end; } -} + } cJSON *report_period = cJSON_GetObjectItemCaseSensitive(reporting_optionsJSON, "reportPeriod"); @@ -153,7 +153,7 @@ OpenAPI_reporting_options_t *OpenAPI_reporting_options_parseFromJSON(cJSON *repo ogs_error("OpenAPI_reporting_options_parseFromJSON() failed [report_period]"); goto end; } -} + } reporting_options_local_var = OpenAPI_reporting_options_create ( report_mode ? report_mode_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/requested_qos.c b/lib/sbi/openapi/model/requested_qos.c index 94c601bde..6270c1593 100644 --- a/lib/sbi/openapi/model/requested_qos.c +++ b/lib/sbi/openapi/model/requested_qos.c @@ -87,7 +87,7 @@ OpenAPI_requested_qos_t *OpenAPI_requested_qos_parseFromJSON(cJSON *requested_qo ogs_error("OpenAPI_requested_qos_parseFromJSON() failed [gbr_ul]"); goto end; } -} + } cJSON *gbr_dl = cJSON_GetObjectItemCaseSensitive(requested_qosJSON, "gbrDl"); @@ -96,7 +96,7 @@ OpenAPI_requested_qos_t *OpenAPI_requested_qos_parseFromJSON(cJSON *requested_qo ogs_error("OpenAPI_requested_qos_parseFromJSON() failed [gbr_dl]"); goto end; } -} + } requested_qos_local_var = OpenAPI_requested_qos_create ( _5qi->valuedouble, diff --git a/lib/sbi/openapi/model/requested_usage_data.c b/lib/sbi/openapi/model/requested_usage_data.c index ea257e043..7d260e6e7 100644 --- a/lib/sbi/openapi/model/requested_usage_data.c +++ b/lib/sbi/openapi/model/requested_usage_data.c @@ -90,7 +90,7 @@ OpenAPI_requested_usage_data_t *OpenAPI_requested_usage_data_parseFromJSON(cJSON } OpenAPI_list_add(ref_um_idsList , ogs_strdup_or_assert(ref_um_ids_local->valuestring)); } -} + } cJSON *all_um_ids = cJSON_GetObjectItemCaseSensitive(requested_usage_dataJSON, "allUmIds"); @@ -99,7 +99,7 @@ OpenAPI_requested_usage_data_t *OpenAPI_requested_usage_data_parseFromJSON(cJSON ogs_error("OpenAPI_requested_usage_data_parseFromJSON() failed [all_um_ids]"); goto end; } -} + } requested_usage_data_local_var = OpenAPI_requested_usage_data_create ( ref_um_ids ? ref_um_idsList : NULL, diff --git a/lib/sbi/openapi/model/resources_allocation_info.c b/lib/sbi/openapi/model/resources_allocation_info.c index 7be21dc8f..bf2083764 100644 --- a/lib/sbi/openapi/model/resources_allocation_info.c +++ b/lib/sbi/openapi/model/resources_allocation_info.c @@ -95,7 +95,7 @@ OpenAPI_resources_allocation_info_t *OpenAPI_resources_allocation_info_parseFrom goto end; } mc_resourc_statusVariable = OpenAPI_media_component_resources_status_FromString(mc_resourc_status->valuestring); -} + } cJSON *flows = cJSON_GetObjectItemCaseSensitive(resources_allocation_infoJSON, "flows"); @@ -118,7 +118,7 @@ OpenAPI_resources_allocation_info_t *OpenAPI_resources_allocation_info_parseFrom OpenAPI_list_add(flowsList, flowsItem); } -} + } cJSON *alt_ser_req = cJSON_GetObjectItemCaseSensitive(resources_allocation_infoJSON, "altSerReq"); @@ -127,7 +127,7 @@ OpenAPI_resources_allocation_info_t *OpenAPI_resources_allocation_info_parseFrom ogs_error("OpenAPI_resources_allocation_info_parseFromJSON() failed [alt_ser_req]"); goto end; } -} + } resources_allocation_info_local_var = OpenAPI_resources_allocation_info_create ( mc_resourc_status ? mc_resourc_statusVariable : 0, diff --git a/lib/sbi/openapi/model/retrieve_data.c b/lib/sbi/openapi/model/retrieve_data.c index c2de98e6f..a68faa9f7 100644 --- a/lib/sbi/openapi/model/retrieve_data.c +++ b/lib/sbi/openapi/model/retrieve_data.c @@ -57,7 +57,7 @@ OpenAPI_retrieve_data_t *OpenAPI_retrieve_data_parseFromJSON(cJSON *retrieve_dat ogs_error("OpenAPI_retrieve_data_parseFromJSON() failed [small_data_rate_status_req]"); goto end; } -} + } retrieve_data_local_var = OpenAPI_retrieve_data_create ( small_data_rate_status_req ? small_data_rate_status_req->valueint : 0 diff --git a/lib/sbi/openapi/model/retrieved_data.c b/lib/sbi/openapi/model/retrieved_data.c index e68ccf419..bd8433932 100644 --- a/lib/sbi/openapi/model/retrieved_data.c +++ b/lib/sbi/openapi/model/retrieved_data.c @@ -62,7 +62,7 @@ OpenAPI_retrieved_data_t *OpenAPI_retrieved_data_parseFromJSON(cJSON *retrieved_ OpenAPI_small_data_rate_status_t *small_data_rate_status_local_nonprim = NULL; if (small_data_rate_status) { small_data_rate_status_local_nonprim = OpenAPI_small_data_rate_status_parseFromJSON(small_data_rate_status); -} + } retrieved_data_local_var = OpenAPI_retrieved_data_create ( small_data_rate_status ? small_data_rate_status_local_nonprim : NULL diff --git a/lib/sbi/openapi/model/rg_auth_ctx.c b/lib/sbi/openapi/model/rg_auth_ctx.c index 931342b05..90cd87873 100644 --- a/lib/sbi/openapi/model/rg_auth_ctx.c +++ b/lib/sbi/openapi/model/rg_auth_ctx.c @@ -88,7 +88,7 @@ OpenAPI_rg_auth_ctx_t *OpenAPI_rg_auth_ctx_parseFromJSON(cJSON *rg_auth_ctxJSON) ogs_error("OpenAPI_rg_auth_ctx_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *auth_ind = cJSON_GetObjectItemCaseSensitive(rg_auth_ctxJSON, "authInd"); @@ -97,7 +97,7 @@ OpenAPI_rg_auth_ctx_t *OpenAPI_rg_auth_ctx_parseFromJSON(cJSON *rg_auth_ctxJSON) ogs_error("OpenAPI_rg_auth_ctx_parseFromJSON() failed [auth_ind]"); goto end; } -} + } rg_auth_ctx_local_var = OpenAPI_rg_auth_ctx_create ( auth_resultVariable, diff --git a/lib/sbi/openapi/model/rg_authentication_info.c b/lib/sbi/openapi/model/rg_authentication_info.c index 12992c82a..fedf0cdd5 100644 --- a/lib/sbi/openapi/model/rg_authentication_info.c +++ b/lib/sbi/openapi/model/rg_authentication_info.c @@ -97,7 +97,7 @@ OpenAPI_rg_authentication_info_t *OpenAPI_rg_authentication_info_parseFromJSON(c ogs_error("OpenAPI_rg_authentication_info_parseFromJSON() failed [supported_features]"); goto end; } -} + } rg_authentication_info_local_var = OpenAPI_rg_authentication_info_create ( ogs_strdup_or_assert(suci->valuestring), diff --git a/lib/sbi/openapi/model/roaming_charging_profile.c b/lib/sbi/openapi/model/roaming_charging_profile.c index 702315884..967a376c8 100644 --- a/lib/sbi/openapi/model/roaming_charging_profile.c +++ b/lib/sbi/openapi/model/roaming_charging_profile.c @@ -104,14 +104,14 @@ OpenAPI_roaming_charging_profile_t *OpenAPI_roaming_charging_profile_parseFromJS OpenAPI_list_add(triggersList, triggersItem); } -} + } cJSON *partial_record_method = cJSON_GetObjectItemCaseSensitive(roaming_charging_profileJSON, "partialRecordMethod"); OpenAPI_partial_record_method_t *partial_record_method_local_nonprim = NULL; if (partial_record_method) { partial_record_method_local_nonprim = OpenAPI_partial_record_method_parseFromJSON(partial_record_method); -} + } roaming_charging_profile_local_var = OpenAPI_roaming_charging_profile_create ( triggers ? triggersList : NULL, diff --git a/lib/sbi/openapi/model/route_information.c b/lib/sbi/openapi/model/route_information.c index 01535ef5b..43c31c885 100644 --- a/lib/sbi/openapi/model/route_information.c +++ b/lib/sbi/openapi/model/route_information.c @@ -75,7 +75,7 @@ OpenAPI_route_information_t *OpenAPI_route_information_parseFromJSON(cJSON *rout ogs_error("OpenAPI_route_information_parseFromJSON() failed [ipv4_addr]"); goto end; } -} + } cJSON *ipv6_addr = cJSON_GetObjectItemCaseSensitive(route_informationJSON, "ipv6Addr"); @@ -84,7 +84,7 @@ OpenAPI_route_information_t *OpenAPI_route_information_parseFromJSON(cJSON *rout ogs_error("OpenAPI_route_information_parseFromJSON() failed [ipv6_addr]"); goto end; } -} + } cJSON *port_number = cJSON_GetObjectItemCaseSensitive(route_informationJSON, "portNumber"); if (!port_number) { diff --git a/lib/sbi/openapi/model/route_to_location.c b/lib/sbi/openapi/model/route_to_location.c index bbfd5b5df..8729fbcdb 100644 --- a/lib/sbi/openapi/model/route_to_location.c +++ b/lib/sbi/openapi/model/route_to_location.c @@ -92,7 +92,7 @@ OpenAPI_route_to_location_t *OpenAPI_route_to_location_parseFromJSON(cJSON *rout OpenAPI_route_information_t *route_info_local_nonprim = NULL; if (route_info) { route_info_local_nonprim = OpenAPI_route_information_parseFromJSON(route_info); -} + } cJSON *route_prof_id = cJSON_GetObjectItemCaseSensitive(route_to_locationJSON, "routeProfId"); @@ -101,7 +101,7 @@ OpenAPI_route_to_location_t *OpenAPI_route_to_location_parseFromJSON(cJSON *rout ogs_error("OpenAPI_route_to_location_parseFromJSON() failed [route_prof_id]"); goto end; } -} + } route_to_location_local_var = OpenAPI_route_to_location_create ( ogs_strdup_or_assert(dnai->valuestring), diff --git a/lib/sbi/openapi/model/rule_report.c b/lib/sbi/openapi/model/rule_report.c index 4a51f936f..4bb0b6c74 100644 --- a/lib/sbi/openapi/model/rule_report.c +++ b/lib/sbi/openapi/model/rule_report.c @@ -196,7 +196,7 @@ OpenAPI_rule_report_t *OpenAPI_rule_report_parseFromJSON(cJSON *rule_reportJSON) } OpenAPI_list_add(cont_versList , &cont_vers_local->valuedouble); } -} + } cJSON *failure_code = cJSON_GetObjectItemCaseSensitive(rule_reportJSON, "failureCode"); @@ -207,14 +207,14 @@ OpenAPI_rule_report_t *OpenAPI_rule_report_parseFromJSON(cJSON *rule_reportJSON) goto end; } failure_codeVariable = OpenAPI_failure_code_FromString(failure_code->valuestring); -} + } cJSON *fin_unit_act = cJSON_GetObjectItemCaseSensitive(rule_reportJSON, "finUnitAct"); OpenAPI_final_unit_action_t *fin_unit_act_local_nonprim = NULL; if (fin_unit_act) { fin_unit_act_local_nonprim = OpenAPI_final_unit_action_parseFromJSON(fin_unit_act); -} + } cJSON *ran_nas_rel_causes = cJSON_GetObjectItemCaseSensitive(rule_reportJSON, "ranNasRelCauses"); @@ -237,7 +237,7 @@ OpenAPI_rule_report_t *OpenAPI_rule_report_parseFromJSON(cJSON *rule_reportJSON) OpenAPI_list_add(ran_nas_rel_causesList, ran_nas_rel_causesItem); } -} + } rule_report_local_var = OpenAPI_rule_report_create ( pcc_rule_idsList, diff --git a/lib/sbi/openapi/model/scheduled_communication_time.c b/lib/sbi/openapi/model/scheduled_communication_time.c index 38d4b8ac7..11c68ee8a 100644 --- a/lib/sbi/openapi/model/scheduled_communication_time.c +++ b/lib/sbi/openapi/model/scheduled_communication_time.c @@ -101,7 +101,7 @@ OpenAPI_scheduled_communication_time_t *OpenAPI_scheduled_communication_time_par } OpenAPI_list_add(days_of_weekList , &days_of_week_local->valuedouble); } -} + } cJSON *time_of_day_start = cJSON_GetObjectItemCaseSensitive(scheduled_communication_timeJSON, "timeOfDayStart"); @@ -110,7 +110,7 @@ OpenAPI_scheduled_communication_time_t *OpenAPI_scheduled_communication_time_par ogs_error("OpenAPI_scheduled_communication_time_parseFromJSON() failed [time_of_day_start]"); goto end; } -} + } cJSON *time_of_day_end = cJSON_GetObjectItemCaseSensitive(scheduled_communication_timeJSON, "timeOfDayEnd"); @@ -119,7 +119,7 @@ OpenAPI_scheduled_communication_time_t *OpenAPI_scheduled_communication_time_par ogs_error("OpenAPI_scheduled_communication_time_parseFromJSON() failed [time_of_day_end]"); goto end; } -} + } scheduled_communication_time_local_var = OpenAPI_scheduled_communication_time_create ( days_of_week ? days_of_weekList : NULL, diff --git a/lib/sbi/openapi/model/scheduled_communication_time_1.c b/lib/sbi/openapi/model/scheduled_communication_time_1.c index c4d8fbc5c..88602f085 100644 --- a/lib/sbi/openapi/model/scheduled_communication_time_1.c +++ b/lib/sbi/openapi/model/scheduled_communication_time_1.c @@ -101,7 +101,7 @@ OpenAPI_scheduled_communication_time_1_t *OpenAPI_scheduled_communication_time_1 } OpenAPI_list_add(days_of_weekList , &days_of_week_local->valuedouble); } -} + } cJSON *time_of_day_start = cJSON_GetObjectItemCaseSensitive(scheduled_communication_time_1JSON, "timeOfDayStart"); @@ -110,7 +110,7 @@ OpenAPI_scheduled_communication_time_1_t *OpenAPI_scheduled_communication_time_1 ogs_error("OpenAPI_scheduled_communication_time_1_parseFromJSON() failed [time_of_day_start]"); goto end; } -} + } cJSON *time_of_day_end = cJSON_GetObjectItemCaseSensitive(scheduled_communication_time_1JSON, "timeOfDayEnd"); @@ -119,7 +119,7 @@ OpenAPI_scheduled_communication_time_1_t *OpenAPI_scheduled_communication_time_1 ogs_error("OpenAPI_scheduled_communication_time_1_parseFromJSON() failed [time_of_day_end]"); goto end; } -} + } scheduled_communication_time_1_local_var = OpenAPI_scheduled_communication_time_1_create ( days_of_week ? days_of_weekList : NULL, diff --git a/lib/sbi/openapi/model/scheduled_communication_time_rm.c b/lib/sbi/openapi/model/scheduled_communication_time_rm.c index bdd5b6cc4..8a4e5a17d 100644 --- a/lib/sbi/openapi/model/scheduled_communication_time_rm.c +++ b/lib/sbi/openapi/model/scheduled_communication_time_rm.c @@ -101,7 +101,7 @@ OpenAPI_scheduled_communication_time_rm_t *OpenAPI_scheduled_communication_time_ } OpenAPI_list_add(days_of_weekList , &days_of_week_local->valuedouble); } -} + } cJSON *time_of_day_start = cJSON_GetObjectItemCaseSensitive(scheduled_communication_time_rmJSON, "timeOfDayStart"); @@ -110,7 +110,7 @@ OpenAPI_scheduled_communication_time_rm_t *OpenAPI_scheduled_communication_time_ ogs_error("OpenAPI_scheduled_communication_time_rm_parseFromJSON() failed [time_of_day_start]"); goto end; } -} + } cJSON *time_of_day_end = cJSON_GetObjectItemCaseSensitive(scheduled_communication_time_rmJSON, "timeOfDayEnd"); @@ -119,7 +119,7 @@ OpenAPI_scheduled_communication_time_rm_t *OpenAPI_scheduled_communication_time_ ogs_error("OpenAPI_scheduled_communication_time_rm_parseFromJSON() failed [time_of_day_end]"); goto end; } -} + } scheduled_communication_time_rm_local_var = OpenAPI_scheduled_communication_time_rm_create ( days_of_week ? days_of_weekList : NULL, diff --git a/lib/sbi/openapi/model/scp_domain_cond.c b/lib/sbi/openapi/model/scp_domain_cond.c index 5211690e5..a493e2c56 100644 --- a/lib/sbi/openapi/model/scp_domain_cond.c +++ b/lib/sbi/openapi/model/scp_domain_cond.c @@ -81,7 +81,7 @@ OpenAPI_scp_domain_cond_t *OpenAPI_scp_domain_cond_parseFromJSON(cJSON *scp_doma } OpenAPI_list_add(scp_domainsList , ogs_strdup_or_assert(scp_domains_local->valuestring)); } -} + } scp_domain_cond_local_var = OpenAPI_scp_domain_cond_create ( scp_domains ? scp_domainsList : NULL diff --git a/lib/sbi/openapi/model/scp_domain_info.c b/lib/sbi/openapi/model/scp_domain_info.c index a615476f8..424f7bb19 100644 --- a/lib/sbi/openapi/model/scp_domain_info.c +++ b/lib/sbi/openapi/model/scp_domain_info.c @@ -117,7 +117,7 @@ OpenAPI_scp_domain_info_t *OpenAPI_scp_domain_info_parseFromJSON(cJSON *scp_doma ogs_error("OpenAPI_scp_domain_info_parseFromJSON() failed [scp_fqdn]"); goto end; } -} + } cJSON *scp_ip_end_points = cJSON_GetObjectItemCaseSensitive(scp_domain_infoJSON, "scpIpEndPoints"); @@ -140,7 +140,7 @@ OpenAPI_scp_domain_info_t *OpenAPI_scp_domain_info_parseFromJSON(cJSON *scp_doma OpenAPI_list_add(scp_ip_end_pointsList, scp_ip_end_pointsItem); } -} + } cJSON *scp_prefix = cJSON_GetObjectItemCaseSensitive(scp_domain_infoJSON, "scpPrefix"); @@ -149,7 +149,7 @@ OpenAPI_scp_domain_info_t *OpenAPI_scp_domain_info_parseFromJSON(cJSON *scp_doma ogs_error("OpenAPI_scp_domain_info_parseFromJSON() failed [scp_prefix]"); goto end; } -} + } cJSON *scp_ports = cJSON_GetObjectItemCaseSensitive(scp_domain_infoJSON, "scpPorts"); @@ -166,7 +166,7 @@ OpenAPI_scp_domain_info_t *OpenAPI_scp_domain_info_parseFromJSON(cJSON *scp_doma cJSON *localMapObject = scp_ports_local_map; OpenAPI_list_add(scp_portsList , localMapKeyPair); } -} + } scp_domain_info_local_var = OpenAPI_scp_domain_info_create ( scp_fqdn ? ogs_strdup_or_assert(scp_fqdn->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/scp_info.c b/lib/sbi/openapi/model/scp_info.c index 8581455a2..a46f843de 100644 --- a/lib/sbi/openapi/model/scp_info.c +++ b/lib/sbi/openapi/model/scp_info.c @@ -287,7 +287,7 @@ OpenAPI_scp_info_t *OpenAPI_scp_info_parseFromJSON(cJSON *scp_infoJSON) cJSON *localMapObject = scp_domain_info_list_local_map; OpenAPI_list_add(scp_domain_info_listList , localMapKeyPair); } -} + } cJSON *scp_prefix = cJSON_GetObjectItemCaseSensitive(scp_infoJSON, "scpPrefix"); @@ -296,7 +296,7 @@ OpenAPI_scp_info_t *OpenAPI_scp_info_parseFromJSON(cJSON *scp_infoJSON) ogs_error("OpenAPI_scp_info_parseFromJSON() failed [scp_prefix]"); goto end; } -} + } cJSON *scp_ports = cJSON_GetObjectItemCaseSensitive(scp_infoJSON, "scpPorts"); @@ -313,7 +313,7 @@ OpenAPI_scp_info_t *OpenAPI_scp_info_parseFromJSON(cJSON *scp_infoJSON) cJSON *localMapObject = scp_ports_local_map; OpenAPI_list_add(scp_portsList , localMapKeyPair); } -} + } cJSON *address_domains = cJSON_GetObjectItemCaseSensitive(scp_infoJSON, "addressDomains"); @@ -333,7 +333,7 @@ OpenAPI_scp_info_t *OpenAPI_scp_info_parseFromJSON(cJSON *scp_infoJSON) } OpenAPI_list_add(address_domainsList , ogs_strdup_or_assert(address_domains_local->valuestring)); } -} + } cJSON *ipv4_addresses = cJSON_GetObjectItemCaseSensitive(scp_infoJSON, "ipv4Addresses"); @@ -353,7 +353,7 @@ OpenAPI_scp_info_t *OpenAPI_scp_info_parseFromJSON(cJSON *scp_infoJSON) } OpenAPI_list_add(ipv4_addressesList , ogs_strdup_or_assert(ipv4_addresses_local->valuestring)); } -} + } cJSON *ipv6_prefixes = cJSON_GetObjectItemCaseSensitive(scp_infoJSON, "ipv6Prefixes"); @@ -373,7 +373,7 @@ OpenAPI_scp_info_t *OpenAPI_scp_info_parseFromJSON(cJSON *scp_infoJSON) } OpenAPI_list_add(ipv6_prefixesList , ogs_strdup_or_assert(ipv6_prefixes_local->valuestring)); } -} + } cJSON *ipv4_addr_ranges = cJSON_GetObjectItemCaseSensitive(scp_infoJSON, "ipv4AddrRanges"); @@ -396,7 +396,7 @@ OpenAPI_scp_info_t *OpenAPI_scp_info_parseFromJSON(cJSON *scp_infoJSON) OpenAPI_list_add(ipv4_addr_rangesList, ipv4_addr_rangesItem); } -} + } cJSON *ipv6_prefix_ranges = cJSON_GetObjectItemCaseSensitive(scp_infoJSON, "ipv6PrefixRanges"); @@ -419,7 +419,7 @@ OpenAPI_scp_info_t *OpenAPI_scp_info_parseFromJSON(cJSON *scp_infoJSON) OpenAPI_list_add(ipv6_prefix_rangesList, ipv6_prefix_rangesItem); } -} + } cJSON *served_nf_set_id_list = cJSON_GetObjectItemCaseSensitive(scp_infoJSON, "servedNfSetIdList"); @@ -439,7 +439,7 @@ OpenAPI_scp_info_t *OpenAPI_scp_info_parseFromJSON(cJSON *scp_infoJSON) } OpenAPI_list_add(served_nf_set_id_listList , ogs_strdup_or_assert(served_nf_set_id_list_local->valuestring)); } -} + } cJSON *remote_plmn_list = cJSON_GetObjectItemCaseSensitive(scp_infoJSON, "remotePlmnList"); @@ -462,7 +462,7 @@ OpenAPI_scp_info_t *OpenAPI_scp_info_parseFromJSON(cJSON *scp_infoJSON) OpenAPI_list_add(remote_plmn_listList, remote_plmn_listItem); } -} + } cJSON *ip_reachability = cJSON_GetObjectItemCaseSensitive(scp_infoJSON, "ipReachability"); @@ -473,7 +473,7 @@ OpenAPI_scp_info_t *OpenAPI_scp_info_parseFromJSON(cJSON *scp_infoJSON) goto end; } ip_reachabilityVariable = OpenAPI_ip_reachability_FromString(ip_reachability->valuestring); -} + } scp_info_local_var = OpenAPI_scp_info_create ( scp_domain_info_list ? scp_domain_info_listList : NULL, diff --git a/lib/sbi/openapi/model/sd_range.c b/lib/sbi/openapi/model/sd_range.c index 9ea205b6f..171068ac8 100644 --- a/lib/sbi/openapi/model/sd_range.c +++ b/lib/sbi/openapi/model/sd_range.c @@ -68,7 +68,7 @@ OpenAPI_sd_range_t *OpenAPI_sd_range_parseFromJSON(cJSON *sd_rangeJSON) ogs_error("OpenAPI_sd_range_parseFromJSON() failed [start]"); goto end; } -} + } cJSON *end = cJSON_GetObjectItemCaseSensitive(sd_rangeJSON, "end"); @@ -77,7 +77,7 @@ OpenAPI_sd_range_t *OpenAPI_sd_range_parseFromJSON(cJSON *sd_rangeJSON) ogs_error("OpenAPI_sd_range_parseFromJSON() failed [end]"); goto end; } -} + } sd_range_local_var = OpenAPI_sd_range_create ( start ? ogs_strdup_or_assert(start->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/sdm_subs_modification.c b/lib/sbi/openapi/model/sdm_subs_modification.c index 08d1d578c..f021ab19c 100644 --- a/lib/sbi/openapi/model/sdm_subs_modification.c +++ b/lib/sbi/openapi/model/sdm_subs_modification.c @@ -80,7 +80,7 @@ OpenAPI_sdm_subs_modification_t *OpenAPI_sdm_subs_modification_parseFromJSON(cJS ogs_error("OpenAPI_sdm_subs_modification_parseFromJSON() failed [expires]"); goto end; } -} + } cJSON *monitored_resource_uris = cJSON_GetObjectItemCaseSensitive(sdm_subs_modificationJSON, "monitoredResourceUris"); @@ -100,7 +100,7 @@ OpenAPI_sdm_subs_modification_t *OpenAPI_sdm_subs_modification_parseFromJSON(cJS } OpenAPI_list_add(monitored_resource_urisList , ogs_strdup_or_assert(monitored_resource_uris_local->valuestring)); } -} + } sdm_subs_modification_local_var = OpenAPI_sdm_subs_modification_create ( expires ? ogs_strdup_or_assert(expires->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/sdm_subscription.c b/lib/sbi/openapi/model/sdm_subscription.c index ce35a7861..e6e6dbf46 100644 --- a/lib/sbi/openapi/model/sdm_subscription.c +++ b/lib/sbi/openapi/model/sdm_subscription.c @@ -228,7 +228,7 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [implicit_unsubscribe]"); goto end; } -} + } cJSON *expires = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "expires"); @@ -237,7 +237,7 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [expires]"); goto end; } -} + } cJSON *callback_reference = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "callbackReference"); if (!callback_reference) { @@ -258,7 +258,7 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [amf_service_name]"); goto end; } -} + } cJSON *monitored_resource_uris = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "monitoredResourceUris"); if (!monitored_resource_uris) { @@ -288,7 +288,7 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su OpenAPI_snssai_t *single_nssai_local_nonprim = NULL; if (single_nssai) { single_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(single_nssai); -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "dnn"); @@ -297,7 +297,7 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *subscription_id = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "subscriptionId"); @@ -306,14 +306,14 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [subscription_id]"); goto end; } -} + } cJSON *plmn_id = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "plmnId"); OpenAPI_plmn_id_t *plmn_id_local_nonprim = NULL; if (plmn_id) { plmn_id_local_nonprim = OpenAPI_plmn_id_parseFromJSON(plmn_id); -} + } cJSON *immediate_report = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "immediateReport"); @@ -322,14 +322,14 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [immediate_report]"); goto end; } -} + } cJSON *report = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "report"); OpenAPI_subscription_data_sets_t *report_local_nonprim = NULL; if (report) { report_local_nonprim = OpenAPI_subscription_data_sets_parseFromJSON(report); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "supportedFeatures"); @@ -338,14 +338,14 @@ OpenAPI_sdm_subscription_t *OpenAPI_sdm_subscription_parseFromJSON(cJSON *sdm_su ogs_error("OpenAPI_sdm_subscription_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *context_info = cJSON_GetObjectItemCaseSensitive(sdm_subscriptionJSON, "contextInfo"); OpenAPI_context_info_t *context_info_local_nonprim = NULL; if (context_info) { context_info_local_nonprim = OpenAPI_context_info_parseFromJSON(context_info); -} + } sdm_subscription_local_var = OpenAPI_sdm_subscription_create ( ogs_strdup_or_assert(nf_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/sdm_subscription_1.c b/lib/sbi/openapi/model/sdm_subscription_1.c index cc8960a36..3be3a6355 100644 --- a/lib/sbi/openapi/model/sdm_subscription_1.c +++ b/lib/sbi/openapi/model/sdm_subscription_1.c @@ -228,7 +228,7 @@ OpenAPI_sdm_subscription_1_t *OpenAPI_sdm_subscription_1_parseFromJSON(cJSON *sd ogs_error("OpenAPI_sdm_subscription_1_parseFromJSON() failed [implicit_unsubscribe]"); goto end; } -} + } cJSON *expires = cJSON_GetObjectItemCaseSensitive(sdm_subscription_1JSON, "expires"); @@ -237,7 +237,7 @@ OpenAPI_sdm_subscription_1_t *OpenAPI_sdm_subscription_1_parseFromJSON(cJSON *sd ogs_error("OpenAPI_sdm_subscription_1_parseFromJSON() failed [expires]"); goto end; } -} + } cJSON *callback_reference = cJSON_GetObjectItemCaseSensitive(sdm_subscription_1JSON, "callbackReference"); if (!callback_reference) { @@ -258,7 +258,7 @@ OpenAPI_sdm_subscription_1_t *OpenAPI_sdm_subscription_1_parseFromJSON(cJSON *sd ogs_error("OpenAPI_sdm_subscription_1_parseFromJSON() failed [amf_service_name]"); goto end; } -} + } cJSON *monitored_resource_uris = cJSON_GetObjectItemCaseSensitive(sdm_subscription_1JSON, "monitoredResourceUris"); if (!monitored_resource_uris) { @@ -288,7 +288,7 @@ OpenAPI_sdm_subscription_1_t *OpenAPI_sdm_subscription_1_parseFromJSON(cJSON *sd OpenAPI_snssai_t *single_nssai_local_nonprim = NULL; if (single_nssai) { single_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(single_nssai); -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(sdm_subscription_1JSON, "dnn"); @@ -297,7 +297,7 @@ OpenAPI_sdm_subscription_1_t *OpenAPI_sdm_subscription_1_parseFromJSON(cJSON *sd ogs_error("OpenAPI_sdm_subscription_1_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *subscription_id = cJSON_GetObjectItemCaseSensitive(sdm_subscription_1JSON, "subscriptionId"); @@ -306,14 +306,14 @@ OpenAPI_sdm_subscription_1_t *OpenAPI_sdm_subscription_1_parseFromJSON(cJSON *sd ogs_error("OpenAPI_sdm_subscription_1_parseFromJSON() failed [subscription_id]"); goto end; } -} + } cJSON *plmn_id = cJSON_GetObjectItemCaseSensitive(sdm_subscription_1JSON, "plmnId"); OpenAPI_plmn_id_1_t *plmn_id_local_nonprim = NULL; if (plmn_id) { plmn_id_local_nonprim = OpenAPI_plmn_id_1_parseFromJSON(plmn_id); -} + } cJSON *immediate_report = cJSON_GetObjectItemCaseSensitive(sdm_subscription_1JSON, "immediateReport"); @@ -322,14 +322,14 @@ OpenAPI_sdm_subscription_1_t *OpenAPI_sdm_subscription_1_parseFromJSON(cJSON *sd ogs_error("OpenAPI_sdm_subscription_1_parseFromJSON() failed [immediate_report]"); goto end; } -} + } cJSON *report = cJSON_GetObjectItemCaseSensitive(sdm_subscription_1JSON, "report"); OpenAPI_subscription_data_sets_1_t *report_local_nonprim = NULL; if (report) { report_local_nonprim = OpenAPI_subscription_data_sets_1_parseFromJSON(report); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(sdm_subscription_1JSON, "supportedFeatures"); @@ -338,14 +338,14 @@ OpenAPI_sdm_subscription_1_t *OpenAPI_sdm_subscription_1_parseFromJSON(cJSON *sd ogs_error("OpenAPI_sdm_subscription_1_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *context_info = cJSON_GetObjectItemCaseSensitive(sdm_subscription_1JSON, "contextInfo"); OpenAPI_context_info_t *context_info_local_nonprim = NULL; if (context_info) { context_info_local_nonprim = OpenAPI_context_info_parseFromJSON(context_info); -} + } sdm_subscription_1_local_var = OpenAPI_sdm_subscription_1_create ( ogs_strdup_or_assert(nf_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/seaf_data.c b/lib/sbi/openapi/model/seaf_data.c index 534ac4dd3..a5b31799f 100644 --- a/lib/sbi/openapi/model/seaf_data.c +++ b/lib/sbi/openapi/model/seaf_data.c @@ -133,7 +133,7 @@ OpenAPI_seaf_data_t *OpenAPI_seaf_data_parseFromJSON(cJSON *seaf_dataJSON) ogs_error("OpenAPI_seaf_data_parseFromJSON() failed [nh]"); goto end; } -} + } cJSON *ncc = cJSON_GetObjectItemCaseSensitive(seaf_dataJSON, "ncc"); @@ -142,7 +142,7 @@ OpenAPI_seaf_data_t *OpenAPI_seaf_data_parseFromJSON(cJSON *seaf_dataJSON) ogs_error("OpenAPI_seaf_data_parseFromJSON() failed [ncc]"); goto end; } -} + } cJSON *key_amf_change_ind = cJSON_GetObjectItemCaseSensitive(seaf_dataJSON, "keyAmfChangeInd"); @@ -151,7 +151,7 @@ OpenAPI_seaf_data_t *OpenAPI_seaf_data_parseFromJSON(cJSON *seaf_dataJSON) ogs_error("OpenAPI_seaf_data_parseFromJSON() failed [key_amf_change_ind]"); goto end; } -} + } cJSON *key_amf_h_derivation_ind = cJSON_GetObjectItemCaseSensitive(seaf_dataJSON, "keyAmfHDerivationInd"); @@ -160,7 +160,7 @@ OpenAPI_seaf_data_t *OpenAPI_seaf_data_parseFromJSON(cJSON *seaf_dataJSON) ogs_error("OpenAPI_seaf_data_parseFromJSON() failed [key_amf_h_derivation_ind]"); goto end; } -} + } seaf_data_local_var = OpenAPI_seaf_data_create ( ng_ksi_local_nonprim, diff --git a/lib/sbi/openapi/model/search_result.c b/lib/sbi/openapi/model/search_result.c index 058cd3776..99c535e7b 100644 --- a/lib/sbi/openapi/model/search_result.c +++ b/lib/sbi/openapi/model/search_result.c @@ -126,7 +126,7 @@ OpenAPI_search_result_t *OpenAPI_search_result_parseFromJSON(cJSON *search_resul ogs_error("OpenAPI_search_result_parseFromJSON() failed [validity_period]"); goto end; } -} + } cJSON *nf_instances = cJSON_GetObjectItemCaseSensitive(search_resultJSON, "nfInstances"); if (!nf_instances) { @@ -161,7 +161,7 @@ OpenAPI_search_result_t *OpenAPI_search_result_parseFromJSON(cJSON *search_resul ogs_error("OpenAPI_search_result_parseFromJSON() failed [search_id]"); goto end; } -} + } cJSON *num_nf_inst_complete = cJSON_GetObjectItemCaseSensitive(search_resultJSON, "numNfInstComplete"); @@ -170,14 +170,14 @@ OpenAPI_search_result_t *OpenAPI_search_result_parseFromJSON(cJSON *search_resul ogs_error("OpenAPI_search_result_parseFromJSON() failed [num_nf_inst_complete]"); goto end; } -} + } cJSON *preferred_search = cJSON_GetObjectItemCaseSensitive(search_resultJSON, "preferredSearch"); OpenAPI_preferred_search_t *preferred_search_local_nonprim = NULL; if (preferred_search) { preferred_search_local_nonprim = OpenAPI_preferred_search_parseFromJSON(preferred_search); -} + } cJSON *nrf_supported_features = cJSON_GetObjectItemCaseSensitive(search_resultJSON, "nrfSupportedFeatures"); @@ -186,7 +186,7 @@ OpenAPI_search_result_t *OpenAPI_search_result_parseFromJSON(cJSON *search_resul ogs_error("OpenAPI_search_result_parseFromJSON() failed [nrf_supported_features]"); goto end; } -} + } search_result_local_var = OpenAPI_search_result_create ( validity_period ? validity_period->valuedouble : 0, diff --git a/lib/sbi/openapi/model/secondary_rat_usage_info.c b/lib/sbi/openapi/model/secondary_rat_usage_info.c index aaee96fe2..591fb31b1 100644 --- a/lib/sbi/openapi/model/secondary_rat_usage_info.c +++ b/lib/sbi/openapi/model/secondary_rat_usage_info.c @@ -135,7 +135,7 @@ OpenAPI_secondary_rat_usage_info_t *OpenAPI_secondary_rat_usage_info_parseFromJS OpenAPI_list_add(qos_flows_usage_dataList, qos_flows_usage_dataItem); } -} + } cJSON *pdu_session_usage_data = cJSON_GetObjectItemCaseSensitive(secondary_rat_usage_infoJSON, "pduSessionUsageData"); @@ -158,7 +158,7 @@ OpenAPI_secondary_rat_usage_info_t *OpenAPI_secondary_rat_usage_info_parseFromJS OpenAPI_list_add(pdu_session_usage_dataList, pdu_session_usage_dataItem); } -} + } secondary_rat_usage_info_local_var = OpenAPI_secondary_rat_usage_info_create ( secondary_rat_typeVariable, diff --git a/lib/sbi/openapi/model/security_result.c b/lib/sbi/openapi/model/security_result.c index 082b27a7e..e6be84909 100644 --- a/lib/sbi/openapi/model/security_result.c +++ b/lib/sbi/openapi/model/security_result.c @@ -68,7 +68,7 @@ OpenAPI_security_result_t *OpenAPI_security_result_parseFromJSON(cJSON *security goto end; } integrity_protection_resultVariable = OpenAPI_protection_result_FromString(integrity_protection_result->valuestring); -} + } cJSON *confidentiality_protection_result = cJSON_GetObjectItemCaseSensitive(security_resultJSON, "confidentialityProtectionResult"); @@ -79,7 +79,7 @@ OpenAPI_security_result_t *OpenAPI_security_result_parseFromJSON(cJSON *security goto end; } confidentiality_protection_resultVariable = OpenAPI_protection_result_FromString(confidentiality_protection_result->valuestring); -} + } security_result_local_var = OpenAPI_security_result_create ( integrity_protection_result ? integrity_protection_resultVariable : 0, diff --git a/lib/sbi/openapi/model/send_mo_data_req_data.c b/lib/sbi/openapi/model/send_mo_data_req_data.c index 0e90443d1..b1d521b38 100644 --- a/lib/sbi/openapi/model/send_mo_data_req_data.c +++ b/lib/sbi/openapi/model/send_mo_data_req_data.c @@ -102,14 +102,14 @@ OpenAPI_send_mo_data_req_data_t *OpenAPI_send_mo_data_req_data_parseFromJSON(cJS OpenAPI_mo_exp_data_counter_t *mo_exp_data_counter_local_nonprim = NULL; if (mo_exp_data_counter) { mo_exp_data_counter_local_nonprim = OpenAPI_mo_exp_data_counter_parseFromJSON(mo_exp_data_counter); -} + } cJSON *ue_location = cJSON_GetObjectItemCaseSensitive(send_mo_data_req_dataJSON, "ueLocation"); OpenAPI_user_location_t *ue_location_local_nonprim = NULL; if (ue_location) { ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_location); -} + } send_mo_data_req_data_local_var = OpenAPI_send_mo_data_req_data_create ( mo_data_local_nonprim, diff --git a/lib/sbi/openapi/model/sequence_number.c b/lib/sbi/openapi/model/sequence_number.c index f2b7bda64..6d3cad934 100644 --- a/lib/sbi/openapi/model/sequence_number.c +++ b/lib/sbi/openapi/model/sequence_number.c @@ -110,7 +110,7 @@ OpenAPI_sequence_number_t *OpenAPI_sequence_number_parseFromJSON(cJSON *sequence goto end; } sqn_schemeVariable = OpenAPI_sqn_scheme_FromString(sqn_scheme->valuestring); -} + } cJSON *sqn = cJSON_GetObjectItemCaseSensitive(sequence_numberJSON, "sqn"); @@ -119,7 +119,7 @@ OpenAPI_sequence_number_t *OpenAPI_sequence_number_parseFromJSON(cJSON *sequence ogs_error("OpenAPI_sequence_number_parseFromJSON() failed [sqn]"); goto end; } -} + } cJSON *last_indexes = cJSON_GetObjectItemCaseSensitive(sequence_numberJSON, "lastIndexes"); @@ -136,7 +136,7 @@ OpenAPI_sequence_number_t *OpenAPI_sequence_number_parseFromJSON(cJSON *sequence cJSON *localMapObject = last_indexes_local_map; OpenAPI_list_add(last_indexesList , localMapKeyPair); } -} + } cJSON *ind_length = cJSON_GetObjectItemCaseSensitive(sequence_numberJSON, "indLength"); @@ -145,7 +145,7 @@ OpenAPI_sequence_number_t *OpenAPI_sequence_number_parseFromJSON(cJSON *sequence ogs_error("OpenAPI_sequence_number_parseFromJSON() failed [ind_length]"); goto end; } -} + } cJSON *dif_sign = cJSON_GetObjectItemCaseSensitive(sequence_numberJSON, "difSign"); @@ -156,7 +156,7 @@ OpenAPI_sequence_number_t *OpenAPI_sequence_number_parseFromJSON(cJSON *sequence goto end; } dif_signVariable = OpenAPI_sign_FromString(dif_sign->valuestring); -} + } sequence_number_local_var = OpenAPI_sequence_number_create ( sqn_scheme ? sqn_schemeVariable : 0, diff --git a/lib/sbi/openapi/model/service_area_restriction.c b/lib/sbi/openapi/model/service_area_restriction.c index 261933a5d..fa1dfd2db 100644 --- a/lib/sbi/openapi/model/service_area_restriction.c +++ b/lib/sbi/openapi/model/service_area_restriction.c @@ -103,7 +103,7 @@ OpenAPI_service_area_restriction_t *OpenAPI_service_area_restriction_parseFromJS goto end; } restriction_typeVariable = OpenAPI_restriction_type_FromString(restriction_type->valuestring); -} + } cJSON *areas = cJSON_GetObjectItemCaseSensitive(service_area_restrictionJSON, "areas"); @@ -126,7 +126,7 @@ OpenAPI_service_area_restriction_t *OpenAPI_service_area_restriction_parseFromJS OpenAPI_list_add(areasList, areasItem); } -} + } cJSON *max_num_of_tas = cJSON_GetObjectItemCaseSensitive(service_area_restrictionJSON, "maxNumOfTAs"); @@ -135,7 +135,7 @@ OpenAPI_service_area_restriction_t *OpenAPI_service_area_restriction_parseFromJS ogs_error("OpenAPI_service_area_restriction_parseFromJSON() failed [max_num_of_tas]"); goto end; } -} + } cJSON *max_num_of_tas_for_not_allowed_areas = cJSON_GetObjectItemCaseSensitive(service_area_restrictionJSON, "maxNumOfTAsForNotAllowedAreas"); @@ -144,7 +144,7 @@ OpenAPI_service_area_restriction_t *OpenAPI_service_area_restriction_parseFromJS ogs_error("OpenAPI_service_area_restriction_parseFromJSON() failed [max_num_of_tas_for_not_allowed_areas]"); goto end; } -} + } service_area_restriction_local_var = OpenAPI_service_area_restriction_create ( restriction_type ? restriction_typeVariable : 0, diff --git a/lib/sbi/openapi/model/service_area_restriction_1.c b/lib/sbi/openapi/model/service_area_restriction_1.c index 0b3fb142d..5887f0dee 100644 --- a/lib/sbi/openapi/model/service_area_restriction_1.c +++ b/lib/sbi/openapi/model/service_area_restriction_1.c @@ -103,7 +103,7 @@ OpenAPI_service_area_restriction_1_t *OpenAPI_service_area_restriction_1_parseFr goto end; } restriction_typeVariable = OpenAPI_restriction_type_FromString(restriction_type->valuestring); -} + } cJSON *areas = cJSON_GetObjectItemCaseSensitive(service_area_restriction_1JSON, "areas"); @@ -126,7 +126,7 @@ OpenAPI_service_area_restriction_1_t *OpenAPI_service_area_restriction_1_parseFr OpenAPI_list_add(areasList, areasItem); } -} + } cJSON *max_num_of_tas = cJSON_GetObjectItemCaseSensitive(service_area_restriction_1JSON, "maxNumOfTAs"); @@ -135,7 +135,7 @@ OpenAPI_service_area_restriction_1_t *OpenAPI_service_area_restriction_1_parseFr ogs_error("OpenAPI_service_area_restriction_1_parseFromJSON() failed [max_num_of_tas]"); goto end; } -} + } cJSON *max_num_of_tas_for_not_allowed_areas = cJSON_GetObjectItemCaseSensitive(service_area_restriction_1JSON, "maxNumOfTAsForNotAllowedAreas"); @@ -144,7 +144,7 @@ OpenAPI_service_area_restriction_1_t *OpenAPI_service_area_restriction_1_parseFr ogs_error("OpenAPI_service_area_restriction_1_parseFromJSON() failed [max_num_of_tas_for_not_allowed_areas]"); goto end; } -} + } service_area_restriction_1_local_var = OpenAPI_service_area_restriction_1_create ( restriction_type ? restriction_typeVariable : 0, diff --git a/lib/sbi/openapi/model/service_parameter_data.c b/lib/sbi/openapi/model/service_parameter_data.c index f5f1485d6..b8af6ef03 100644 --- a/lib/sbi/openapi/model/service_parameter_data.c +++ b/lib/sbi/openapi/model/service_parameter_data.c @@ -183,7 +183,7 @@ OpenAPI_service_parameter_data_t *OpenAPI_service_parameter_data_parseFromJSON(c ogs_error("OpenAPI_service_parameter_data_parseFromJSON() failed [app_id]"); goto end; } -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(service_parameter_dataJSON, "dnn"); @@ -192,14 +192,14 @@ OpenAPI_service_parameter_data_t *OpenAPI_service_parameter_data_parseFromJSON(c ogs_error("OpenAPI_service_parameter_data_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *snssai = cJSON_GetObjectItemCaseSensitive(service_parameter_dataJSON, "snssai"); OpenAPI_snssai_t *snssai_local_nonprim = NULL; if (snssai) { snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(snssai); -} + } cJSON *inter_group_id = cJSON_GetObjectItemCaseSensitive(service_parameter_dataJSON, "interGroupId"); @@ -208,7 +208,7 @@ OpenAPI_service_parameter_data_t *OpenAPI_service_parameter_data_parseFromJSON(c ogs_error("OpenAPI_service_parameter_data_parseFromJSON() failed [inter_group_id]"); goto end; } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(service_parameter_dataJSON, "supi"); @@ -217,7 +217,7 @@ OpenAPI_service_parameter_data_t *OpenAPI_service_parameter_data_parseFromJSON(c ogs_error("OpenAPI_service_parameter_data_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *ue_ipv4 = cJSON_GetObjectItemCaseSensitive(service_parameter_dataJSON, "ueIpv4"); @@ -226,7 +226,7 @@ OpenAPI_service_parameter_data_t *OpenAPI_service_parameter_data_parseFromJSON(c ogs_error("OpenAPI_service_parameter_data_parseFromJSON() failed [ue_ipv4]"); goto end; } -} + } cJSON *ue_ipv6 = cJSON_GetObjectItemCaseSensitive(service_parameter_dataJSON, "ueIpv6"); @@ -235,7 +235,7 @@ OpenAPI_service_parameter_data_t *OpenAPI_service_parameter_data_parseFromJSON(c ogs_error("OpenAPI_service_parameter_data_parseFromJSON() failed [ue_ipv6]"); goto end; } -} + } cJSON *ue_mac = cJSON_GetObjectItemCaseSensitive(service_parameter_dataJSON, "ueMac"); @@ -244,7 +244,7 @@ OpenAPI_service_parameter_data_t *OpenAPI_service_parameter_data_parseFromJSON(c ogs_error("OpenAPI_service_parameter_data_parseFromJSON() failed [ue_mac]"); goto end; } -} + } cJSON *any_ue_ind = cJSON_GetObjectItemCaseSensitive(service_parameter_dataJSON, "anyUeInd"); @@ -253,7 +253,7 @@ OpenAPI_service_parameter_data_t *OpenAPI_service_parameter_data_parseFromJSON(c ogs_error("OpenAPI_service_parameter_data_parseFromJSON() failed [any_ue_ind]"); goto end; } -} + } cJSON *param_over_pc5 = cJSON_GetObjectItemCaseSensitive(service_parameter_dataJSON, "paramOverPc5"); @@ -262,7 +262,7 @@ OpenAPI_service_parameter_data_t *OpenAPI_service_parameter_data_parseFromJSON(c ogs_error("OpenAPI_service_parameter_data_parseFromJSON() failed [param_over_pc5]"); goto end; } -} + } cJSON *param_over_uu = cJSON_GetObjectItemCaseSensitive(service_parameter_dataJSON, "paramOverUu"); @@ -271,7 +271,7 @@ OpenAPI_service_parameter_data_t *OpenAPI_service_parameter_data_parseFromJSON(c ogs_error("OpenAPI_service_parameter_data_parseFromJSON() failed [param_over_uu]"); goto end; } -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(service_parameter_dataJSON, "suppFeat"); @@ -280,7 +280,7 @@ OpenAPI_service_parameter_data_t *OpenAPI_service_parameter_data_parseFromJSON(c ogs_error("OpenAPI_service_parameter_data_parseFromJSON() failed [supp_feat]"); goto end; } -} + } cJSON *res_uri = cJSON_GetObjectItemCaseSensitive(service_parameter_dataJSON, "resUri"); @@ -289,7 +289,7 @@ OpenAPI_service_parameter_data_t *OpenAPI_service_parameter_data_parseFromJSON(c ogs_error("OpenAPI_service_parameter_data_parseFromJSON() failed [res_uri]"); goto end; } -} + } service_parameter_data_local_var = OpenAPI_service_parameter_data_create ( app_id ? ogs_strdup_or_assert(app_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/service_parameter_data_patch.c b/lib/sbi/openapi/model/service_parameter_data_patch.c index 726ae797d..33b811554 100644 --- a/lib/sbi/openapi/model/service_parameter_data_patch.c +++ b/lib/sbi/openapi/model/service_parameter_data_patch.c @@ -68,7 +68,7 @@ OpenAPI_service_parameter_data_patch_t *OpenAPI_service_parameter_data_patch_par ogs_error("OpenAPI_service_parameter_data_patch_parseFromJSON() failed [param_over_pc5]"); goto end; } -} + } cJSON *param_over_uu = cJSON_GetObjectItemCaseSensitive(service_parameter_data_patchJSON, "paramOverUu"); @@ -77,7 +77,7 @@ OpenAPI_service_parameter_data_patch_t *OpenAPI_service_parameter_data_patch_par ogs_error("OpenAPI_service_parameter_data_patch_parseFromJSON() failed [param_over_uu]"); goto end; } -} + } service_parameter_data_patch_local_var = OpenAPI_service_parameter_data_patch_create ( param_over_pc5 ? ogs_strdup_or_assert(param_over_pc5->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/service_type_unrelated_class.c b/lib/sbi/openapi/model/service_type_unrelated_class.c index e751608e3..d9014b839 100644 --- a/lib/sbi/openapi/model/service_type_unrelated_class.c +++ b/lib/sbi/openapi/model/service_type_unrelated_class.c @@ -163,7 +163,7 @@ OpenAPI_service_type_unrelated_class_t *OpenAPI_service_type_unrelated_class_par OpenAPI_list_add(allowed_geographic_areaList, allowed_geographic_areaItem); } -} + } cJSON *privacy_check_related_action = cJSON_GetObjectItemCaseSensitive(service_type_unrelated_classJSON, "privacyCheckRelatedAction"); @@ -174,7 +174,7 @@ OpenAPI_service_type_unrelated_class_t *OpenAPI_service_type_unrelated_class_par goto end; } privacy_check_related_actionVariable = OpenAPI_privacy_check_related_action_FromString(privacy_check_related_action->valuestring); -} + } cJSON *code_word_ind = cJSON_GetObjectItemCaseSensitive(service_type_unrelated_classJSON, "codeWordInd"); @@ -185,14 +185,14 @@ OpenAPI_service_type_unrelated_class_t *OpenAPI_service_type_unrelated_class_par goto end; } code_word_indVariable = OpenAPI_code_word_ind_FromString(code_word_ind->valuestring); -} + } cJSON *valid_time_period = cJSON_GetObjectItemCaseSensitive(service_type_unrelated_classJSON, "validTimePeriod"); OpenAPI_valid_time_period_t *valid_time_period_local_nonprim = NULL; if (valid_time_period) { valid_time_period_local_nonprim = OpenAPI_valid_time_period_parseFromJSON(valid_time_period); -} + } cJSON *code_word_list = cJSON_GetObjectItemCaseSensitive(service_type_unrelated_classJSON, "codeWordList"); @@ -212,7 +212,7 @@ OpenAPI_service_type_unrelated_class_t *OpenAPI_service_type_unrelated_class_par } OpenAPI_list_add(code_word_listList , ogs_strdup_or_assert(code_word_list_local->valuestring)); } -} + } service_type_unrelated_class_local_var = OpenAPI_service_type_unrelated_class_create ( service_type->valuedouble, diff --git a/lib/sbi/openapi/model/service_type_unrelated_class_1.c b/lib/sbi/openapi/model/service_type_unrelated_class_1.c index 3bbf69051..6d86fcda6 100644 --- a/lib/sbi/openapi/model/service_type_unrelated_class_1.c +++ b/lib/sbi/openapi/model/service_type_unrelated_class_1.c @@ -163,7 +163,7 @@ OpenAPI_service_type_unrelated_class_1_t *OpenAPI_service_type_unrelated_class_1 OpenAPI_list_add(allowed_geographic_areaList, allowed_geographic_areaItem); } -} + } cJSON *privacy_check_related_action = cJSON_GetObjectItemCaseSensitive(service_type_unrelated_class_1JSON, "privacyCheckRelatedAction"); @@ -174,7 +174,7 @@ OpenAPI_service_type_unrelated_class_1_t *OpenAPI_service_type_unrelated_class_1 goto end; } privacy_check_related_actionVariable = OpenAPI_privacy_check_related_action_FromString(privacy_check_related_action->valuestring); -} + } cJSON *code_word_ind = cJSON_GetObjectItemCaseSensitive(service_type_unrelated_class_1JSON, "codeWordInd"); @@ -185,14 +185,14 @@ OpenAPI_service_type_unrelated_class_1_t *OpenAPI_service_type_unrelated_class_1 goto end; } code_word_indVariable = OpenAPI_code_word_ind_FromString(code_word_ind->valuestring); -} + } cJSON *valid_time_period = cJSON_GetObjectItemCaseSensitive(service_type_unrelated_class_1JSON, "validTimePeriod"); OpenAPI_valid_time_period_1_t *valid_time_period_local_nonprim = NULL; if (valid_time_period) { valid_time_period_local_nonprim = OpenAPI_valid_time_period_1_parseFromJSON(valid_time_period); -} + } cJSON *code_word_list = cJSON_GetObjectItemCaseSensitive(service_type_unrelated_class_1JSON, "codeWordList"); @@ -212,7 +212,7 @@ OpenAPI_service_type_unrelated_class_1_t *OpenAPI_service_type_unrelated_class_1 } OpenAPI_list_add(code_word_listList , ogs_strdup_or_assert(code_word_list_local->valuestring)); } -} + } service_type_unrelated_class_1_local_var = OpenAPI_service_type_unrelated_class_1_create ( service_type->valuedouble, diff --git a/lib/sbi/openapi/model/serving_nf_identity.c b/lib/sbi/openapi/model/serving_nf_identity.c index 334d20e14..63ba826c6 100644 --- a/lib/sbi/openapi/model/serving_nf_identity.c +++ b/lib/sbi/openapi/model/serving_nf_identity.c @@ -90,21 +90,21 @@ OpenAPI_serving_nf_identity_t *OpenAPI_serving_nf_identity_parseFromJSON(cJSON * ogs_error("OpenAPI_serving_nf_identity_parseFromJSON() failed [serv_nf_inst_id]"); goto end; } -} + } cJSON *guami = cJSON_GetObjectItemCaseSensitive(serving_nf_identityJSON, "guami"); OpenAPI_guami_t *guami_local_nonprim = NULL; if (guami) { guami_local_nonprim = OpenAPI_guami_parseFromJSON(guami); -} + } cJSON *an_gw_addr = cJSON_GetObjectItemCaseSensitive(serving_nf_identityJSON, "anGwAddr"); OpenAPI_an_gw_address_t *an_gw_addr_local_nonprim = NULL; if (an_gw_addr) { an_gw_addr_local_nonprim = OpenAPI_an_gw_address_parseFromJSON(an_gw_addr); -} + } serving_nf_identity_local_var = OpenAPI_serving_nf_identity_create ( serv_nf_inst_id ? ogs_strdup_or_assert(serv_nf_inst_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/session_management_subscription_data.c b/lib/sbi/openapi/model/session_management_subscription_data.c index 484d9fb2f..255642f89 100644 --- a/lib/sbi/openapi/model/session_management_subscription_data.c +++ b/lib/sbi/openapi/model/session_management_subscription_data.c @@ -273,7 +273,7 @@ OpenAPI_session_management_subscription_data_t *OpenAPI_session_management_subsc localMapObject->string, OpenAPI_dnn_configuration_parseFromJSON(localMapObject)); OpenAPI_list_add(dnn_configurationsList , localMapKeyPair); } -} + } cJSON *internal_group_ids = cJSON_GetObjectItemCaseSensitive(session_management_subscription_dataJSON, "internalGroupIds"); @@ -293,7 +293,7 @@ OpenAPI_session_management_subscription_data_t *OpenAPI_session_management_subsc } OpenAPI_list_add(internal_group_idsList , ogs_strdup_or_assert(internal_group_ids_local->valuestring)); } -} + } cJSON *shared_vn_group_data_ids = cJSON_GetObjectItemCaseSensitive(session_management_subscription_dataJSON, "sharedVnGroupDataIds"); @@ -310,7 +310,7 @@ OpenAPI_session_management_subscription_data_t *OpenAPI_session_management_subsc cJSON *localMapObject = shared_vn_group_data_ids_local_map; OpenAPI_list_add(shared_vn_group_data_idsList , localMapKeyPair); } -} + } cJSON *shared_dnn_configurations_id = cJSON_GetObjectItemCaseSensitive(session_management_subscription_dataJSON, "sharedDnnConfigurationsId"); @@ -319,7 +319,7 @@ OpenAPI_session_management_subscription_data_t *OpenAPI_session_management_subsc ogs_error("OpenAPI_session_management_subscription_data_parseFromJSON() failed [shared_dnn_configurations_id]"); goto end; } -} + } cJSON *odb_packet_services = cJSON_GetObjectItemCaseSensitive(session_management_subscription_dataJSON, "odbPacketServices"); @@ -330,14 +330,14 @@ OpenAPI_session_management_subscription_data_t *OpenAPI_session_management_subsc goto end; } odb_packet_servicesVariable = OpenAPI_odb_packet_services_FromString(odb_packet_services->valuestring); -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(session_management_subscription_dataJSON, "traceData"); OpenAPI_trace_data_1_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_1_parseFromJSON(trace_data); -} + } cJSON *shared_trace_data_id = cJSON_GetObjectItemCaseSensitive(session_management_subscription_dataJSON, "sharedTraceDataId"); @@ -346,7 +346,7 @@ OpenAPI_session_management_subscription_data_t *OpenAPI_session_management_subsc ogs_error("OpenAPI_session_management_subscription_data_parseFromJSON() failed [shared_trace_data_id]"); goto end; } -} + } cJSON *expected_ue_behaviours_list = cJSON_GetObjectItemCaseSensitive(session_management_subscription_dataJSON, "expectedUeBehavioursList"); @@ -369,7 +369,7 @@ OpenAPI_session_management_subscription_data_t *OpenAPI_session_management_subsc localMapObject->string, OpenAPI_expected_ue_behaviour_data_parseFromJSON(localMapObject)); OpenAPI_list_add(expected_ue_behaviours_listList , localMapKeyPair); } -} + } cJSON *suggested_packet_num_dl_list = cJSON_GetObjectItemCaseSensitive(session_management_subscription_dataJSON, "suggestedPacketNumDlList"); @@ -392,7 +392,7 @@ OpenAPI_session_management_subscription_data_t *OpenAPI_session_management_subsc localMapObject->string, OpenAPI_suggested_packet_num_dl_parseFromJSON(localMapObject)); OpenAPI_list_add(suggested_packet_num_dl_listList , localMapKeyPair); } -} + } cJSON *_3gpp_charging_characteristics = cJSON_GetObjectItemCaseSensitive(session_management_subscription_dataJSON, "3gppChargingCharacteristics"); @@ -401,7 +401,7 @@ OpenAPI_session_management_subscription_data_t *OpenAPI_session_management_subsc ogs_error("OpenAPI_session_management_subscription_data_parseFromJSON() failed [_3gpp_charging_characteristics]"); goto end; } -} + } session_management_subscription_data_local_var = OpenAPI_session_management_subscription_data_create ( single_nssai_local_nonprim, diff --git a/lib/sbi/openapi/model/session_management_subscription_data_1.c b/lib/sbi/openapi/model/session_management_subscription_data_1.c index 428bc66c5..2b3f220fb 100644 --- a/lib/sbi/openapi/model/session_management_subscription_data_1.c +++ b/lib/sbi/openapi/model/session_management_subscription_data_1.c @@ -273,7 +273,7 @@ OpenAPI_session_management_subscription_data_1_t *OpenAPI_session_management_sub localMapObject->string, OpenAPI_dnn_configuration_1_parseFromJSON(localMapObject)); OpenAPI_list_add(dnn_configurationsList , localMapKeyPair); } -} + } cJSON *internal_group_ids = cJSON_GetObjectItemCaseSensitive(session_management_subscription_data_1JSON, "internalGroupIds"); @@ -293,7 +293,7 @@ OpenAPI_session_management_subscription_data_1_t *OpenAPI_session_management_sub } OpenAPI_list_add(internal_group_idsList , ogs_strdup_or_assert(internal_group_ids_local->valuestring)); } -} + } cJSON *shared_vn_group_data_ids = cJSON_GetObjectItemCaseSensitive(session_management_subscription_data_1JSON, "sharedVnGroupDataIds"); @@ -310,7 +310,7 @@ OpenAPI_session_management_subscription_data_1_t *OpenAPI_session_management_sub cJSON *localMapObject = shared_vn_group_data_ids_local_map; OpenAPI_list_add(shared_vn_group_data_idsList , localMapKeyPair); } -} + } cJSON *shared_dnn_configurations_id = cJSON_GetObjectItemCaseSensitive(session_management_subscription_data_1JSON, "sharedDnnConfigurationsId"); @@ -319,7 +319,7 @@ OpenAPI_session_management_subscription_data_1_t *OpenAPI_session_management_sub ogs_error("OpenAPI_session_management_subscription_data_1_parseFromJSON() failed [shared_dnn_configurations_id]"); goto end; } -} + } cJSON *odb_packet_services = cJSON_GetObjectItemCaseSensitive(session_management_subscription_data_1JSON, "odbPacketServices"); @@ -330,14 +330,14 @@ OpenAPI_session_management_subscription_data_1_t *OpenAPI_session_management_sub goto end; } odb_packet_servicesVariable = OpenAPI_odb_packet_services_FromString(odb_packet_services->valuestring); -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(session_management_subscription_data_1JSON, "traceData"); OpenAPI_trace_data_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data); -} + } cJSON *shared_trace_data_id = cJSON_GetObjectItemCaseSensitive(session_management_subscription_data_1JSON, "sharedTraceDataId"); @@ -346,7 +346,7 @@ OpenAPI_session_management_subscription_data_1_t *OpenAPI_session_management_sub ogs_error("OpenAPI_session_management_subscription_data_1_parseFromJSON() failed [shared_trace_data_id]"); goto end; } -} + } cJSON *expected_ue_behaviours_list = cJSON_GetObjectItemCaseSensitive(session_management_subscription_data_1JSON, "expectedUeBehavioursList"); @@ -369,7 +369,7 @@ OpenAPI_session_management_subscription_data_1_t *OpenAPI_session_management_sub localMapObject->string, OpenAPI_expected_ue_behaviour_data_1_parseFromJSON(localMapObject)); OpenAPI_list_add(expected_ue_behaviours_listList , localMapKeyPair); } -} + } cJSON *suggested_packet_num_dl_list = cJSON_GetObjectItemCaseSensitive(session_management_subscription_data_1JSON, "suggestedPacketNumDlList"); @@ -392,7 +392,7 @@ OpenAPI_session_management_subscription_data_1_t *OpenAPI_session_management_sub localMapObject->string, OpenAPI_suggested_packet_num_dl_1_parseFromJSON(localMapObject)); OpenAPI_list_add(suggested_packet_num_dl_listList , localMapKeyPair); } -} + } cJSON *_3gpp_charging_characteristics = cJSON_GetObjectItemCaseSensitive(session_management_subscription_data_1JSON, "3gppChargingCharacteristics"); @@ -401,7 +401,7 @@ OpenAPI_session_management_subscription_data_1_t *OpenAPI_session_management_sub ogs_error("OpenAPI_session_management_subscription_data_1_parseFromJSON() failed [_3gpp_charging_characteristics]"); goto end; } -} + } session_management_subscription_data_1_local_var = OpenAPI_session_management_subscription_data_1_create ( single_nssai_local_nonprim, diff --git a/lib/sbi/openapi/model/session_rule.c b/lib/sbi/openapi/model/session_rule.c index f61d3ff53..e85608e0f 100644 --- a/lib/sbi/openapi/model/session_rule.c +++ b/lib/sbi/openapi/model/session_rule.c @@ -116,14 +116,14 @@ OpenAPI_session_rule_t *OpenAPI_session_rule_parseFromJSON(cJSON *session_ruleJS OpenAPI_ambr_t *auth_sess_ambr_local_nonprim = NULL; if (auth_sess_ambr) { auth_sess_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(auth_sess_ambr); -} + } cJSON *auth_def_qos = cJSON_GetObjectItemCaseSensitive(session_ruleJSON, "authDefQos"); OpenAPI_authorized_default_qos_t *auth_def_qos_local_nonprim = NULL; if (auth_def_qos) { auth_def_qos_local_nonprim = OpenAPI_authorized_default_qos_parseFromJSON(auth_def_qos); -} + } cJSON *sess_rule_id = cJSON_GetObjectItemCaseSensitive(session_ruleJSON, "sessRuleId"); if (!sess_rule_id) { @@ -144,7 +144,7 @@ OpenAPI_session_rule_t *OpenAPI_session_rule_parseFromJSON(cJSON *session_ruleJS ogs_error("OpenAPI_session_rule_parseFromJSON() failed [ref_um_data]"); goto end; } -} + } cJSON *ref_um_n3g_data = cJSON_GetObjectItemCaseSensitive(session_ruleJSON, "refUmN3gData"); @@ -153,7 +153,7 @@ OpenAPI_session_rule_t *OpenAPI_session_rule_parseFromJSON(cJSON *session_ruleJS ogs_error("OpenAPI_session_rule_parseFromJSON() failed [ref_um_n3g_data]"); goto end; } -} + } cJSON *ref_cond_data = cJSON_GetObjectItemCaseSensitive(session_ruleJSON, "refCondData"); @@ -162,7 +162,7 @@ OpenAPI_session_rule_t *OpenAPI_session_rule_parseFromJSON(cJSON *session_ruleJS ogs_error("OpenAPI_session_rule_parseFromJSON() failed [ref_cond_data]"); goto end; } -} + } session_rule_local_var = OpenAPI_session_rule_create ( auth_sess_ambr ? auth_sess_ambr_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/session_rule_report.c b/lib/sbi/openapi/model/session_rule_report.c index 20e91a63b..1ce7b6242 100644 --- a/lib/sbi/openapi/model/session_rule_report.c +++ b/lib/sbi/openapi/model/session_rule_report.c @@ -141,7 +141,7 @@ OpenAPI_session_rule_report_t *OpenAPI_session_rule_report_parseFromJSON(cJSON * goto end; } sess_rule_failure_codeVariable = OpenAPI_session_rule_failure_code_FromString(sess_rule_failure_code->valuestring); -} + } cJSON *policy_dec_failure_reports = cJSON_GetObjectItemCaseSensitive(session_rule_reportJSON, "policyDecFailureReports"); @@ -163,7 +163,7 @@ OpenAPI_session_rule_report_t *OpenAPI_session_rule_report_parseFromJSON(cJSON * OpenAPI_list_add(policy_dec_failure_reportsList, (void *)OpenAPI_policy_decision_failure_code_FromString(policy_dec_failure_reports_local_nonprimitive->valuestring)); } -} + } session_rule_report_local_var = OpenAPI_session_rule_report_create ( rule_idsList, diff --git a/lib/sbi/openapi/model/shared_data.c b/lib/sbi/openapi/model/shared_data.c index 2f9797462..8022026f9 100644 --- a/lib/sbi/openapi/model/shared_data.c +++ b/lib/sbi/openapi/model/shared_data.c @@ -217,21 +217,21 @@ OpenAPI_shared_data_t *OpenAPI_shared_data_parseFromJSON(cJSON *shared_dataJSON) OpenAPI_access_and_mobility_subscription_data_1_t *shared_am_data_local_nonprim = NULL; if (shared_am_data) { shared_am_data_local_nonprim = OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON(shared_am_data); -} + } cJSON *shared_sms_subs_data = cJSON_GetObjectItemCaseSensitive(shared_dataJSON, "sharedSmsSubsData"); OpenAPI_sms_subscription_data_1_t *shared_sms_subs_data_local_nonprim = NULL; if (shared_sms_subs_data) { shared_sms_subs_data_local_nonprim = OpenAPI_sms_subscription_data_1_parseFromJSON(shared_sms_subs_data); -} + } cJSON *shared_sms_mng_subs_data = cJSON_GetObjectItemCaseSensitive(shared_dataJSON, "sharedSmsMngSubsData"); OpenAPI_sms_management_subscription_data_1_t *shared_sms_mng_subs_data_local_nonprim = NULL; if (shared_sms_mng_subs_data) { shared_sms_mng_subs_data_local_nonprim = OpenAPI_sms_management_subscription_data_1_parseFromJSON(shared_sms_mng_subs_data); -} + } cJSON *shared_dnn_configurations = cJSON_GetObjectItemCaseSensitive(shared_dataJSON, "sharedDnnConfigurations"); @@ -254,14 +254,14 @@ OpenAPI_shared_data_t *OpenAPI_shared_data_parseFromJSON(cJSON *shared_dataJSON) localMapObject->string, OpenAPI_dnn_configuration_1_parseFromJSON(localMapObject)); OpenAPI_list_add(shared_dnn_configurationsList , localMapKeyPair); } -} + } cJSON *shared_trace_data = cJSON_GetObjectItemCaseSensitive(shared_dataJSON, "sharedTraceData"); OpenAPI_trace_data_t *shared_trace_data_local_nonprim = NULL; if (shared_trace_data) { shared_trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(shared_trace_data); -} + } cJSON *shared_snssai_infos = cJSON_GetObjectItemCaseSensitive(shared_dataJSON, "sharedSnssaiInfos"); @@ -284,7 +284,7 @@ OpenAPI_shared_data_t *OpenAPI_shared_data_parseFromJSON(cJSON *shared_dataJSON) localMapObject->string, OpenAPI_snssai_info_parseFromJSON(localMapObject)); OpenAPI_list_add(shared_snssai_infosList , localMapKeyPair); } -} + } cJSON *shared_vn_group_datas = cJSON_GetObjectItemCaseSensitive(shared_dataJSON, "sharedVnGroupDatas"); @@ -307,7 +307,7 @@ OpenAPI_shared_data_t *OpenAPI_shared_data_parseFromJSON(cJSON *shared_dataJSON) localMapObject->string, OpenAPI_vn_group_data_parseFromJSON(localMapObject)); OpenAPI_list_add(shared_vn_group_datasList , localMapKeyPair); } -} + } shared_data_local_var = OpenAPI_shared_data_create ( ogs_strdup_or_assert(shared_data_id->valuestring), diff --git a/lib/sbi/openapi/model/slice_info_for_pdu_session.c b/lib/sbi/openapi/model/slice_info_for_pdu_session.c index 153023b85..cedb6bb46 100644 --- a/lib/sbi/openapi/model/slice_info_for_pdu_session.c +++ b/lib/sbi/openapi/model/slice_info_for_pdu_session.c @@ -107,7 +107,7 @@ OpenAPI_slice_info_for_pdu_session_t *OpenAPI_slice_info_for_pdu_session_parseFr OpenAPI_snssai_t *home_snssai_local_nonprim = NULL; if (home_snssai) { home_snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(home_snssai); -} + } slice_info_for_pdu_session_local_var = OpenAPI_slice_info_for_pdu_session_create ( s_nssai_local_nonprim, diff --git a/lib/sbi/openapi/model/slice_info_for_registration.c b/lib/sbi/openapi/model/slice_info_for_registration.c index 8d83edd93..1976edcc2 100644 --- a/lib/sbi/openapi/model/slice_info_for_registration.c +++ b/lib/sbi/openapi/model/slice_info_for_registration.c @@ -216,21 +216,21 @@ OpenAPI_slice_info_for_registration_t *OpenAPI_slice_info_for_registration_parse OpenAPI_list_add(subscribed_nssaiList, subscribed_nssaiItem); } -} + } cJSON *allowed_nssai_current_access = cJSON_GetObjectItemCaseSensitive(slice_info_for_registrationJSON, "allowedNssaiCurrentAccess"); OpenAPI_allowed_nssai_t *allowed_nssai_current_access_local_nonprim = NULL; if (allowed_nssai_current_access) { allowed_nssai_current_access_local_nonprim = OpenAPI_allowed_nssai_parseFromJSON(allowed_nssai_current_access); -} + } cJSON *allowed_nssai_other_access = cJSON_GetObjectItemCaseSensitive(slice_info_for_registrationJSON, "allowedNssaiOtherAccess"); OpenAPI_allowed_nssai_t *allowed_nssai_other_access_local_nonprim = NULL; if (allowed_nssai_other_access) { allowed_nssai_other_access_local_nonprim = OpenAPI_allowed_nssai_parseFromJSON(allowed_nssai_other_access); -} + } cJSON *s_nssai_for_mapping = cJSON_GetObjectItemCaseSensitive(slice_info_for_registrationJSON, "sNssaiForMapping"); @@ -253,7 +253,7 @@ OpenAPI_slice_info_for_registration_t *OpenAPI_slice_info_for_registration_parse OpenAPI_list_add(s_nssai_for_mappingList, s_nssai_for_mappingItem); } -} + } cJSON *requested_nssai = cJSON_GetObjectItemCaseSensitive(slice_info_for_registrationJSON, "requestedNssai"); @@ -276,7 +276,7 @@ OpenAPI_slice_info_for_registration_t *OpenAPI_slice_info_for_registration_parse OpenAPI_list_add(requested_nssaiList, requested_nssaiItem); } -} + } cJSON *default_configured_snssai_ind = cJSON_GetObjectItemCaseSensitive(slice_info_for_registrationJSON, "defaultConfiguredSnssaiInd"); @@ -285,7 +285,7 @@ OpenAPI_slice_info_for_registration_t *OpenAPI_slice_info_for_registration_parse ogs_error("OpenAPI_slice_info_for_registration_parseFromJSON() failed [default_configured_snssai_ind]"); goto end; } -} + } cJSON *mapping_of_nssai = cJSON_GetObjectItemCaseSensitive(slice_info_for_registrationJSON, "mappingOfNssai"); @@ -308,7 +308,7 @@ OpenAPI_slice_info_for_registration_t *OpenAPI_slice_info_for_registration_parse OpenAPI_list_add(mapping_of_nssaiList, mapping_of_nssaiItem); } -} + } cJSON *request_mapping = cJSON_GetObjectItemCaseSensitive(slice_info_for_registrationJSON, "requestMapping"); @@ -317,7 +317,7 @@ OpenAPI_slice_info_for_registration_t *OpenAPI_slice_info_for_registration_parse ogs_error("OpenAPI_slice_info_for_registration_parseFromJSON() failed [request_mapping]"); goto end; } -} + } slice_info_for_registration_local_var = OpenAPI_slice_info_for_registration_create ( subscribed_nssai ? subscribed_nssaiList : NULL, diff --git a/lib/sbi/openapi/model/slice_info_for_ue_configuration_update.c b/lib/sbi/openapi/model/slice_info_for_ue_configuration_update.c index 338bc78be..9cab4a46e 100644 --- a/lib/sbi/openapi/model/slice_info_for_ue_configuration_update.c +++ b/lib/sbi/openapi/model/slice_info_for_ue_configuration_update.c @@ -181,21 +181,21 @@ OpenAPI_slice_info_for_ue_configuration_update_t *OpenAPI_slice_info_for_ue_conf OpenAPI_list_add(subscribed_nssaiList, subscribed_nssaiItem); } -} + } cJSON *allowed_nssai_current_access = cJSON_GetObjectItemCaseSensitive(slice_info_for_ue_configuration_updateJSON, "allowedNssaiCurrentAccess"); OpenAPI_allowed_nssai_t *allowed_nssai_current_access_local_nonprim = NULL; if (allowed_nssai_current_access) { allowed_nssai_current_access_local_nonprim = OpenAPI_allowed_nssai_parseFromJSON(allowed_nssai_current_access); -} + } cJSON *allowed_nssai_other_access = cJSON_GetObjectItemCaseSensitive(slice_info_for_ue_configuration_updateJSON, "allowedNssaiOtherAccess"); OpenAPI_allowed_nssai_t *allowed_nssai_other_access_local_nonprim = NULL; if (allowed_nssai_other_access) { allowed_nssai_other_access_local_nonprim = OpenAPI_allowed_nssai_parseFromJSON(allowed_nssai_other_access); -} + } cJSON *default_configured_snssai_ind = cJSON_GetObjectItemCaseSensitive(slice_info_for_ue_configuration_updateJSON, "defaultConfiguredSnssaiInd"); @@ -204,7 +204,7 @@ OpenAPI_slice_info_for_ue_configuration_update_t *OpenAPI_slice_info_for_ue_conf ogs_error("OpenAPI_slice_info_for_ue_configuration_update_parseFromJSON() failed [default_configured_snssai_ind]"); goto end; } -} + } cJSON *requested_nssai = cJSON_GetObjectItemCaseSensitive(slice_info_for_ue_configuration_updateJSON, "requestedNssai"); @@ -227,7 +227,7 @@ OpenAPI_slice_info_for_ue_configuration_update_t *OpenAPI_slice_info_for_ue_conf OpenAPI_list_add(requested_nssaiList, requested_nssaiItem); } -} + } cJSON *mapping_of_nssai = cJSON_GetObjectItemCaseSensitive(slice_info_for_ue_configuration_updateJSON, "mappingOfNssai"); @@ -250,7 +250,7 @@ OpenAPI_slice_info_for_ue_configuration_update_t *OpenAPI_slice_info_for_ue_conf OpenAPI_list_add(mapping_of_nssaiList, mapping_of_nssaiItem); } -} + } slice_info_for_ue_configuration_update_local_var = OpenAPI_slice_info_for_ue_configuration_update_create ( subscribed_nssai ? subscribed_nssaiList : NULL, diff --git a/lib/sbi/openapi/model/sm_context.c b/lib/sbi/openapi/model/sm_context.c index e0193c195..206f36a54 100644 --- a/lib/sbi/openapi/model/sm_context.c +++ b/lib/sbi/openapi/model/sm_context.c @@ -656,7 +656,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [selected_dnn]"); goto end; } -} + } cJSON *s_nssai = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "sNssai"); if (!s_nssai) { @@ -673,7 +673,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) OpenAPI_snssai_t *hplmn_snssai_local_nonprim = NULL; if (hplmn_snssai) { hplmn_snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(hplmn_snssai); -} + } cJSON *pdu_session_type = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "pduSessionType"); if (!pdu_session_type) { @@ -696,7 +696,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *h_smf_uri = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "hSmfUri"); @@ -705,7 +705,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [h_smf_uri]"); goto end; } -} + } cJSON *smf_uri = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "smfUri"); @@ -714,7 +714,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [smf_uri]"); goto end; } -} + } cJSON *pdu_session_ref = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "pduSessionRef"); @@ -723,7 +723,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [pdu_session_ref]"); goto end; } -} + } cJSON *pcf_id = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "pcfId"); @@ -732,7 +732,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [pcf_id]"); goto end; } -} + } cJSON *pcf_group_id = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "pcfGroupId"); @@ -741,7 +741,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [pcf_group_id]"); goto end; } -} + } cJSON *pcf_set_id = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "pcfSetId"); @@ -750,7 +750,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [pcf_set_id]"); goto end; } -} + } cJSON *sel_mode = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "selMode"); @@ -761,7 +761,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) goto end; } sel_modeVariable = OpenAPI_dnn_selection_mode_FromString(sel_mode->valuestring); -} + } cJSON *udm_group_id = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "udmGroupId"); @@ -770,7 +770,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [udm_group_id]"); goto end; } -} + } cJSON *routing_indicator = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "routingIndicator"); @@ -779,7 +779,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [routing_indicator]"); goto end; } -} + } cJSON *session_ambr = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "sessionAmbr"); if (!session_ambr) { @@ -824,7 +824,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [h_smf_instance_id]"); goto end; } -} + } cJSON *smf_instance_id = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "smfInstanceId"); @@ -833,7 +833,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [smf_instance_id]"); goto end; } -} + } cJSON *pdu_session_smf_set_id = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "pduSessionSmfSetId"); @@ -842,7 +842,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [pdu_session_smf_set_id]"); goto end; } -} + } cJSON *pdu_session_smf_service_set_id = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "pduSessionSmfServiceSetId"); @@ -851,7 +851,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [pdu_session_smf_service_set_id]"); goto end; } -} + } cJSON *pdu_session_smf_binding = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "pduSessionSmfBinding"); @@ -862,7 +862,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) goto end; } pdu_session_smf_bindingVariable = OpenAPI_sbi_binding_level_FromString(pdu_session_smf_binding->valuestring); -} + } cJSON *enable_pause_charging = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "enablePauseCharging"); @@ -871,7 +871,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [enable_pause_charging]"); goto end; } -} + } cJSON *ue_ipv4_address = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "ueIpv4Address"); @@ -880,7 +880,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [ue_ipv4_address]"); goto end; } -} + } cJSON *ue_ipv6_prefix = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "ueIpv6Prefix"); @@ -889,14 +889,14 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [ue_ipv6_prefix]"); goto end; } -} + } cJSON *eps_pdn_cnx_info = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "epsPdnCnxInfo"); OpenAPI_eps_pdn_cnx_info_t *eps_pdn_cnx_info_local_nonprim = NULL; if (eps_pdn_cnx_info) { eps_pdn_cnx_info_local_nonprim = OpenAPI_eps_pdn_cnx_info_parseFromJSON(eps_pdn_cnx_info); -} + } cJSON *eps_bearer_info = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "epsBearerInfo"); @@ -919,7 +919,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) OpenAPI_list_add(eps_bearer_infoList, eps_bearer_infoItem); } -} + } cJSON *max_integrity_protected_data_rate = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "maxIntegrityProtectedDataRate"); @@ -930,7 +930,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) goto end; } max_integrity_protected_data_rateVariable = OpenAPI_max_integrity_protected_data_rate_FromString(max_integrity_protected_data_rate->valuestring); -} + } cJSON *always_on_granted = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "alwaysOnGranted"); @@ -939,14 +939,14 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [always_on_granted]"); goto end; } -} + } cJSON *up_security = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "upSecurity"); OpenAPI_up_security_t *up_security_local_nonprim = NULL; if (up_security) { up_security_local_nonprim = OpenAPI_up_security_parseFromJSON(up_security); -} + } cJSON *h_smf_service_instance_id = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "hSmfServiceInstanceId"); @@ -955,7 +955,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [h_smf_service_instance_id]"); goto end; } -} + } cJSON *smf_service_instance_id = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "smfServiceInstanceId"); @@ -964,7 +964,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [smf_service_instance_id]"); goto end; } -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "recoveryTime"); @@ -973,7 +973,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [recovery_time]"); goto end; } -} + } cJSON *forwarding_ind = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "forwardingInd"); @@ -982,14 +982,14 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [forwarding_ind]"); goto end; } -} + } cJSON *psa_tunnel_info = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "psaTunnelInfo"); OpenAPI_tunnel_info_t *psa_tunnel_info_local_nonprim = NULL; if (psa_tunnel_info) { psa_tunnel_info_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(psa_tunnel_info); -} + } cJSON *charging_id = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "chargingId"); @@ -998,21 +998,21 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [charging_id]"); goto end; } -} + } cJSON *charging_info = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "chargingInfo"); OpenAPI_charging_information_t *charging_info_local_nonprim = NULL; if (charging_info) { charging_info_local_nonprim = OpenAPI_charging_information_parseFromJSON(charging_info); -} + } cJSON *roaming_charging_profile = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "roamingChargingProfile"); OpenAPI_roaming_charging_profile_t *roaming_charging_profile_local_nonprim = NULL; if (roaming_charging_profile) { roaming_charging_profile_local_nonprim = OpenAPI_roaming_charging_profile_parseFromJSON(roaming_charging_profile); -} + } cJSON *nef_ext_buf_support_ind = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "nefExtBufSupportInd"); @@ -1021,7 +1021,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [nef_ext_buf_support_ind]"); goto end; } -} + } cJSON *ipv6_index = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "ipv6Index"); @@ -1030,28 +1030,28 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) ogs_error("OpenAPI_sm_context_parseFromJSON() failed [ipv6_index]"); goto end; } -} + } cJSON *dn_aaa_address = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "dnAaaAddress"); OpenAPI_ip_address_t *dn_aaa_address_local_nonprim = NULL; if (dn_aaa_address) { dn_aaa_address_local_nonprim = OpenAPI_ip_address_parseFromJSON(dn_aaa_address); -} + } cJSON *redundant_pdu_session_info = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "redundantPduSessionInfo"); OpenAPI_redundant_pdu_session_information_t *redundant_pdu_session_info_local_nonprim = NULL; if (redundant_pdu_session_info) { redundant_pdu_session_info_local_nonprim = OpenAPI_redundant_pdu_session_information_parseFromJSON(redundant_pdu_session_info); -} + } cJSON *ran_tunnel_info = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "ranTunnelInfo"); OpenAPI_qos_flow_tunnel_t *ran_tunnel_info_local_nonprim = NULL; if (ran_tunnel_info) { ran_tunnel_info_local_nonprim = OpenAPI_qos_flow_tunnel_parseFromJSON(ran_tunnel_info); -} + } cJSON *add_ran_tunnel_info = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "addRanTunnelInfo"); @@ -1074,14 +1074,14 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) OpenAPI_list_add(add_ran_tunnel_infoList, add_ran_tunnel_infoItem); } -} + } cJSON *red_ran_tunnel_info = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "redRanTunnelInfo"); OpenAPI_qos_flow_tunnel_t *red_ran_tunnel_info_local_nonprim = NULL; if (red_ran_tunnel_info) { red_ran_tunnel_info_local_nonprim = OpenAPI_qos_flow_tunnel_parseFromJSON(red_ran_tunnel_info); -} + } cJSON *add_red_ran_tunnel_info = cJSON_GetObjectItemCaseSensitive(sm_contextJSON, "addRedRanTunnelInfo"); @@ -1104,7 +1104,7 @@ OpenAPI_sm_context_t *OpenAPI_sm_context_parseFromJSON(cJSON *sm_contextJSON) OpenAPI_list_add(add_red_ran_tunnel_infoList, add_red_ran_tunnel_infoItem); } -} + } sm_context_local_var = OpenAPI_sm_context_create ( pdu_session_id->valuedouble, diff --git a/lib/sbi/openapi/model/sm_context_create_data.c b/lib/sbi/openapi/model/sm_context_create_data.c index 08997a654..f46f91914 100644 --- a/lib/sbi/openapi/model/sm_context_create_data.c +++ b/lib/sbi/openapi/model/sm_context_create_data.c @@ -962,7 +962,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *unauthenticated_supi = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "unauthenticatedSupi"); @@ -971,7 +971,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [unauthenticated_supi]"); goto end; } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "pei"); @@ -980,7 +980,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "gpsi"); @@ -989,7 +989,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *pdu_session_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "pduSessionId"); @@ -998,7 +998,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [pdu_session_id]"); goto end; } -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "dnn"); @@ -1007,7 +1007,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *selected_dnn = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "selectedDnn"); @@ -1016,21 +1016,21 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [selected_dnn]"); goto end; } -} + } cJSON *s_nssai = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "sNssai"); OpenAPI_snssai_t *s_nssai_local_nonprim = NULL; if (s_nssai) { s_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(s_nssai); -} + } cJSON *hplmn_snssai = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "hplmnSnssai"); OpenAPI_snssai_t *hplmn_snssai_local_nonprim = NULL; if (hplmn_snssai) { hplmn_snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(hplmn_snssai); -} + } cJSON *serving_nf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "servingNfId"); if (!serving_nf_id) { @@ -1049,7 +1049,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c OpenAPI_guami_t *guami_local_nonprim = NULL; if (guami) { guami_local_nonprim = OpenAPI_guami_parseFromJSON(guami); -} + } cJSON *service_name = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "serviceName"); @@ -1058,7 +1058,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [service_name]"); goto end; } -} + } cJSON *serving_network = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "servingNetwork"); if (!serving_network) { @@ -1079,14 +1079,14 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c goto end; } request_typeVariable = OpenAPI_request_type_FromString(request_type->valuestring); -} + } cJSON *n1_sm_msg = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "n1SmMsg"); OpenAPI_ref_to_binary_data_t *n1_sm_msg_local_nonprim = NULL; if (n1_sm_msg) { n1_sm_msg_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_msg); -} + } cJSON *an_type = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "anType"); if (!an_type) { @@ -1111,7 +1111,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c goto end; } additional_an_typeVariable = OpenAPI_access_type_FromString(additional_an_type->valuestring); -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "ratType"); @@ -1122,7 +1122,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c goto end; } rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring); -} + } cJSON *presence_in_ladn = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "presenceInLadn"); @@ -1133,14 +1133,14 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c goto end; } presence_in_ladnVariable = OpenAPI_presence_state_FromString(presence_in_ladn->valuestring); -} + } cJSON *ue_location = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "ueLocation"); OpenAPI_user_location_t *ue_location_local_nonprim = NULL; if (ue_location) { ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_location); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "ueTimeZone"); @@ -1149,14 +1149,14 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *add_ue_location = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "addUeLocation"); OpenAPI_user_location_t *add_ue_location_local_nonprim = NULL; if (add_ue_location) { add_ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(add_ue_location); -} + } cJSON *sm_context_status_uri = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smContextStatusUri"); if (!sm_context_status_uri) { @@ -1177,7 +1177,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [h_smf_uri]"); goto end; } -} + } cJSON *h_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "hSmfId"); @@ -1186,7 +1186,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [h_smf_id]"); goto end; } -} + } cJSON *smf_uri = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smfUri"); @@ -1195,7 +1195,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [smf_uri]"); goto end; } -} + } cJSON *smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smfId"); @@ -1204,7 +1204,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [smf_id]"); goto end; } -} + } cJSON *additional_hsmf_uri = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "additionalHsmfUri"); @@ -1224,7 +1224,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c } OpenAPI_list_add(additional_hsmf_uriList , ogs_strdup_or_assert(additional_hsmf_uri_local->valuestring)); } -} + } cJSON *additional_hsmf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "additionalHsmfId"); @@ -1244,7 +1244,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c } OpenAPI_list_add(additional_hsmf_idList , ogs_strdup_or_assert(additional_hsmf_id_local->valuestring)); } -} + } cJSON *additional_smf_uri = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "additionalSmfUri"); @@ -1264,7 +1264,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c } OpenAPI_list_add(additional_smf_uriList , ogs_strdup_or_assert(additional_smf_uri_local->valuestring)); } -} + } cJSON *additional_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "additionalSmfId"); @@ -1284,7 +1284,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c } OpenAPI_list_add(additional_smf_idList , ogs_strdup_or_assert(additional_smf_id_local->valuestring)); } -} + } cJSON *old_pdu_session_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "oldPduSessionId"); @@ -1293,7 +1293,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [old_pdu_session_id]"); goto end; } -} + } cJSON *pdu_sessions_activate_list = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "pduSessionsActivateList"); @@ -1313,7 +1313,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c } OpenAPI_list_add(pdu_sessions_activate_listList , &pdu_sessions_activate_list_local->valuedouble); } -} + } cJSON *ue_eps_pdn_connection = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "ueEpsPdnConnection"); @@ -1322,7 +1322,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [ue_eps_pdn_connection]"); goto end; } -} + } cJSON *ho_state = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "hoState"); @@ -1333,7 +1333,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c goto end; } ho_stateVariable = OpenAPI_ho_state_FromString(ho_state->valuestring); -} + } cJSON *pcf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "pcfId"); @@ -1342,7 +1342,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [pcf_id]"); goto end; } -} + } cJSON *pcf_group_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "pcfGroupId"); @@ -1351,7 +1351,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [pcf_group_id]"); goto end; } -} + } cJSON *pcf_set_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "pcfSetId"); @@ -1360,7 +1360,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [pcf_set_id]"); goto end; } -} + } cJSON *nrf_uri = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "nrfUri"); @@ -1369,7 +1369,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [nrf_uri]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "supportedFeatures"); @@ -1378,7 +1378,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *sel_mode = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "selMode"); @@ -1389,7 +1389,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c goto end; } sel_modeVariable = OpenAPI_dnn_selection_mode_FromString(sel_mode->valuestring); -} + } cJSON *backup_amf_info = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "backupAmfInfo"); @@ -1412,14 +1412,14 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c OpenAPI_list_add(backup_amf_infoList, backup_amf_infoItem); } -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "traceData"); OpenAPI_trace_data_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data); -} + } cJSON *udm_group_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "udmGroupId"); @@ -1428,7 +1428,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [udm_group_id]"); goto end; } -} + } cJSON *routing_indicator = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "routingIndicator"); @@ -1437,7 +1437,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [routing_indicator]"); goto end; } -} + } cJSON *eps_interworking_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "epsInterworkingInd"); @@ -1448,7 +1448,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c goto end; } eps_interworking_indVariable = OpenAPI_eps_interworking_indication_FromString(eps_interworking_ind->valuestring); -} + } cJSON *indirect_forwarding_flag = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "indirectForwardingFlag"); @@ -1457,7 +1457,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [indirect_forwarding_flag]"); goto end; } -} + } cJSON *direct_forwarding_flag = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "directForwardingFlag"); @@ -1466,14 +1466,14 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [direct_forwarding_flag]"); goto end; } -} + } cJSON *target_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "targetId"); OpenAPI_ng_ran_target_id_t *target_id_local_nonprim = NULL; if (target_id) { target_id_local_nonprim = OpenAPI_ng_ran_target_id_parseFromJSON(target_id); -} + } cJSON *eps_bearer_ctx_status = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "epsBearerCtxStatus"); @@ -1482,7 +1482,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [eps_bearer_ctx_status]"); goto end; } -} + } cJSON *cp_ciot_enabled = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "cpCiotEnabled"); @@ -1491,7 +1491,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [cp_ciot_enabled]"); goto end; } -} + } cJSON *cp_only_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "cpOnlyInd"); @@ -1500,7 +1500,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [cp_only_ind]"); goto end; } -} + } cJSON *invoke_nef = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "invokeNef"); @@ -1509,7 +1509,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [invoke_nef]"); goto end; } -} + } cJSON *ma_request_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "maRequestInd"); @@ -1518,7 +1518,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [ma_request_ind]"); goto end; } -} + } cJSON *ma_nw_upgrade_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "maNwUpgradeInd"); @@ -1527,14 +1527,14 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [ma_nw_upgrade_ind]"); goto end; } -} + } cJSON *n2_sm_info = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "n2SmInfo"); OpenAPI_ref_to_binary_data_t *n2_sm_info_local_nonprim = NULL; if (n2_sm_info) { n2_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n2_sm_info); -} + } cJSON *n2_sm_info_type = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "n2SmInfoType"); @@ -1545,14 +1545,14 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c goto end; } n2_sm_info_typeVariable = OpenAPI_n2_sm_info_type_FromString(n2_sm_info_type->valuestring); -} + } cJSON *n2_sm_info_ext1 = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "n2SmInfoExt1"); OpenAPI_ref_to_binary_data_t *n2_sm_info_ext1_local_nonprim = NULL; if (n2_sm_info_ext1) { n2_sm_info_ext1_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n2_sm_info_ext1); -} + } cJSON *n2_sm_info_type_ext1 = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "n2SmInfoTypeExt1"); @@ -1563,7 +1563,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c goto end; } n2_sm_info_type_ext1Variable = OpenAPI_n2_sm_info_type_FromString(n2_sm_info_type_ext1->valuestring); -} + } cJSON *sm_context_ref = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smContextRef"); @@ -1572,7 +1572,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [sm_context_ref]"); goto end; } -} + } cJSON *sm_context_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smContextSmfId"); @@ -1581,7 +1581,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [sm_context_smf_id]"); goto end; } -} + } cJSON *sm_context_smf_set_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smContextSmfSetId"); @@ -1590,7 +1590,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [sm_context_smf_set_id]"); goto end; } -} + } cJSON *sm_context_smf_service_set_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smContextSmfServiceSetId"); @@ -1599,7 +1599,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [sm_context_smf_service_set_id]"); goto end; } -} + } cJSON *sm_context_smf_binding = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smContextSmfBinding"); @@ -1610,7 +1610,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c goto end; } sm_context_smf_bindingVariable = OpenAPI_sbi_binding_level_FromString(sm_context_smf_binding->valuestring); -} + } cJSON *up_cnx_state = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "upCnxState"); @@ -1621,21 +1621,21 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c goto end; } up_cnx_stateVariable = OpenAPI_up_cnx_state_FromString(up_cnx_state->valuestring); -} + } cJSON *small_data_rate_status = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smallDataRateStatus"); OpenAPI_small_data_rate_status_t *small_data_rate_status_local_nonprim = NULL; if (small_data_rate_status) { small_data_rate_status_local_nonprim = OpenAPI_small_data_rate_status_parseFromJSON(small_data_rate_status); -} + } cJSON *apn_rate_status = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "apnRateStatus"); OpenAPI_apn_rate_status_t *apn_rate_status_local_nonprim = NULL; if (apn_rate_status) { apn_rate_status_local_nonprim = OpenAPI_apn_rate_status_parseFromJSON(apn_rate_status); -} + } cJSON *extended_nas_sm_timer_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "extendedNasSmTimerInd"); @@ -1644,7 +1644,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [extended_nas_sm_timer_ind]"); goto end; } -} + } cJSON *dl_data_waiting_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "dlDataWaitingInd"); @@ -1653,14 +1653,14 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [dl_data_waiting_ind]"); goto end; } -} + } cJSON *ddn_failure_subs = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "ddnFailureSubs"); OpenAPI_ddn_failure_subs_t *ddn_failure_subs_local_nonprim = NULL; if (ddn_failure_subs) { ddn_failure_subs_local_nonprim = OpenAPI_ddn_failure_subs_parseFromJSON(ddn_failure_subs); -} + } cJSON *smf_transfer_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "smfTransferInd"); @@ -1669,7 +1669,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [smf_transfer_ind]"); goto end; } -} + } cJSON *old_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "oldSmfId"); @@ -1678,7 +1678,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [old_smf_id]"); goto end; } -} + } cJSON *old_sm_context_ref = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "oldSmContextRef"); @@ -1687,28 +1687,28 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [old_sm_context_ref]"); goto end; } -} + } cJSON *w_agf_info = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "wAgfInfo"); OpenAPI_w_agf_info_t *w_agf_info_local_nonprim = NULL; if (w_agf_info) { w_agf_info_local_nonprim = OpenAPI_w_agf_info_parseFromJSON(w_agf_info); -} + } cJSON *tngf_info = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "tngfInfo"); OpenAPI_tngf_info_t *tngf_info_local_nonprim = NULL; if (tngf_info) { tngf_info_local_nonprim = OpenAPI_tngf_info_parseFromJSON(tngf_info); -} + } cJSON *twif_info = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "twifInfo"); OpenAPI_twif_info_t *twif_info_local_nonprim = NULL; if (twif_info) { twif_info_local_nonprim = OpenAPI_twif_info_parseFromJSON(twif_info); -} + } cJSON *ran_unchanged_ind = cJSON_GetObjectItemCaseSensitive(sm_context_create_dataJSON, "ranUnchangedInd"); @@ -1717,7 +1717,7 @@ OpenAPI_sm_context_create_data_t *OpenAPI_sm_context_create_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_create_data_parseFromJSON() failed [ran_unchanged_ind]"); goto end; } -} + } sm_context_create_data_local_var = OpenAPI_sm_context_create_data_create ( supi ? ogs_strdup_or_assert(supi->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/sm_context_create_error.c b/lib/sbi/openapi/model/sm_context_create_error.c index 3d7d31b91..0c2ebd1f9 100644 --- a/lib/sbi/openapi/model/sm_context_create_error.c +++ b/lib/sbi/openapi/model/sm_context_create_error.c @@ -121,14 +121,14 @@ OpenAPI_sm_context_create_error_t *OpenAPI_sm_context_create_error_parseFromJSON OpenAPI_ref_to_binary_data_t *n1_sm_msg_local_nonprim = NULL; if (n1_sm_msg) { n1_sm_msg_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_msg); -} + } cJSON *n2_sm_info = cJSON_GetObjectItemCaseSensitive(sm_context_create_errorJSON, "n2SmInfo"); OpenAPI_ref_to_binary_data_t *n2_sm_info_local_nonprim = NULL; if (n2_sm_info) { n2_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n2_sm_info); -} + } cJSON *n2_sm_info_type = cJSON_GetObjectItemCaseSensitive(sm_context_create_errorJSON, "n2SmInfoType"); @@ -139,7 +139,7 @@ OpenAPI_sm_context_create_error_t *OpenAPI_sm_context_create_error_parseFromJSON goto end; } n2_sm_info_typeVariable = OpenAPI_n2_sm_info_type_FromString(n2_sm_info_type->valuestring); -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(sm_context_create_errorJSON, "recoveryTime"); @@ -148,7 +148,7 @@ OpenAPI_sm_context_create_error_t *OpenAPI_sm_context_create_error_parseFromJSON ogs_error("OpenAPI_sm_context_create_error_parseFromJSON() failed [recovery_time]"); goto end; } -} + } sm_context_create_error_local_var = OpenAPI_sm_context_create_error_create ( error_local_nonprim, diff --git a/lib/sbi/openapi/model/sm_context_created_data.c b/lib/sbi/openapi/model/sm_context_created_data.c index 8b5d4e987..5782a8fdb 100644 --- a/lib/sbi/openapi/model/sm_context_created_data.c +++ b/lib/sbi/openapi/model/sm_context_created_data.c @@ -222,7 +222,7 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON ogs_error("OpenAPI_sm_context_created_data_parseFromJSON() failed [h_smf_uri]"); goto end; } -} + } cJSON *smf_uri = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "smfUri"); @@ -231,7 +231,7 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON ogs_error("OpenAPI_sm_context_created_data_parseFromJSON() failed [smf_uri]"); goto end; } -} + } cJSON *pdu_session_id = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "pduSessionId"); @@ -240,14 +240,14 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON ogs_error("OpenAPI_sm_context_created_data_parseFromJSON() failed [pdu_session_id]"); goto end; } -} + } cJSON *s_nssai = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "sNssai"); OpenAPI_snssai_t *s_nssai_local_nonprim = NULL; if (s_nssai) { s_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(s_nssai); -} + } cJSON *up_cnx_state = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "upCnxState"); @@ -258,14 +258,14 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON goto end; } up_cnx_stateVariable = OpenAPI_up_cnx_state_FromString(up_cnx_state->valuestring); -} + } cJSON *n2_sm_info = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "n2SmInfo"); OpenAPI_ref_to_binary_data_t *n2_sm_info_local_nonprim = NULL; if (n2_sm_info) { n2_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n2_sm_info); -} + } cJSON *n2_sm_info_type = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "n2SmInfoType"); @@ -276,7 +276,7 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON goto end; } n2_sm_info_typeVariable = OpenAPI_n2_sm_info_type_FromString(n2_sm_info_type->valuestring); -} + } cJSON *allocated_ebi_list = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "allocatedEbiList"); @@ -299,7 +299,7 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON OpenAPI_list_add(allocated_ebi_listList, allocated_ebi_listItem); } -} + } cJSON *ho_state = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "hoState"); @@ -310,7 +310,7 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON goto end; } ho_stateVariable = OpenAPI_ho_state_FromString(ho_state->valuestring); -} + } cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "gpsi"); @@ -319,7 +319,7 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON ogs_error("OpenAPI_sm_context_created_data_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *smf_service_instance_id = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "smfServiceInstanceId"); @@ -328,7 +328,7 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON ogs_error("OpenAPI_sm_context_created_data_parseFromJSON() failed [smf_service_instance_id]"); goto end; } -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "recoveryTime"); @@ -337,7 +337,7 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON ogs_error("OpenAPI_sm_context_created_data_parseFromJSON() failed [recovery_time]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "supportedFeatures"); @@ -346,7 +346,7 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON ogs_error("OpenAPI_sm_context_created_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *selected_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "selectedSmfId"); @@ -355,7 +355,7 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON ogs_error("OpenAPI_sm_context_created_data_parseFromJSON() failed [selected_smf_id]"); goto end; } -} + } cJSON *selected_old_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_created_dataJSON, "selectedOldSmfId"); @@ -364,7 +364,7 @@ OpenAPI_sm_context_created_data_t *OpenAPI_sm_context_created_data_parseFromJSON ogs_error("OpenAPI_sm_context_created_data_parseFromJSON() failed [selected_old_smf_id]"); goto end; } -} + } sm_context_created_data_local_var = OpenAPI_sm_context_created_data_create ( h_smf_uri ? ogs_strdup_or_assert(h_smf_uri->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/sm_context_release_data.c b/lib/sbi/openapi/model/sm_context_release_data.c index 7eb84f10e..9892c707d 100644 --- a/lib/sbi/openapi/model/sm_context_release_data.c +++ b/lib/sbi/openapi/model/sm_context_release_data.c @@ -169,14 +169,14 @@ OpenAPI_sm_context_release_data_t *OpenAPI_sm_context_release_data_parseFromJSON goto end; } causeVariable = OpenAPI_cause_FromString(cause->valuestring); -} + } cJSON *ng_ap_cause = cJSON_GetObjectItemCaseSensitive(sm_context_release_dataJSON, "ngApCause"); OpenAPI_ng_ap_cause_t *ng_ap_cause_local_nonprim = NULL; if (ng_ap_cause) { ng_ap_cause_local_nonprim = OpenAPI_ng_ap_cause_parseFromJSON(ng_ap_cause); -} + } cJSON *_5g_mm_cause_value = cJSON_GetObjectItemCaseSensitive(sm_context_release_dataJSON, "5gMmCauseValue"); @@ -185,14 +185,14 @@ OpenAPI_sm_context_release_data_t *OpenAPI_sm_context_release_data_parseFromJSON ogs_error("OpenAPI_sm_context_release_data_parseFromJSON() failed [_5g_mm_cause_value]"); goto end; } -} + } cJSON *ue_location = cJSON_GetObjectItemCaseSensitive(sm_context_release_dataJSON, "ueLocation"); OpenAPI_user_location_t *ue_location_local_nonprim = NULL; if (ue_location) { ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_location); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(sm_context_release_dataJSON, "ueTimeZone"); @@ -201,14 +201,14 @@ OpenAPI_sm_context_release_data_t *OpenAPI_sm_context_release_data_parseFromJSON ogs_error("OpenAPI_sm_context_release_data_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *add_ue_location = cJSON_GetObjectItemCaseSensitive(sm_context_release_dataJSON, "addUeLocation"); OpenAPI_user_location_t *add_ue_location_local_nonprim = NULL; if (add_ue_location) { add_ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(add_ue_location); -} + } cJSON *vsmf_release_only = cJSON_GetObjectItemCaseSensitive(sm_context_release_dataJSON, "vsmfReleaseOnly"); @@ -217,14 +217,14 @@ OpenAPI_sm_context_release_data_t *OpenAPI_sm_context_release_data_parseFromJSON ogs_error("OpenAPI_sm_context_release_data_parseFromJSON() failed [vsmf_release_only]"); goto end; } -} + } cJSON *n2_sm_info = cJSON_GetObjectItemCaseSensitive(sm_context_release_dataJSON, "n2SmInfo"); OpenAPI_ref_to_binary_data_t *n2_sm_info_local_nonprim = NULL; if (n2_sm_info) { n2_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n2_sm_info); -} + } cJSON *n2_sm_info_type = cJSON_GetObjectItemCaseSensitive(sm_context_release_dataJSON, "n2SmInfoType"); @@ -235,7 +235,7 @@ OpenAPI_sm_context_release_data_t *OpenAPI_sm_context_release_data_parseFromJSON goto end; } n2_sm_info_typeVariable = OpenAPI_n2_sm_info_type_FromString(n2_sm_info_type->valuestring); -} + } cJSON *ismf_release_only = cJSON_GetObjectItemCaseSensitive(sm_context_release_dataJSON, "ismfReleaseOnly"); @@ -244,7 +244,7 @@ OpenAPI_sm_context_release_data_t *OpenAPI_sm_context_release_data_parseFromJSON ogs_error("OpenAPI_sm_context_release_data_parseFromJSON() failed [ismf_release_only]"); goto end; } -} + } sm_context_release_data_local_var = OpenAPI_sm_context_release_data_create ( cause ? causeVariable : 0, diff --git a/lib/sbi/openapi/model/sm_context_released_data.c b/lib/sbi/openapi/model/sm_context_released_data.c index 1d9723099..1200810e8 100644 --- a/lib/sbi/openapi/model/sm_context_released_data.c +++ b/lib/sbi/openapi/model/sm_context_released_data.c @@ -78,14 +78,14 @@ OpenAPI_sm_context_released_data_t *OpenAPI_sm_context_released_data_parseFromJS OpenAPI_small_data_rate_status_t *small_data_rate_status_local_nonprim = NULL; if (small_data_rate_status) { small_data_rate_status_local_nonprim = OpenAPI_small_data_rate_status_parseFromJSON(small_data_rate_status); -} + } cJSON *apn_rate_status = cJSON_GetObjectItemCaseSensitive(sm_context_released_dataJSON, "apnRateStatus"); OpenAPI_apn_rate_status_t *apn_rate_status_local_nonprim = NULL; if (apn_rate_status) { apn_rate_status_local_nonprim = OpenAPI_apn_rate_status_parseFromJSON(apn_rate_status); -} + } sm_context_released_data_local_var = OpenAPI_sm_context_released_data_create ( small_data_rate_status ? small_data_rate_status_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/sm_context_retrieve_data.c b/lib/sbi/openapi/model/sm_context_retrieve_data.c index cd697568f..564e881ae 100644 --- a/lib/sbi/openapi/model/sm_context_retrieve_data.c +++ b/lib/sbi/openapi/model/sm_context_retrieve_data.c @@ -118,7 +118,7 @@ OpenAPI_sm_context_retrieve_data_t *OpenAPI_sm_context_retrieve_data_parseFromJS OpenAPI_mme_capabilities_t *target_mme_cap_local_nonprim = NULL; if (target_mme_cap) { target_mme_cap_local_nonprim = OpenAPI_mme_capabilities_parseFromJSON(target_mme_cap); -} + } cJSON *sm_context_type = cJSON_GetObjectItemCaseSensitive(sm_context_retrieve_dataJSON, "smContextType"); @@ -129,14 +129,14 @@ OpenAPI_sm_context_retrieve_data_t *OpenAPI_sm_context_retrieve_data_parseFromJS goto end; } sm_context_typeVariable = OpenAPI_sm_context_type_FromString(sm_context_type->valuestring); -} + } cJSON *serving_network = cJSON_GetObjectItemCaseSensitive(sm_context_retrieve_dataJSON, "servingNetwork"); OpenAPI_plmn_id_t *serving_network_local_nonprim = NULL; if (serving_network) { serving_network_local_nonprim = OpenAPI_plmn_id_parseFromJSON(serving_network); -} + } cJSON *not_to_transfer_ebi_list = cJSON_GetObjectItemCaseSensitive(sm_context_retrieve_dataJSON, "notToTransferEbiList"); @@ -156,7 +156,7 @@ OpenAPI_sm_context_retrieve_data_t *OpenAPI_sm_context_retrieve_data_parseFromJS } OpenAPI_list_add(not_to_transfer_ebi_listList , ¬_to_transfer_ebi_list_local->valuedouble); } -} + } cJSON *ran_unchanged_ind = cJSON_GetObjectItemCaseSensitive(sm_context_retrieve_dataJSON, "ranUnchangedInd"); @@ -165,7 +165,7 @@ OpenAPI_sm_context_retrieve_data_t *OpenAPI_sm_context_retrieve_data_parseFromJS ogs_error("OpenAPI_sm_context_retrieve_data_parseFromJSON() failed [ran_unchanged_ind]"); goto end; } -} + } sm_context_retrieve_data_local_var = OpenAPI_sm_context_retrieve_data_create ( target_mme_cap ? target_mme_cap_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/sm_context_retrieved_data.c b/lib/sbi/openapi/model/sm_context_retrieved_data.c index a9c2c15fe..e867e3db0 100644 --- a/lib/sbi/openapi/model/sm_context_retrieved_data.c +++ b/lib/sbi/openapi/model/sm_context_retrieved_data.c @@ -123,21 +123,21 @@ OpenAPI_sm_context_retrieved_data_t *OpenAPI_sm_context_retrieved_data_parseFrom OpenAPI_sm_context_t *sm_context_local_nonprim = NULL; if (sm_context) { sm_context_local_nonprim = OpenAPI_sm_context_parseFromJSON(sm_context); -} + } cJSON *small_data_rate_status = cJSON_GetObjectItemCaseSensitive(sm_context_retrieved_dataJSON, "smallDataRateStatus"); OpenAPI_small_data_rate_status_t *small_data_rate_status_local_nonprim = NULL; if (small_data_rate_status) { small_data_rate_status_local_nonprim = OpenAPI_small_data_rate_status_parseFromJSON(small_data_rate_status); -} + } cJSON *apn_rate_status = cJSON_GetObjectItemCaseSensitive(sm_context_retrieved_dataJSON, "apnRateStatus"); OpenAPI_apn_rate_status_t *apn_rate_status_local_nonprim = NULL; if (apn_rate_status) { apn_rate_status_local_nonprim = OpenAPI_apn_rate_status_parseFromJSON(apn_rate_status); -} + } cJSON *dl_data_waiting_ind = cJSON_GetObjectItemCaseSensitive(sm_context_retrieved_dataJSON, "dlDataWaitingInd"); @@ -146,7 +146,7 @@ OpenAPI_sm_context_retrieved_data_t *OpenAPI_sm_context_retrieved_data_parseFrom ogs_error("OpenAPI_sm_context_retrieved_data_parseFromJSON() failed [dl_data_waiting_ind]"); goto end; } -} + } sm_context_retrieved_data_local_var = OpenAPI_sm_context_retrieved_data_create ( ogs_strdup_or_assert(ue_eps_pdn_connection->valuestring), diff --git a/lib/sbi/openapi/model/sm_context_status_notification.c b/lib/sbi/openapi/model/sm_context_status_notification.c index 8212e3ca9..03f316770 100644 --- a/lib/sbi/openapi/model/sm_context_status_notification.c +++ b/lib/sbi/openapi/model/sm_context_status_notification.c @@ -193,14 +193,14 @@ OpenAPI_sm_context_status_notification_t *OpenAPI_sm_context_status_notification OpenAPI_small_data_rate_status_t *small_data_rate_status_local_nonprim = NULL; if (small_data_rate_status) { small_data_rate_status_local_nonprim = OpenAPI_small_data_rate_status_parseFromJSON(small_data_rate_status); -} + } cJSON *apn_rate_status = cJSON_GetObjectItemCaseSensitive(sm_context_status_notificationJSON, "apnRateStatus"); OpenAPI_apn_rate_status_t *apn_rate_status_local_nonprim = NULL; if (apn_rate_status) { apn_rate_status_local_nonprim = OpenAPI_apn_rate_status_parseFromJSON(apn_rate_status); -} + } cJSON *ddn_failure_status = cJSON_GetObjectItemCaseSensitive(sm_context_status_notificationJSON, "ddnFailureStatus"); @@ -209,7 +209,7 @@ OpenAPI_sm_context_status_notification_t *OpenAPI_sm_context_status_notification ogs_error("OpenAPI_sm_context_status_notification_parseFromJSON() failed [ddn_failure_status]"); goto end; } -} + } cJSON *notify_correlation_ids_forddn_failure = cJSON_GetObjectItemCaseSensitive(sm_context_status_notificationJSON, "notifyCorrelationIdsForddnFailure"); @@ -229,7 +229,7 @@ OpenAPI_sm_context_status_notification_t *OpenAPI_sm_context_status_notification } OpenAPI_list_add(notify_correlation_ids_forddn_failureList , ogs_strdup_or_assert(notify_correlation_ids_forddn_failure_local->valuestring)); } -} + } cJSON *new_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_status_notificationJSON, "newSmfId"); @@ -238,7 +238,7 @@ OpenAPI_sm_context_status_notification_t *OpenAPI_sm_context_status_notification ogs_error("OpenAPI_sm_context_status_notification_parseFromJSON() failed [new_smf_id]"); goto end; } -} + } cJSON *new_smf_set_id = cJSON_GetObjectItemCaseSensitive(sm_context_status_notificationJSON, "newSmfSetId"); @@ -247,7 +247,7 @@ OpenAPI_sm_context_status_notification_t *OpenAPI_sm_context_status_notification ogs_error("OpenAPI_sm_context_status_notification_parseFromJSON() failed [new_smf_set_id]"); goto end; } -} + } cJSON *old_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_status_notificationJSON, "oldSmfId"); @@ -256,7 +256,7 @@ OpenAPI_sm_context_status_notification_t *OpenAPI_sm_context_status_notification ogs_error("OpenAPI_sm_context_status_notification_parseFromJSON() failed [old_smf_id]"); goto end; } -} + } cJSON *old_sm_context_ref = cJSON_GetObjectItemCaseSensitive(sm_context_status_notificationJSON, "oldSmContextRef"); @@ -265,7 +265,7 @@ OpenAPI_sm_context_status_notification_t *OpenAPI_sm_context_status_notification ogs_error("OpenAPI_sm_context_status_notification_parseFromJSON() failed [old_sm_context_ref]"); goto end; } -} + } cJSON *alt_anchor_smf_uri = cJSON_GetObjectItemCaseSensitive(sm_context_status_notificationJSON, "altAnchorSmfUri"); @@ -274,7 +274,7 @@ OpenAPI_sm_context_status_notification_t *OpenAPI_sm_context_status_notification ogs_error("OpenAPI_sm_context_status_notification_parseFromJSON() failed [alt_anchor_smf_uri]"); goto end; } -} + } cJSON *alt_anchor_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_status_notificationJSON, "altAnchorSmfId"); @@ -283,7 +283,7 @@ OpenAPI_sm_context_status_notification_t *OpenAPI_sm_context_status_notification ogs_error("OpenAPI_sm_context_status_notification_parseFromJSON() failed [alt_anchor_smf_id]"); goto end; } -} + } sm_context_status_notification_local_var = OpenAPI_sm_context_status_notification_create ( status_info_local_nonprim, diff --git a/lib/sbi/openapi/model/sm_context_update_data.c b/lib/sbi/openapi/model/sm_context_update_data.c index 584bf92bd..657a52006 100644 --- a/lib/sbi/openapi/model/sm_context_update_data.c +++ b/lib/sbi/openapi/model/sm_context_update_data.c @@ -690,7 +690,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *serving_nf_id = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "servingNfId"); @@ -699,21 +699,21 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [serving_nf_id]"); goto end; } -} + } cJSON *guami = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "guami"); OpenAPI_guami_t *guami_local_nonprim = NULL; if (guami) { guami_local_nonprim = OpenAPI_guami_parseFromJSON(guami); -} + } cJSON *serving_network = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "servingNetwork"); OpenAPI_plmn_id_nid_t *serving_network_local_nonprim = NULL; if (serving_network) { serving_network_local_nonprim = OpenAPI_plmn_id_nid_parseFromJSON(serving_network); -} + } cJSON *backup_amf_info = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "backupAmfInfo"); @@ -736,7 +736,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c OpenAPI_list_add(backup_amf_infoList, backup_amf_infoItem); } -} + } cJSON *an_type = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "anType"); @@ -747,7 +747,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c goto end; } an_typeVariable = OpenAPI_access_type_FromString(an_type->valuestring); -} + } cJSON *additional_an_type = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "additionalAnType"); @@ -758,7 +758,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c goto end; } additional_an_typeVariable = OpenAPI_access_type_FromString(additional_an_type->valuestring); -} + } cJSON *an_type_to_reactivate = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "anTypeToReactivate"); @@ -769,7 +769,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c goto end; } an_type_to_reactivateVariable = OpenAPI_access_type_FromString(an_type_to_reactivate->valuestring); -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "ratType"); @@ -780,7 +780,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c goto end; } rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring); -} + } cJSON *presence_in_ladn = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "presenceInLadn"); @@ -791,14 +791,14 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c goto end; } presence_in_ladnVariable = OpenAPI_presence_state_FromString(presence_in_ladn->valuestring); -} + } cJSON *ue_location = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "ueLocation"); OpenAPI_user_location_t *ue_location_local_nonprim = NULL; if (ue_location) { ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_location); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "ueTimeZone"); @@ -807,14 +807,14 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *add_ue_location = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "addUeLocation"); OpenAPI_user_location_t *add_ue_location_local_nonprim = NULL; if (add_ue_location) { add_ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(add_ue_location); -} + } cJSON *up_cnx_state = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "upCnxState"); @@ -825,7 +825,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c goto end; } up_cnx_stateVariable = OpenAPI_up_cnx_state_FromString(up_cnx_state->valuestring); -} + } cJSON *ho_state = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "hoState"); @@ -836,7 +836,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c goto end; } ho_stateVariable = OpenAPI_ho_state_FromString(ho_state->valuestring); -} + } cJSON *to_be_switched = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "toBeSwitched"); @@ -845,7 +845,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [to_be_switched]"); goto end; } -} + } cJSON *failed_to_be_switched = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "failedToBeSwitched"); @@ -854,21 +854,21 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [failed_to_be_switched]"); goto end; } -} + } cJSON *n1_sm_msg = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "n1SmMsg"); OpenAPI_ref_to_binary_data_t *n1_sm_msg_local_nonprim = NULL; if (n1_sm_msg) { n1_sm_msg_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_msg); -} + } cJSON *n2_sm_info = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "n2SmInfo"); OpenAPI_ref_to_binary_data_t *n2_sm_info_local_nonprim = NULL; if (n2_sm_info) { n2_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n2_sm_info); -} + } cJSON *n2_sm_info_type = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "n2SmInfoType"); @@ -879,14 +879,14 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c goto end; } n2_sm_info_typeVariable = OpenAPI_n2_sm_info_type_FromString(n2_sm_info_type->valuestring); -} + } cJSON *target_id = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "targetId"); OpenAPI_ng_ran_target_id_t *target_id_local_nonprim = NULL; if (target_id) { target_id_local_nonprim = OpenAPI_ng_ran_target_id_parseFromJSON(target_id); -} + } cJSON *target_serving_nf_id = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "targetServingNfId"); @@ -895,7 +895,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [target_serving_nf_id]"); goto end; } -} + } cJSON *sm_context_status_uri = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "smContextStatusUri"); @@ -904,7 +904,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [sm_context_status_uri]"); goto end; } -} + } cJSON *data_forwarding = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "dataForwarding"); @@ -913,14 +913,14 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [data_forwarding]"); goto end; } -} + } cJSON *n9_forwarding_tunnel = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "n9ForwardingTunnel"); OpenAPI_tunnel_info_t *n9_forwarding_tunnel_local_nonprim = NULL; if (n9_forwarding_tunnel) { n9_forwarding_tunnel_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(n9_forwarding_tunnel); -} + } cJSON *n9_dl_forwarding_tnl_list = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "n9DlForwardingTnlList"); @@ -943,7 +943,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c OpenAPI_list_add(n9_dl_forwarding_tnl_listList, n9_dl_forwarding_tnl_listItem); } -} + } cJSON *n9_ul_forwarding_tnl_list = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "n9UlForwardingTnlList"); @@ -966,7 +966,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c OpenAPI_list_add(n9_ul_forwarding_tnl_listList, n9_ul_forwarding_tnl_listItem); } -} + } cJSON *eps_bearer_setup = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "epsBearerSetup"); @@ -986,7 +986,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c } OpenAPI_list_add(eps_bearer_setupList , ogs_strdup_or_assert(eps_bearer_setup_local->valuestring)); } -} + } cJSON *revoke_ebi_list = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "revokeEbiList"); @@ -1006,7 +1006,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c } OpenAPI_list_add(revoke_ebi_listList , &revoke_ebi_list_local->valuedouble); } -} + } cJSON *release = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "release"); @@ -1015,7 +1015,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [release]"); goto end; } -} + } cJSON *cause = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "cause"); @@ -1026,14 +1026,14 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c goto end; } causeVariable = OpenAPI_cause_FromString(cause->valuestring); -} + } cJSON *ng_ap_cause = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "ngApCause"); OpenAPI_ng_ap_cause_t *ng_ap_cause_local_nonprim = NULL; if (ng_ap_cause) { ng_ap_cause_local_nonprim = OpenAPI_ng_ap_cause_parseFromJSON(ng_ap_cause); -} + } cJSON *_5g_mm_cause_value = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "5gMmCauseValue"); @@ -1042,21 +1042,21 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [_5g_mm_cause_value]"); goto end; } -} + } cJSON *s_nssai = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "sNssai"); OpenAPI_snssai_t *s_nssai_local_nonprim = NULL; if (s_nssai) { s_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(s_nssai); -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "traceData"); OpenAPI_trace_data_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data); -} + } cJSON *eps_interworking_ind = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "epsInterworkingInd"); @@ -1067,7 +1067,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c goto end; } eps_interworking_indVariable = OpenAPI_eps_interworking_indication_FromString(eps_interworking_ind->valuestring); -} + } cJSON *an_type_can_be_changed = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "anTypeCanBeChanged"); @@ -1076,14 +1076,14 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [an_type_can_be_changed]"); goto end; } -} + } cJSON *n2_sm_info_ext1 = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "n2SmInfoExt1"); OpenAPI_ref_to_binary_data_t *n2_sm_info_ext1_local_nonprim = NULL; if (n2_sm_info_ext1) { n2_sm_info_ext1_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n2_sm_info_ext1); -} + } cJSON *n2_sm_info_type_ext1 = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "n2SmInfoTypeExt1"); @@ -1094,7 +1094,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c goto end; } n2_sm_info_type_ext1Variable = OpenAPI_n2_sm_info_type_FromString(n2_sm_info_type_ext1->valuestring); -} + } cJSON *ma_release_ind = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "maReleaseInd"); @@ -1105,7 +1105,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c goto end; } ma_release_indVariable = OpenAPI_ma_release_indication_FromString(ma_release_ind->valuestring); -} + } cJSON *ma_nw_upgrade_ind = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "maNwUpgradeInd"); @@ -1114,7 +1114,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [ma_nw_upgrade_ind]"); goto end; } -} + } cJSON *ma_request_ind = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "maRequestInd"); @@ -1123,14 +1123,14 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [ma_request_ind]"); goto end; } -} + } cJSON *exemption_ind = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "exemptionInd"); OpenAPI_exemption_ind_t *exemption_ind_local_nonprim = NULL; if (exemption_ind) { exemption_ind_local_nonprim = OpenAPI_exemption_ind_parseFromJSON(exemption_ind); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "supportedFeatures"); @@ -1139,14 +1139,14 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *mo_exp_data_counter = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "moExpDataCounter"); OpenAPI_mo_exp_data_counter_t *mo_exp_data_counter_local_nonprim = NULL; if (mo_exp_data_counter) { mo_exp_data_counter_local_nonprim = OpenAPI_mo_exp_data_counter_parseFromJSON(mo_exp_data_counter); -} + } cJSON *extended_nas_sm_timer_ind = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "extendedNasSmTimerInd"); @@ -1155,7 +1155,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [extended_nas_sm_timer_ind]"); goto end; } -} + } cJSON *forwarding_f_teid = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "forwardingFTeid"); @@ -1164,7 +1164,7 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c ogs_error("OpenAPI_sm_context_update_data_parseFromJSON() failed [forwarding_f_teid]"); goto end; } -} + } cJSON *forwarding_bearer_contexts = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "forwardingBearerContexts"); @@ -1184,14 +1184,14 @@ OpenAPI_sm_context_update_data_t *OpenAPI_sm_context_update_data_parseFromJSON(c } OpenAPI_list_add(forwarding_bearer_contextsList , ogs_strdup_or_assert(forwarding_bearer_contexts_local->valuestring)); } -} + } cJSON *ddn_failure_subs = cJSON_GetObjectItemCaseSensitive(sm_context_update_dataJSON, "ddnFailureSubs"); OpenAPI_ddn_failure_subs_t *ddn_failure_subs_local_nonprim = NULL; if (ddn_failure_subs) { ddn_failure_subs_local_nonprim = OpenAPI_ddn_failure_subs_parseFromJSON(ddn_failure_subs); -} + } sm_context_update_data_local_var = OpenAPI_sm_context_update_data_create ( pei ? ogs_strdup_or_assert(pei->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/sm_context_update_error.c b/lib/sbi/openapi/model/sm_context_update_error.c index 662aeeca5..319ea45bb 100644 --- a/lib/sbi/openapi/model/sm_context_update_error.c +++ b/lib/sbi/openapi/model/sm_context_update_error.c @@ -130,14 +130,14 @@ OpenAPI_sm_context_update_error_t *OpenAPI_sm_context_update_error_parseFromJSON OpenAPI_ref_to_binary_data_t *n1_sm_msg_local_nonprim = NULL; if (n1_sm_msg) { n1_sm_msg_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_msg); -} + } cJSON *n2_sm_info = cJSON_GetObjectItemCaseSensitive(sm_context_update_errorJSON, "n2SmInfo"); OpenAPI_ref_to_binary_data_t *n2_sm_info_local_nonprim = NULL; if (n2_sm_info) { n2_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n2_sm_info); -} + } cJSON *n2_sm_info_type = cJSON_GetObjectItemCaseSensitive(sm_context_update_errorJSON, "n2SmInfoType"); @@ -148,7 +148,7 @@ OpenAPI_sm_context_update_error_t *OpenAPI_sm_context_update_error_parseFromJSON goto end; } n2_sm_info_typeVariable = OpenAPI_n2_sm_info_type_FromString(n2_sm_info_type->valuestring); -} + } cJSON *up_cnx_state = cJSON_GetObjectItemCaseSensitive(sm_context_update_errorJSON, "upCnxState"); @@ -159,7 +159,7 @@ OpenAPI_sm_context_update_error_t *OpenAPI_sm_context_update_error_parseFromJSON goto end; } up_cnx_stateVariable = OpenAPI_up_cnx_state_FromString(up_cnx_state->valuestring); -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(sm_context_update_errorJSON, "recoveryTime"); @@ -168,7 +168,7 @@ OpenAPI_sm_context_update_error_t *OpenAPI_sm_context_update_error_parseFromJSON ogs_error("OpenAPI_sm_context_update_error_parseFromJSON() failed [recovery_time]"); goto end; } -} + } sm_context_update_error_local_var = OpenAPI_sm_context_update_error_create ( error_local_nonprim, diff --git a/lib/sbi/openapi/model/sm_context_updated_data.c b/lib/sbi/openapi/model/sm_context_updated_data.c index 3956cb4bd..a91025756 100644 --- a/lib/sbi/openapi/model/sm_context_updated_data.c +++ b/lib/sbi/openapi/model/sm_context_updated_data.c @@ -345,7 +345,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON goto end; } up_cnx_stateVariable = OpenAPI_up_cnx_state_FromString(up_cnx_state->valuestring); -} + } cJSON *ho_state = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "hoState"); @@ -356,7 +356,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON goto end; } ho_stateVariable = OpenAPI_ho_state_FromString(ho_state->valuestring); -} + } cJSON *release_ebi_list = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "releaseEbiList"); @@ -376,7 +376,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON } OpenAPI_list_add(release_ebi_listList , &release_ebi_list_local->valuedouble); } -} + } cJSON *allocated_ebi_list = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "allocatedEbiList"); @@ -399,7 +399,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON OpenAPI_list_add(allocated_ebi_listList, allocated_ebi_listItem); } -} + } cJSON *modified_ebi_list = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "modifiedEbiList"); @@ -422,21 +422,21 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON OpenAPI_list_add(modified_ebi_listList, modified_ebi_listItem); } -} + } cJSON *n1_sm_msg = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "n1SmMsg"); OpenAPI_ref_to_binary_data_t *n1_sm_msg_local_nonprim = NULL; if (n1_sm_msg) { n1_sm_msg_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_msg); -} + } cJSON *n2_sm_info = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "n2SmInfo"); OpenAPI_ref_to_binary_data_t *n2_sm_info_local_nonprim = NULL; if (n2_sm_info) { n2_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n2_sm_info); -} + } cJSON *n2_sm_info_type = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "n2SmInfoType"); @@ -447,7 +447,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON goto end; } n2_sm_info_typeVariable = OpenAPI_n2_sm_info_type_FromString(n2_sm_info_type->valuestring); -} + } cJSON *eps_bearer_setup = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "epsBearerSetup"); @@ -467,7 +467,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON } OpenAPI_list_add(eps_bearer_setupList , ogs_strdup_or_assert(eps_bearer_setup_local->valuestring)); } -} + } cJSON *data_forwarding = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "dataForwarding"); @@ -476,7 +476,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON ogs_error("OpenAPI_sm_context_updated_data_parseFromJSON() failed [data_forwarding]"); goto end; } -} + } cJSON *n3_dl_forwarding_tnl_list = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "n3DlForwardingTnlList"); @@ -499,7 +499,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON OpenAPI_list_add(n3_dl_forwarding_tnl_listList, n3_dl_forwarding_tnl_listItem); } -} + } cJSON *n3_ul_forwarding_tnl_list = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "n3UlForwardingTnlList"); @@ -522,7 +522,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON OpenAPI_list_add(n3_ul_forwarding_tnl_listList, n3_ul_forwarding_tnl_listItem); } -} + } cJSON *cause = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "cause"); @@ -533,7 +533,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON goto end; } causeVariable = OpenAPI_cause_FromString(cause->valuestring); -} + } cJSON *ma_accepted_ind = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "maAcceptedInd"); @@ -542,7 +542,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON ogs_error("OpenAPI_sm_context_updated_data_parseFromJSON() failed [ma_accepted_ind]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "supportedFeatures"); @@ -551,7 +551,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON ogs_error("OpenAPI_sm_context_updated_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *forwarding_f_teid = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "forwardingFTeid"); @@ -560,7 +560,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON ogs_error("OpenAPI_sm_context_updated_data_parseFromJSON() failed [forwarding_f_teid]"); goto end; } -} + } cJSON *forwarding_bearer_contexts = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "forwardingBearerContexts"); @@ -580,7 +580,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON } OpenAPI_list_add(forwarding_bearer_contextsList , ogs_strdup_or_assert(forwarding_bearer_contexts_local->valuestring)); } -} + } cJSON *selected_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "selectedSmfId"); @@ -589,7 +589,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON ogs_error("OpenAPI_sm_context_updated_data_parseFromJSON() failed [selected_smf_id]"); goto end; } -} + } cJSON *selected_old_smf_id = cJSON_GetObjectItemCaseSensitive(sm_context_updated_dataJSON, "selectedOldSmfId"); @@ -598,7 +598,7 @@ OpenAPI_sm_context_updated_data_t *OpenAPI_sm_context_updated_data_parseFromJSON ogs_error("OpenAPI_sm_context_updated_data_parseFromJSON() failed [selected_old_smf_id]"); goto end; } -} + } sm_context_updated_data_local_var = OpenAPI_sm_context_updated_data_create ( up_cnx_state ? up_cnx_stateVariable : 0, diff --git a/lib/sbi/openapi/model/sm_policy_context_data.c b/lib/sbi/openapi/model/sm_policy_context_data.c index e955aef45..5829c12ef 100644 --- a/lib/sbi/openapi/model/sm_policy_context_data.c +++ b/lib/sbi/openapi/model/sm_policy_context_data.c @@ -549,14 +549,14 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c OpenAPI_acc_net_ch_id_t *acc_net_ch_id_local_nonprim = NULL; if (acc_net_ch_id) { acc_net_ch_id_local_nonprim = OpenAPI_acc_net_ch_id_parseFromJSON(acc_net_ch_id); -} + } cJSON *charg_entity_addr = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "chargEntityAddr"); OpenAPI_acc_net_charging_address_t *charg_entity_addr_local_nonprim = NULL; if (charg_entity_addr) { charg_entity_addr_local_nonprim = OpenAPI_acc_net_charging_address_parseFromJSON(charg_entity_addr); -} + } cJSON *gpsi = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "gpsi"); @@ -565,7 +565,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "supi"); if (!supi) { @@ -586,7 +586,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [invalid_supi]"); goto end; } -} + } cJSON *inter_grp_ids = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "interGrpIds"); @@ -606,7 +606,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c } OpenAPI_list_add(inter_grp_idsList , ogs_strdup_or_assert(inter_grp_ids_local->valuestring)); } -} + } cJSON *pdu_session_id = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "pduSessionId"); if (!pdu_session_id) { @@ -641,7 +641,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [chargingcharacteristics]"); goto end; } -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "dnn"); if (!dnn) { @@ -664,7 +664,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c goto end; } dnn_sel_modeVariable = OpenAPI_dnn_selection_mode_FromString(dnn_sel_mode->valuestring); -} + } cJSON *notification_uri = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "notificationUri"); if (!notification_uri) { @@ -687,7 +687,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c goto end; } access_typeVariable = OpenAPI_access_type_FromString(access_type->valuestring); -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "ratType"); @@ -698,28 +698,28 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c goto end; } rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring); -} + } cJSON *add_access_info = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "addAccessInfo"); OpenAPI_additional_access_info_t *add_access_info_local_nonprim = NULL; if (add_access_info) { add_access_info_local_nonprim = OpenAPI_additional_access_info_parseFromJSON(add_access_info); -} + } cJSON *serving_network = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "servingNetwork"); OpenAPI_plmn_id_nid_t *serving_network_local_nonprim = NULL; if (serving_network) { serving_network_local_nonprim = OpenAPI_plmn_id_nid_parseFromJSON(serving_network); -} + } cJSON *user_location_info = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "userLocationInfo"); OpenAPI_user_location_t *user_location_info_local_nonprim = NULL; if (user_location_info) { user_location_info_local_nonprim = OpenAPI_user_location_parseFromJSON(user_location_info); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "ueTimeZone"); @@ -728,7 +728,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "pei"); @@ -737,7 +737,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *ipv4_address = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "ipv4Address"); @@ -746,7 +746,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [ipv4_address]"); goto end; } -} + } cJSON *ipv6_address_prefix = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "ipv6AddressPrefix"); @@ -755,7 +755,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [ipv6_address_prefix]"); goto end; } -} + } cJSON *ip_domain = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "ipDomain"); @@ -764,14 +764,14 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [ip_domain]"); goto end; } -} + } cJSON *subs_sess_ambr = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "subsSessAmbr"); OpenAPI_ambr_t *subs_sess_ambr_local_nonprim = NULL; if (subs_sess_ambr) { subs_sess_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(subs_sess_ambr); -} + } cJSON *auth_prof_index = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "authProfIndex"); @@ -780,21 +780,21 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [auth_prof_index]"); goto end; } -} + } cJSON *subs_def_qos = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "subsDefQos"); OpenAPI_subscribed_default_qos_t *subs_def_qos_local_nonprim = NULL; if (subs_def_qos) { subs_def_qos_local_nonprim = OpenAPI_subscribed_default_qos_parseFromJSON(subs_def_qos); -} + } cJSON *vplmn_qos = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "vplmnQos"); OpenAPI_vplmn_qos_t *vplmn_qos_local_nonprim = NULL; if (vplmn_qos) { vplmn_qos_local_nonprim = OpenAPI_vplmn_qos_parseFromJSON(vplmn_qos); -} + } cJSON *num_of_pack_filter = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "numOfPackFilter"); @@ -803,7 +803,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [num_of_pack_filter]"); goto end; } -} + } cJSON *online = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "online"); @@ -812,7 +812,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [online]"); goto end; } -} + } cJSON *offline = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "offline"); @@ -821,7 +821,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [offline]"); goto end; } -} + } cJSON *_3gpp_ps_data_off_status = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "3gppPsDataOffStatus"); @@ -830,7 +830,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [_3gpp_ps_data_off_status]"); goto end; } -} + } cJSON *ref_qos_indication = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "refQosIndication"); @@ -839,14 +839,14 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [ref_qos_indication]"); goto end; } -} + } cJSON *trace_req = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "traceReq"); OpenAPI_trace_data_t *trace_req_local_nonprim = NULL; if (trace_req) { trace_req_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_req); -} + } cJSON *slice_info = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "sliceInfo"); if (!slice_info) { @@ -867,14 +867,14 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c goto end; } qos_flow_usageVariable = OpenAPI_qos_flow_usage_FromString(qos_flow_usage->valuestring); -} + } cJSON *serv_nf_id = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "servNfId"); OpenAPI_serving_nf_identity_t *serv_nf_id_local_nonprim = NULL; if (serv_nf_id) { serv_nf_id_local_nonprim = OpenAPI_serving_nf_identity_parseFromJSON(serv_nf_id); -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "suppFeat"); @@ -883,7 +883,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [supp_feat]"); goto end; } -} + } cJSON *smf_id = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "smfId"); @@ -892,7 +892,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [smf_id]"); goto end; } -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "recoveryTime"); @@ -901,7 +901,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c ogs_error("OpenAPI_sm_policy_context_data_parseFromJSON() failed [recovery_time]"); goto end; } -} + } cJSON *ma_pdu_ind = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "maPduInd"); @@ -912,14 +912,14 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c goto end; } ma_pdu_indVariable = OpenAPI_ma_pdu_indication_FromString(ma_pdu_ind->valuestring); -} + } cJSON *atsss_capab = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "atsssCapab"); OpenAPI_atsss_capability_t *atsss_capab_local_nonprim = NULL; if (atsss_capab) { atsss_capab_local_nonprim = OpenAPI_atsss_capability_parseFromJSON(atsss_capab); -} + } cJSON *ipv4_frame_route_list = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "ipv4FrameRouteList"); @@ -939,7 +939,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c } OpenAPI_list_add(ipv4_frame_route_listList , ogs_strdup_or_assert(ipv4_frame_route_list_local->valuestring)); } -} + } cJSON *ipv6_frame_route_list = cJSON_GetObjectItemCaseSensitive(sm_policy_context_dataJSON, "ipv6FrameRouteList"); @@ -959,7 +959,7 @@ OpenAPI_sm_policy_context_data_t *OpenAPI_sm_policy_context_data_parseFromJSON(c } OpenAPI_list_add(ipv6_frame_route_listList , ogs_strdup_or_assert(ipv6_frame_route_list_local->valuestring)); } -} + } sm_policy_context_data_local_var = OpenAPI_sm_policy_context_data_create ( acc_net_ch_id ? acc_net_ch_id_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/sm_policy_data.c b/lib/sbi/openapi/model/sm_policy_data.c index 699d0dd7e..a64955fd3 100644 --- a/lib/sbi/openapi/model/sm_policy_data.c +++ b/lib/sbi/openapi/model/sm_policy_data.c @@ -183,7 +183,7 @@ OpenAPI_sm_policy_data_t *OpenAPI_sm_policy_data_parseFromJSON(cJSON *sm_policy_ localMapObject->string, OpenAPI_usage_mon_data_limit_parseFromJSON(localMapObject)); OpenAPI_list_add(um_data_limitsList , localMapKeyPair); } -} + } cJSON *um_data = cJSON_GetObjectItemCaseSensitive(sm_policy_dataJSON, "umData"); @@ -206,7 +206,7 @@ OpenAPI_sm_policy_data_t *OpenAPI_sm_policy_data_parseFromJSON(cJSON *sm_policy_ localMapObject->string, OpenAPI_usage_mon_data_parseFromJSON(localMapObject)); OpenAPI_list_add(um_dataList , localMapKeyPair); } -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(sm_policy_dataJSON, "suppFeat"); @@ -215,7 +215,7 @@ OpenAPI_sm_policy_data_t *OpenAPI_sm_policy_data_parseFromJSON(cJSON *sm_policy_ ogs_error("OpenAPI_sm_policy_data_parseFromJSON() failed [supp_feat]"); goto end; } -} + } sm_policy_data_local_var = OpenAPI_sm_policy_data_create ( sm_policy_snssai_dataList, diff --git a/lib/sbi/openapi/model/sm_policy_data_patch.c b/lib/sbi/openapi/model/sm_policy_data_patch.c index 06befc974..9f441bdfe 100644 --- a/lib/sbi/openapi/model/sm_policy_data_patch.c +++ b/lib/sbi/openapi/model/sm_policy_data_patch.c @@ -120,7 +120,7 @@ OpenAPI_sm_policy_data_patch_t *OpenAPI_sm_policy_data_patch_parseFromJSON(cJSON localMapObject->string, OpenAPI_usage_mon_data_parseFromJSON(localMapObject)); OpenAPI_list_add(um_dataList , localMapKeyPair); } -} + } cJSON *sm_policy_snssai_data = cJSON_GetObjectItemCaseSensitive(sm_policy_data_patchJSON, "smPolicySnssaiData"); @@ -143,7 +143,7 @@ OpenAPI_sm_policy_data_patch_t *OpenAPI_sm_policy_data_patch_parseFromJSON(cJSON localMapObject->string, OpenAPI_sm_policy_snssai_data_patch_parseFromJSON(localMapObject)); OpenAPI_list_add(sm_policy_snssai_dataList , localMapKeyPair); } -} + } sm_policy_data_patch_local_var = OpenAPI_sm_policy_data_patch_create ( um_data ? um_dataList : NULL, diff --git a/lib/sbi/openapi/model/sm_policy_decision.c b/lib/sbi/openapi/model/sm_policy_decision.c index 2e2b31d6d..2e3a0dc39 100644 --- a/lib/sbi/openapi/model/sm_policy_decision.c +++ b/lib/sbi/openapi/model/sm_policy_decision.c @@ -587,7 +587,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_session_rule_parseFromJSON(localMapObject)); OpenAPI_list_add(sess_rulesList , localMapKeyPair); } -} + } cJSON *pcc_rules = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "pccRules"); @@ -610,7 +610,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_pcc_rule_parseFromJSON(localMapObject)); OpenAPI_list_add(pcc_rulesList , localMapKeyPair); } -} + } cJSON *pcscf_rest_indication = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "pcscfRestIndication"); @@ -619,7 +619,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_decision_parseFromJSON() failed [pcscf_rest_indication]"); goto end; } -} + } cJSON *qos_decs = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "qosDecs"); @@ -642,7 +642,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_qos_data_parseFromJSON(localMapObject)); OpenAPI_list_add(qos_decsList , localMapKeyPair); } -} + } cJSON *chg_decs = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "chgDecs"); @@ -665,14 +665,14 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_charging_data_parseFromJSON(localMapObject)); OpenAPI_list_add(chg_decsList , localMapKeyPair); } -} + } cJSON *charging_info = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "chargingInfo"); OpenAPI_charging_information_t *charging_info_local_nonprim = NULL; if (charging_info) { charging_info_local_nonprim = OpenAPI_charging_information_parseFromJSON(charging_info); -} + } cJSON *traff_cont_decs = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "traffContDecs"); @@ -695,7 +695,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_traffic_control_data_parseFromJSON(localMapObject)); OpenAPI_list_add(traff_cont_decsList , localMapKeyPair); } -} + } cJSON *um_decs = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "umDecs"); @@ -718,7 +718,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_usage_monitoring_data_parseFromJSON(localMapObject)); OpenAPI_list_add(um_decsList , localMapKeyPair); } -} + } cJSON *qos_chars = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "qosChars"); @@ -741,7 +741,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_qos_characteristics_parseFromJSON(localMapObject)); OpenAPI_list_add(qos_charsList , localMapKeyPair); } -} + } cJSON *qos_mon_decs = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "qosMonDecs"); @@ -764,7 +764,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_qos_monitoring_data_parseFromJSON(localMapObject)); OpenAPI_list_add(qos_mon_decsList , localMapKeyPair); } -} + } cJSON *reflective_qo_s_timer = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "reflectiveQoSTimer"); @@ -773,7 +773,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_decision_parseFromJSON() failed [reflective_qo_s_timer]"); goto end; } -} + } cJSON *conds = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "conds"); @@ -796,7 +796,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_condition_data_parseFromJSON(localMapObject)); OpenAPI_list_add(condsList , localMapKeyPair); } -} + } cJSON *revalidation_time = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "revalidationTime"); @@ -805,7 +805,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_decision_parseFromJSON() failed [revalidation_time]"); goto end; } -} + } cJSON *offline = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "offline"); @@ -814,7 +814,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_decision_parseFromJSON() failed [offline]"); goto end; } -} + } cJSON *online = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "online"); @@ -823,7 +823,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_decision_parseFromJSON() failed [online]"); goto end; } -} + } cJSON *policy_ctrl_req_triggers = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "policyCtrlReqTriggers"); @@ -845,7 +845,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm OpenAPI_list_add(policy_ctrl_req_triggersList, (void *)OpenAPI_policy_control_request_trigger_FromString(policy_ctrl_req_triggers_local_nonprimitive->valuestring)); } -} + } cJSON *last_req_rule_data = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "lastReqRuleData"); @@ -868,14 +868,14 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm OpenAPI_list_add(last_req_rule_dataList, last_req_rule_dataItem); } -} + } cJSON *last_req_usage_data = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "lastReqUsageData"); OpenAPI_requested_usage_data_t *last_req_usage_data_local_nonprim = NULL; if (last_req_usage_data) { last_req_usage_data_local_nonprim = OpenAPI_requested_usage_data_parseFromJSON(last_req_usage_data); -} + } cJSON *pra_infos = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "praInfos"); @@ -898,7 +898,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_presence_info_rm_parseFromJSON(localMapObject)); OpenAPI_list_add(pra_infosList , localMapKeyPair); } -} + } cJSON *ipv4_index = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "ipv4Index"); @@ -907,7 +907,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_decision_parseFromJSON() failed [ipv4_index]"); goto end; } -} + } cJSON *ipv6_index = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "ipv6Index"); @@ -916,7 +916,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_decision_parseFromJSON() failed [ipv6_index]"); goto end; } -} + } cJSON *qos_flow_usage = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "qosFlowUsage"); @@ -927,7 +927,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm goto end; } qos_flow_usageVariable = OpenAPI_qos_flow_usage_FromString(qos_flow_usage->valuestring); -} + } cJSON *rel_cause = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "relCause"); @@ -938,7 +938,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm goto end; } rel_causeVariable = OpenAPI_sm_policy_association_release_cause_FromString(rel_cause->valuestring); -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "suppFeat"); @@ -947,21 +947,21 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_decision_parseFromJSON() failed [supp_feat]"); goto end; } -} + } cJSON *tsn_bridge_man_cont = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "tsnBridgeManCont"); OpenAPI_bridge_management_container_t *tsn_bridge_man_cont_local_nonprim = NULL; if (tsn_bridge_man_cont) { tsn_bridge_man_cont_local_nonprim = OpenAPI_bridge_management_container_parseFromJSON(tsn_bridge_man_cont); -} + } cJSON *tsn_port_man_cont_dstt = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "tsnPortManContDstt"); OpenAPI_port_management_container_t *tsn_port_man_cont_dstt_local_nonprim = NULL; if (tsn_port_man_cont_dstt) { tsn_port_man_cont_dstt_local_nonprim = OpenAPI_port_management_container_parseFromJSON(tsn_port_man_cont_dstt); -} + } cJSON *tsn_port_man_cont_nwtts = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "tsnPortManContNwtts"); @@ -984,7 +984,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm OpenAPI_list_add(tsn_port_man_cont_nwttsList, tsn_port_man_cont_nwttsItem); } -} + } cJSON *red_sess_indication = cJSON_GetObjectItemCaseSensitive(sm_policy_decisionJSON, "redSessIndication"); @@ -993,7 +993,7 @@ OpenAPI_sm_policy_decision_t *OpenAPI_sm_policy_decision_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_decision_parseFromJSON() failed [red_sess_indication]"); goto end; } -} + } sm_policy_decision_local_var = OpenAPI_sm_policy_decision_create ( sess_rules ? sess_rulesList : NULL, diff --git a/lib/sbi/openapi/model/sm_policy_delete_data.c b/lib/sbi/openapi/model/sm_policy_delete_data.c index 67f326ad9..1191954a9 100644 --- a/lib/sbi/openapi/model/sm_policy_delete_data.c +++ b/lib/sbi/openapi/model/sm_policy_delete_data.c @@ -185,7 +185,7 @@ OpenAPI_sm_policy_delete_data_t *OpenAPI_sm_policy_delete_data_parseFromJSON(cJS OpenAPI_user_location_t *user_location_info_local_nonprim = NULL; if (user_location_info) { user_location_info_local_nonprim = OpenAPI_user_location_parseFromJSON(user_location_info); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(sm_policy_delete_dataJSON, "ueTimeZone"); @@ -194,14 +194,14 @@ OpenAPI_sm_policy_delete_data_t *OpenAPI_sm_policy_delete_data_parseFromJSON(cJS ogs_error("OpenAPI_sm_policy_delete_data_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *serving_network = cJSON_GetObjectItemCaseSensitive(sm_policy_delete_dataJSON, "servingNetwork"); OpenAPI_plmn_id_nid_t *serving_network_local_nonprim = NULL; if (serving_network) { serving_network_local_nonprim = OpenAPI_plmn_id_nid_parseFromJSON(serving_network); -} + } cJSON *user_location_info_time = cJSON_GetObjectItemCaseSensitive(sm_policy_delete_dataJSON, "userLocationInfoTime"); @@ -210,7 +210,7 @@ OpenAPI_sm_policy_delete_data_t *OpenAPI_sm_policy_delete_data_parseFromJSON(cJS ogs_error("OpenAPI_sm_policy_delete_data_parseFromJSON() failed [user_location_info_time]"); goto end; } -} + } cJSON *ran_nas_rel_causes = cJSON_GetObjectItemCaseSensitive(sm_policy_delete_dataJSON, "ranNasRelCauses"); @@ -233,7 +233,7 @@ OpenAPI_sm_policy_delete_data_t *OpenAPI_sm_policy_delete_data_parseFromJSON(cJS OpenAPI_list_add(ran_nas_rel_causesList, ran_nas_rel_causesItem); } -} + } cJSON *accu_usage_reports = cJSON_GetObjectItemCaseSensitive(sm_policy_delete_dataJSON, "accuUsageReports"); @@ -256,7 +256,7 @@ OpenAPI_sm_policy_delete_data_t *OpenAPI_sm_policy_delete_data_parseFromJSON(cJS OpenAPI_list_add(accu_usage_reportsList, accu_usage_reportsItem); } -} + } cJSON *pdu_sess_rel_cause = cJSON_GetObjectItemCaseSensitive(sm_policy_delete_dataJSON, "pduSessRelCause"); @@ -267,7 +267,7 @@ OpenAPI_sm_policy_delete_data_t *OpenAPI_sm_policy_delete_data_parseFromJSON(cJS goto end; } pdu_sess_rel_causeVariable = OpenAPI_pdu_session_rel_cause_FromString(pdu_sess_rel_cause->valuestring); -} + } cJSON *qos_mon_reports = cJSON_GetObjectItemCaseSensitive(sm_policy_delete_dataJSON, "qosMonReports"); @@ -290,7 +290,7 @@ OpenAPI_sm_policy_delete_data_t *OpenAPI_sm_policy_delete_data_parseFromJSON(cJS OpenAPI_list_add(qos_mon_reportsList, qos_mon_reportsItem); } -} + } sm_policy_delete_data_local_var = OpenAPI_sm_policy_delete_data_create ( user_location_info ? user_location_info_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/sm_policy_dnn_data.c b/lib/sbi/openapi/model/sm_policy_dnn_data.c index ca7901c27..b864af9aa 100644 --- a/lib/sbi/openapi/model/sm_policy_dnn_data.c +++ b/lib/sbi/openapi/model/sm_policy_dnn_data.c @@ -348,7 +348,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm } OpenAPI_list_add(allowed_servicesList , ogs_strdup_or_assert(allowed_services_local->valuestring)); } -} + } cJSON *subsc_cats = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "subscCats"); @@ -368,7 +368,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm } OpenAPI_list_add(subsc_catsList , ogs_strdup_or_assert(subsc_cats_local->valuestring)); } -} + } cJSON *gbr_ul = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "gbrUl"); @@ -377,7 +377,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [gbr_ul]"); goto end; } -} + } cJSON *gbr_dl = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "gbrDl"); @@ -386,7 +386,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [gbr_dl]"); goto end; } -} + } cJSON *adc_support = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "adcSupport"); @@ -395,7 +395,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [adc_support]"); goto end; } -} + } cJSON *subsc_spending_limits = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "subscSpendingLimits"); @@ -404,7 +404,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [subsc_spending_limits]"); goto end; } -} + } cJSON *ipv4_index = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "ipv4Index"); @@ -413,7 +413,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [ipv4_index]"); goto end; } -} + } cJSON *ipv6_index = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "ipv6Index"); @@ -422,7 +422,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [ipv6_index]"); goto end; } -} + } cJSON *offline = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "offline"); @@ -431,7 +431,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [offline]"); goto end; } -} + } cJSON *online = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "online"); @@ -440,14 +440,14 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [online]"); goto end; } -} + } cJSON *chf_info = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "chfInfo"); OpenAPI_charging_information_t *chf_info_local_nonprim = NULL; if (chf_info) { chf_info_local_nonprim = OpenAPI_charging_information_parseFromJSON(chf_info); -} + } cJSON *ref_um_data_limit_ids = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "refUmDataLimitIds"); @@ -470,7 +470,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_limit_id_to_monitoring_key_parseFromJSON(localMapObject)); OpenAPI_list_add(ref_um_data_limit_idsList , localMapKeyPair); } -} + } cJSON *mps_priority = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "mpsPriority"); @@ -479,7 +479,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [mps_priority]"); goto end; } -} + } cJSON *mcs_priority = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "mcsPriority"); @@ -488,7 +488,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [mcs_priority]"); goto end; } -} + } cJSON *ims_signalling_prio = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "imsSignallingPrio"); @@ -497,7 +497,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [ims_signalling_prio]"); goto end; } -} + } cJSON *mps_priority_level = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "mpsPriorityLevel"); @@ -506,7 +506,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [mps_priority_level]"); goto end; } -} + } cJSON *mcs_priority_level = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "mcsPriorityLevel"); @@ -515,7 +515,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [mcs_priority_level]"); goto end; } -} + } cJSON *pra_infos = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "praInfos"); @@ -538,7 +538,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_presence_info_parseFromJSON(localMapObject)); OpenAPI_list_add(pra_infosList , localMapKeyPair); } -} + } cJSON *bdt_ref_ids = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "bdtRefIds"); @@ -555,7 +555,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm cJSON *localMapObject = bdt_ref_ids_local_map; OpenAPI_list_add(bdt_ref_idsList , localMapKeyPair); } -} + } cJSON *loc_rout_not_allowed = cJSON_GetObjectItemCaseSensitive(sm_policy_dnn_dataJSON, "locRoutNotAllowed"); @@ -564,7 +564,7 @@ OpenAPI_sm_policy_dnn_data_t *OpenAPI_sm_policy_dnn_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_sm_policy_dnn_data_parseFromJSON() failed [loc_rout_not_allowed]"); goto end; } -} + } sm_policy_dnn_data_local_var = OpenAPI_sm_policy_dnn_data_create ( ogs_strdup_or_assert(dnn->valuestring), diff --git a/lib/sbi/openapi/model/sm_policy_dnn_data_patch.c b/lib/sbi/openapi/model/sm_policy_dnn_data_patch.c index 36bed21d0..a0fb58043 100644 --- a/lib/sbi/openapi/model/sm_policy_dnn_data_patch.c +++ b/lib/sbi/openapi/model/sm_policy_dnn_data_patch.c @@ -99,7 +99,7 @@ OpenAPI_sm_policy_dnn_data_patch_t *OpenAPI_sm_policy_dnn_data_patch_parseFromJS cJSON *localMapObject = bdt_ref_ids_local_map; OpenAPI_list_add(bdt_ref_idsList , localMapKeyPair); } -} + } sm_policy_dnn_data_patch_local_var = OpenAPI_sm_policy_dnn_data_patch_create ( ogs_strdup_or_assert(dnn->valuestring), diff --git a/lib/sbi/openapi/model/sm_policy_notification.c b/lib/sbi/openapi/model/sm_policy_notification.c index da572b701..014137761 100644 --- a/lib/sbi/openapi/model/sm_policy_notification.c +++ b/lib/sbi/openapi/model/sm_policy_notification.c @@ -74,14 +74,14 @@ OpenAPI_sm_policy_notification_t *OpenAPI_sm_policy_notification_parseFromJSON(c ogs_error("OpenAPI_sm_policy_notification_parseFromJSON() failed [resource_uri]"); goto end; } -} + } cJSON *sm_policy_decision = cJSON_GetObjectItemCaseSensitive(sm_policy_notificationJSON, "smPolicyDecision"); OpenAPI_sm_policy_decision_t *sm_policy_decision_local_nonprim = NULL; if (sm_policy_decision) { sm_policy_decision_local_nonprim = OpenAPI_sm_policy_decision_parseFromJSON(sm_policy_decision); -} + } sm_policy_notification_local_var = OpenAPI_sm_policy_notification_create ( resource_uri ? ogs_strdup_or_assert(resource_uri->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/sm_policy_snssai_data.c b/lib/sbi/openapi/model/sm_policy_snssai_data.c index 00365337e..3a7901dc3 100644 --- a/lib/sbi/openapi/model/sm_policy_snssai_data.c +++ b/lib/sbi/openapi/model/sm_policy_snssai_data.c @@ -115,7 +115,7 @@ OpenAPI_sm_policy_snssai_data_t *OpenAPI_sm_policy_snssai_data_parseFromJSON(cJS localMapObject->string, OpenAPI_sm_policy_dnn_data_parseFromJSON(localMapObject)); OpenAPI_list_add(sm_policy_dnn_dataList , localMapKeyPair); } -} + } sm_policy_snssai_data_local_var = OpenAPI_sm_policy_snssai_data_create ( snssai_local_nonprim, diff --git a/lib/sbi/openapi/model/sm_policy_snssai_data_patch.c b/lib/sbi/openapi/model/sm_policy_snssai_data_patch.c index 9b4d94e9f..6983afdd0 100644 --- a/lib/sbi/openapi/model/sm_policy_snssai_data_patch.c +++ b/lib/sbi/openapi/model/sm_policy_snssai_data_patch.c @@ -115,7 +115,7 @@ OpenAPI_sm_policy_snssai_data_patch_t *OpenAPI_sm_policy_snssai_data_patch_parse localMapObject->string, OpenAPI_sm_policy_dnn_data_patch_parseFromJSON(localMapObject)); OpenAPI_list_add(sm_policy_dnn_dataList , localMapKeyPair); } -} + } sm_policy_snssai_data_patch_local_var = OpenAPI_sm_policy_snssai_data_patch_create ( snssai_local_nonprim, diff --git a/lib/sbi/openapi/model/sm_policy_update_context_data.c b/lib/sbi/openapi/model/sm_policy_update_context_data.c index c38d597e7..0861a56bd 100644 --- a/lib/sbi/openapi/model/sm_policy_update_context_data.c +++ b/lib/sbi/openapi/model/sm_policy_update_context_data.c @@ -852,7 +852,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(rep_policy_ctrl_req_triggersList, (void *)OpenAPI_policy_control_request_trigger_FromString(rep_policy_ctrl_req_triggers_local_nonprimitive->valuestring)); } -} + } cJSON *acc_net_ch_ids = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "accNetChIds"); @@ -875,7 +875,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(acc_net_ch_idsList, acc_net_ch_idsItem); } -} + } cJSON *access_type = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "accessType"); @@ -886,7 +886,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p goto end; } access_typeVariable = OpenAPI_access_type_FromString(access_type->valuestring); -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "ratType"); @@ -897,35 +897,35 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p goto end; } rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring); -} + } cJSON *add_access_info = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "addAccessInfo"); OpenAPI_additional_access_info_t *add_access_info_local_nonprim = NULL; if (add_access_info) { add_access_info_local_nonprim = OpenAPI_additional_access_info_parseFromJSON(add_access_info); -} + } cJSON *rel_access_info = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "relAccessInfo"); OpenAPI_additional_access_info_t *rel_access_info_local_nonprim = NULL; if (rel_access_info) { rel_access_info_local_nonprim = OpenAPI_additional_access_info_parseFromJSON(rel_access_info); -} + } cJSON *serving_network = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "servingNetwork"); OpenAPI_plmn_id_nid_t *serving_network_local_nonprim = NULL; if (serving_network) { serving_network_local_nonprim = OpenAPI_plmn_id_nid_parseFromJSON(serving_network); -} + } cJSON *user_location_info = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "userLocationInfo"); OpenAPI_user_location_t *user_location_info_local_nonprim = NULL; if (user_location_info) { user_location_info_local_nonprim = OpenAPI_user_location_parseFromJSON(user_location_info); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "ueTimeZone"); @@ -934,7 +934,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *rel_ipv4_address = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "relIpv4Address"); @@ -943,7 +943,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [rel_ipv4_address]"); goto end; } -} + } cJSON *ipv4_address = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "ipv4Address"); @@ -952,7 +952,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [ipv4_address]"); goto end; } -} + } cJSON *ip_domain = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "ipDomain"); @@ -961,7 +961,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [ip_domain]"); goto end; } -} + } cJSON *ipv6_address_prefix = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "ipv6AddressPrefix"); @@ -970,7 +970,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [ipv6_address_prefix]"); goto end; } -} + } cJSON *rel_ipv6_address_prefix = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "relIpv6AddressPrefix"); @@ -979,7 +979,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [rel_ipv6_address_prefix]"); goto end; } -} + } cJSON *add_ipv6_addr_prefixes = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "addIpv6AddrPrefixes"); @@ -988,7 +988,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [add_ipv6_addr_prefixes]"); goto end; } -} + } cJSON *add_rel_ipv6_addr_prefixes = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "addRelIpv6AddrPrefixes"); @@ -997,7 +997,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [add_rel_ipv6_addr_prefixes]"); goto end; } -} + } cJSON *rel_ue_mac = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "relUeMac"); @@ -1006,7 +1006,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [rel_ue_mac]"); goto end; } -} + } cJSON *ue_mac = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "ueMac"); @@ -1015,14 +1015,14 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [ue_mac]"); goto end; } -} + } cJSON *subs_sess_ambr = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "subsSessAmbr"); OpenAPI_ambr_t *subs_sess_ambr_local_nonprim = NULL; if (subs_sess_ambr) { subs_sess_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(subs_sess_ambr); -} + } cJSON *auth_prof_index = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "authProfIndex"); @@ -1031,21 +1031,21 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [auth_prof_index]"); goto end; } -} + } cJSON *subs_def_qos = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "subsDefQos"); OpenAPI_subscribed_default_qos_t *subs_def_qos_local_nonprim = NULL; if (subs_def_qos) { subs_def_qos_local_nonprim = OpenAPI_subscribed_default_qos_parseFromJSON(subs_def_qos); -} + } cJSON *vplmn_qos = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "vplmnQos"); OpenAPI_vplmn_qos_t *vplmn_qos_local_nonprim = NULL; if (vplmn_qos) { vplmn_qos_local_nonprim = OpenAPI_vplmn_qos_parseFromJSON(vplmn_qos); -} + } cJSON *num_of_pack_filter = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "numOfPackFilter"); @@ -1054,7 +1054,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [num_of_pack_filter]"); goto end; } -} + } cJSON *accu_usage_reports = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "accuUsageReports"); @@ -1077,7 +1077,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(accu_usage_reportsList, accu_usage_reportsItem); } -} + } cJSON *_3gpp_ps_data_off_status = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "3gppPsDataOffStatus"); @@ -1086,7 +1086,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [_3gpp_ps_data_off_status]"); goto end; } -} + } cJSON *app_detection_infos = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "appDetectionInfos"); @@ -1109,7 +1109,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(app_detection_infosList, app_detection_infosItem); } -} + } cJSON *rule_reports = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "ruleReports"); @@ -1132,7 +1132,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(rule_reportsList, rule_reportsItem); } -} + } cJSON *sess_rule_reports = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "sessRuleReports"); @@ -1155,7 +1155,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(sess_rule_reportsList, sess_rule_reportsItem); } -} + } cJSON *qnc_reports = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "qncReports"); @@ -1178,7 +1178,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(qnc_reportsList, qnc_reportsItem); } -} + } cJSON *qos_mon_reports = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "qosMonReports"); @@ -1201,7 +1201,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(qos_mon_reportsList, qos_mon_reportsItem); } -} + } cJSON *user_location_info_time = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "userLocationInfoTime"); @@ -1210,7 +1210,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [user_location_info_time]"); goto end; } -} + } cJSON *rep_pra_infos = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "repPraInfos"); @@ -1233,14 +1233,14 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p localMapObject->string, OpenAPI_presence_info_parseFromJSON(localMapObject)); OpenAPI_list_add(rep_pra_infosList , localMapKeyPair); } -} + } cJSON *ue_init_res_req = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "ueInitResReq"); OpenAPI_ue_initiated_resource_request_t *ue_init_res_req_local_nonprim = NULL; if (ue_init_res_req) { ue_init_res_req_local_nonprim = OpenAPI_ue_initiated_resource_request_parseFromJSON(ue_init_res_req); -} + } cJSON *ref_qos_indication = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "refQosIndication"); @@ -1249,7 +1249,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [ref_qos_indication]"); goto end; } -} + } cJSON *qos_flow_usage = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "qosFlowUsage"); @@ -1260,7 +1260,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p goto end; } qos_flow_usageVariable = OpenAPI_qos_flow_usage_FromString(qos_flow_usage->valuestring); -} + } cJSON *credit_manage_status = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "creditManageStatus"); @@ -1271,21 +1271,21 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p goto end; } credit_manage_statusVariable = OpenAPI_credit_management_status_FromString(credit_manage_status->valuestring); -} + } cJSON *serv_nf_id = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "servNfId"); OpenAPI_serving_nf_identity_t *serv_nf_id_local_nonprim = NULL; if (serv_nf_id) { serv_nf_id_local_nonprim = OpenAPI_serving_nf_identity_parseFromJSON(serv_nf_id); -} + } cJSON *trace_req = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "traceReq"); OpenAPI_trace_data_t *trace_req_local_nonprim = NULL; if (trace_req) { trace_req_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_req); -} + } cJSON *ma_pdu_ind = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "maPduInd"); @@ -1296,35 +1296,35 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p goto end; } ma_pdu_indVariable = OpenAPI_ma_pdu_indication_FromString(ma_pdu_ind->valuestring); -} + } cJSON *atsss_capab = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "atsssCapab"); OpenAPI_atsss_capability_t *atsss_capab_local_nonprim = NULL; if (atsss_capab) { atsss_capab_local_nonprim = OpenAPI_atsss_capability_parseFromJSON(atsss_capab); -} + } cJSON *tsn_bridge_info = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "tsnBridgeInfo"); OpenAPI_tsn_bridge_info_t *tsn_bridge_info_local_nonprim = NULL; if (tsn_bridge_info) { tsn_bridge_info_local_nonprim = OpenAPI_tsn_bridge_info_parseFromJSON(tsn_bridge_info); -} + } cJSON *tsn_bridge_man_cont = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "tsnBridgeManCont"); OpenAPI_bridge_management_container_t *tsn_bridge_man_cont_local_nonprim = NULL; if (tsn_bridge_man_cont) { tsn_bridge_man_cont_local_nonprim = OpenAPI_bridge_management_container_parseFromJSON(tsn_bridge_man_cont); -} + } cJSON *tsn_port_man_cont_dstt = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "tsnPortManContDstt"); OpenAPI_port_management_container_t *tsn_port_man_cont_dstt_local_nonprim = NULL; if (tsn_port_man_cont_dstt) { tsn_port_man_cont_dstt_local_nonprim = OpenAPI_port_management_container_parseFromJSON(tsn_port_man_cont_dstt); -} + } cJSON *tsn_port_man_cont_nwtts = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "tsnPortManContNwtts"); @@ -1347,7 +1347,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(tsn_port_man_cont_nwttsList, tsn_port_man_cont_nwttsItem); } -} + } cJSON *mul_addr_infos = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "mulAddrInfos"); @@ -1370,7 +1370,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(mul_addr_infosList, mul_addr_infosItem); } -} + } cJSON *policy_dec_failure_reports = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "policyDecFailureReports"); @@ -1392,7 +1392,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(policy_dec_failure_reportsList, (void *)OpenAPI_policy_decision_failure_code_FromString(policy_dec_failure_reports_local_nonprimitive->valuestring)); } -} + } cJSON *traffic_descriptors = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "trafficDescriptors"); @@ -1415,7 +1415,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(traffic_descriptorsList, traffic_descriptorsItem); } -} + } cJSON *pcc_rule_id = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "pccRuleId"); @@ -1424,7 +1424,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed [pcc_rule_id]"); goto end; } -} + } cJSON *inter_grp_ids = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "interGrpIds"); @@ -1444,7 +1444,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p } OpenAPI_list_add(inter_grp_idsList , ogs_strdup_or_assert(inter_grp_ids_local->valuestring)); } -} + } cJSON *types_of_notif = cJSON_GetObjectItemCaseSensitive(sm_policy_update_context_dataJSON, "typesOfNotif"); @@ -1466,7 +1466,7 @@ OpenAPI_sm_policy_update_context_data_t *OpenAPI_sm_policy_update_context_data_p OpenAPI_list_add(types_of_notifList, (void *)OpenAPI_dl_data_delivery_status_FromString(types_of_notif_local_nonprimitive->valuestring)); } -} + } sm_policy_update_context_data_local_var = OpenAPI_sm_policy_update_context_data_create ( rep_policy_ctrl_req_triggers ? rep_policy_ctrl_req_triggersList : NULL, diff --git a/lib/sbi/openapi/model/small_data_rate_status.c b/lib/sbi/openapi/model/small_data_rate_status.c index fe5033101..22b444201 100644 --- a/lib/sbi/openapi/model/small_data_rate_status.c +++ b/lib/sbi/openapi/model/small_data_rate_status.c @@ -94,7 +94,7 @@ OpenAPI_small_data_rate_status_t *OpenAPI_small_data_rate_status_parseFromJSON(c ogs_error("OpenAPI_small_data_rate_status_parseFromJSON() failed [remain_packets_ul]"); goto end; } -} + } cJSON *remain_packets_dl = cJSON_GetObjectItemCaseSensitive(small_data_rate_statusJSON, "remainPacketsDl"); @@ -103,7 +103,7 @@ OpenAPI_small_data_rate_status_t *OpenAPI_small_data_rate_status_parseFromJSON(c ogs_error("OpenAPI_small_data_rate_status_parseFromJSON() failed [remain_packets_dl]"); goto end; } -} + } cJSON *validity_time = cJSON_GetObjectItemCaseSensitive(small_data_rate_statusJSON, "validityTime"); @@ -112,7 +112,7 @@ OpenAPI_small_data_rate_status_t *OpenAPI_small_data_rate_status_parseFromJSON(c ogs_error("OpenAPI_small_data_rate_status_parseFromJSON() failed [validity_time]"); goto end; } -} + } cJSON *remain_ex_reports_ul = cJSON_GetObjectItemCaseSensitive(small_data_rate_statusJSON, "remainExReportsUl"); @@ -121,7 +121,7 @@ OpenAPI_small_data_rate_status_t *OpenAPI_small_data_rate_status_parseFromJSON(c ogs_error("OpenAPI_small_data_rate_status_parseFromJSON() failed [remain_ex_reports_ul]"); goto end; } -} + } cJSON *remain_ex_reports_dl = cJSON_GetObjectItemCaseSensitive(small_data_rate_statusJSON, "remainExReportsDl"); @@ -130,7 +130,7 @@ OpenAPI_small_data_rate_status_t *OpenAPI_small_data_rate_status_parseFromJSON(c ogs_error("OpenAPI_small_data_rate_status_parseFromJSON() failed [remain_ex_reports_dl]"); goto end; } -} + } small_data_rate_status_local_var = OpenAPI_small_data_rate_status_create ( remain_packets_ul ? remain_packets_ul->valuedouble : 0, diff --git a/lib/sbi/openapi/model/smf_info.c b/lib/sbi/openapi/model/smf_info.c index 8b432aaf1..077841043 100644 --- a/lib/sbi/openapi/model/smf_info.c +++ b/lib/sbi/openapi/model/smf_info.c @@ -210,7 +210,7 @@ OpenAPI_smf_info_t *OpenAPI_smf_info_parseFromJSON(cJSON *smf_infoJSON) OpenAPI_list_add(tai_listList, tai_listItem); } -} + } cJSON *tai_range_list = cJSON_GetObjectItemCaseSensitive(smf_infoJSON, "taiRangeList"); @@ -233,7 +233,7 @@ OpenAPI_smf_info_t *OpenAPI_smf_info_parseFromJSON(cJSON *smf_infoJSON) OpenAPI_list_add(tai_range_listList, tai_range_listItem); } -} + } cJSON *pgw_fqdn = cJSON_GetObjectItemCaseSensitive(smf_infoJSON, "pgwFqdn"); @@ -242,7 +242,7 @@ OpenAPI_smf_info_t *OpenAPI_smf_info_parseFromJSON(cJSON *smf_infoJSON) ogs_error("OpenAPI_smf_info_parseFromJSON() failed [pgw_fqdn]"); goto end; } -} + } cJSON *access_type = cJSON_GetObjectItemCaseSensitive(smf_infoJSON, "accessType"); @@ -264,7 +264,7 @@ OpenAPI_smf_info_t *OpenAPI_smf_info_parseFromJSON(cJSON *smf_infoJSON) OpenAPI_list_add(access_typeList, (void *)OpenAPI_access_type_FromString(access_type_local_nonprimitive->valuestring)); } -} + } cJSON *priority = cJSON_GetObjectItemCaseSensitive(smf_infoJSON, "priority"); @@ -273,7 +273,7 @@ OpenAPI_smf_info_t *OpenAPI_smf_info_parseFromJSON(cJSON *smf_infoJSON) ogs_error("OpenAPI_smf_info_parseFromJSON() failed [priority]"); goto end; } -} + } cJSON *vsmf_support_ind = cJSON_GetObjectItemCaseSensitive(smf_infoJSON, "vsmfSupportInd"); @@ -282,7 +282,7 @@ OpenAPI_smf_info_t *OpenAPI_smf_info_parseFromJSON(cJSON *smf_infoJSON) ogs_error("OpenAPI_smf_info_parseFromJSON() failed [vsmf_support_ind]"); goto end; } -} + } smf_info_local_var = OpenAPI_smf_info_create ( s_nssai_smf_info_listList, diff --git a/lib/sbi/openapi/model/smf_registration.c b/lib/sbi/openapi/model/smf_registration.c index 70d9ee0a3..d6641b751 100644 --- a/lib/sbi/openapi/model/smf_registration.c +++ b/lib/sbi/openapi/model/smf_registration.c @@ -216,7 +216,7 @@ OpenAPI_smf_registration_t *OpenAPI_smf_registration_parseFromJSON(cJSON *smf_re ogs_error("OpenAPI_smf_registration_parseFromJSON() failed [smf_set_id]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(smf_registrationJSON, "supportedFeatures"); @@ -225,7 +225,7 @@ OpenAPI_smf_registration_t *OpenAPI_smf_registration_parseFromJSON(cJSON *smf_re ogs_error("OpenAPI_smf_registration_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *pdu_session_id = cJSON_GetObjectItemCaseSensitive(smf_registrationJSON, "pduSessionId"); if (!pdu_session_id) { @@ -256,7 +256,7 @@ OpenAPI_smf_registration_t *OpenAPI_smf_registration_parseFromJSON(cJSON *smf_re ogs_error("OpenAPI_smf_registration_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *emergency_services = cJSON_GetObjectItemCaseSensitive(smf_registrationJSON, "emergencyServices"); @@ -265,7 +265,7 @@ OpenAPI_smf_registration_t *OpenAPI_smf_registration_parseFromJSON(cJSON *smf_re ogs_error("OpenAPI_smf_registration_parseFromJSON() failed [emergency_services]"); goto end; } -} + } cJSON *pcscf_restoration_callback_uri = cJSON_GetObjectItemCaseSensitive(smf_registrationJSON, "pcscfRestorationCallbackUri"); @@ -274,7 +274,7 @@ OpenAPI_smf_registration_t *OpenAPI_smf_registration_parseFromJSON(cJSON *smf_re ogs_error("OpenAPI_smf_registration_parseFromJSON() failed [pcscf_restoration_callback_uri]"); goto end; } -} + } cJSON *plmn_id = cJSON_GetObjectItemCaseSensitive(smf_registrationJSON, "plmnId"); if (!plmn_id) { @@ -293,7 +293,7 @@ OpenAPI_smf_registration_t *OpenAPI_smf_registration_parseFromJSON(cJSON *smf_re ogs_error("OpenAPI_smf_registration_parseFromJSON() failed [pgw_fqdn]"); goto end; } -} + } cJSON *epdg_ind = cJSON_GetObjectItemCaseSensitive(smf_registrationJSON, "epdgInd"); @@ -302,7 +302,7 @@ OpenAPI_smf_registration_t *OpenAPI_smf_registration_parseFromJSON(cJSON *smf_re ogs_error("OpenAPI_smf_registration_parseFromJSON() failed [epdg_ind]"); goto end; } -} + } cJSON *dereg_callback_uri = cJSON_GetObjectItemCaseSensitive(smf_registrationJSON, "deregCallbackUri"); @@ -311,7 +311,7 @@ OpenAPI_smf_registration_t *OpenAPI_smf_registration_parseFromJSON(cJSON *smf_re ogs_error("OpenAPI_smf_registration_parseFromJSON() failed [dereg_callback_uri]"); goto end; } -} + } cJSON *registration_reason = cJSON_GetObjectItemCaseSensitive(smf_registrationJSON, "registrationReason"); @@ -322,7 +322,7 @@ OpenAPI_smf_registration_t *OpenAPI_smf_registration_parseFromJSON(cJSON *smf_re goto end; } registration_reasonVariable = OpenAPI_registration_reason_FromString(registration_reason->valuestring); -} + } cJSON *registration_time = cJSON_GetObjectItemCaseSensitive(smf_registrationJSON, "registrationTime"); @@ -331,14 +331,14 @@ OpenAPI_smf_registration_t *OpenAPI_smf_registration_parseFromJSON(cJSON *smf_re ogs_error("OpenAPI_smf_registration_parseFromJSON() failed [registration_time]"); goto end; } -} + } cJSON *context_info = cJSON_GetObjectItemCaseSensitive(smf_registrationJSON, "contextInfo"); OpenAPI_context_info_t *context_info_local_nonprim = NULL; if (context_info) { context_info_local_nonprim = OpenAPI_context_info_parseFromJSON(context_info); -} + } smf_registration_local_var = OpenAPI_smf_registration_create ( ogs_strdup_or_assert(smf_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/smf_selection_data.c b/lib/sbi/openapi/model/smf_selection_data.c index 3c8c62283..9ee304ce0 100644 --- a/lib/sbi/openapi/model/smf_selection_data.c +++ b/lib/sbi/openapi/model/smf_selection_data.c @@ -128,7 +128,7 @@ OpenAPI_smf_selection_data_t *OpenAPI_smf_selection_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_smf_selection_data_parseFromJSON() failed [unsupp_dnn]"); goto end; } -} + } cJSON *candidates = cJSON_GetObjectItemCaseSensitive(smf_selection_dataJSON, "candidates"); @@ -151,21 +151,21 @@ OpenAPI_smf_selection_data_t *OpenAPI_smf_selection_data_parseFromJSON(cJSON *sm localMapObject->string, OpenAPI_candidate_for_replacement_parseFromJSON(localMapObject)); OpenAPI_list_add(candidatesList , localMapKeyPair); } -} + } cJSON *snssai = cJSON_GetObjectItemCaseSensitive(smf_selection_dataJSON, "snssai"); OpenAPI_snssai_t *snssai_local_nonprim = NULL; if (snssai) { snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(snssai); -} + } cJSON *mapping_snssai = cJSON_GetObjectItemCaseSensitive(smf_selection_dataJSON, "mappingSnssai"); OpenAPI_snssai_t *mapping_snssai_local_nonprim = NULL; if (mapping_snssai) { mapping_snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(mapping_snssai); -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(smf_selection_dataJSON, "dnn"); @@ -174,7 +174,7 @@ OpenAPI_smf_selection_data_t *OpenAPI_smf_selection_data_parseFromJSON(cJSON *sm ogs_error("OpenAPI_smf_selection_data_parseFromJSON() failed [dnn]"); goto end; } -} + } smf_selection_data_local_var = OpenAPI_smf_selection_data_create ( unsupp_dnn ? unsupp_dnn->valueint : 0, diff --git a/lib/sbi/openapi/model/smf_selection_subscription_data.c b/lib/sbi/openapi/model/smf_selection_subscription_data.c index c53b31f63..3a07391bb 100644 --- a/lib/sbi/openapi/model/smf_selection_subscription_data.c +++ b/lib/sbi/openapi/model/smf_selection_subscription_data.c @@ -97,7 +97,7 @@ OpenAPI_smf_selection_subscription_data_t *OpenAPI_smf_selection_subscription_da ogs_error("OpenAPI_smf_selection_subscription_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *subscribed_snssai_infos = cJSON_GetObjectItemCaseSensitive(smf_selection_subscription_dataJSON, "subscribedSnssaiInfos"); @@ -120,7 +120,7 @@ OpenAPI_smf_selection_subscription_data_t *OpenAPI_smf_selection_subscription_da localMapObject->string, OpenAPI_snssai_info_parseFromJSON(localMapObject)); OpenAPI_list_add(subscribed_snssai_infosList , localMapKeyPair); } -} + } cJSON *shared_snssai_infos_id = cJSON_GetObjectItemCaseSensitive(smf_selection_subscription_dataJSON, "sharedSnssaiInfosId"); @@ -129,7 +129,7 @@ OpenAPI_smf_selection_subscription_data_t *OpenAPI_smf_selection_subscription_da ogs_error("OpenAPI_smf_selection_subscription_data_parseFromJSON() failed [shared_snssai_infos_id]"); goto end; } -} + } smf_selection_subscription_data_local_var = OpenAPI_smf_selection_subscription_data_create ( supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/smf_selection_subscription_data_1.c b/lib/sbi/openapi/model/smf_selection_subscription_data_1.c index 0e220128b..348274052 100644 --- a/lib/sbi/openapi/model/smf_selection_subscription_data_1.c +++ b/lib/sbi/openapi/model/smf_selection_subscription_data_1.c @@ -97,7 +97,7 @@ OpenAPI_smf_selection_subscription_data_1_t *OpenAPI_smf_selection_subscription_ ogs_error("OpenAPI_smf_selection_subscription_data_1_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *subscribed_snssai_infos = cJSON_GetObjectItemCaseSensitive(smf_selection_subscription_data_1JSON, "subscribedSnssaiInfos"); @@ -120,7 +120,7 @@ OpenAPI_smf_selection_subscription_data_1_t *OpenAPI_smf_selection_subscription_ localMapObject->string, OpenAPI_snssai_info_parseFromJSON(localMapObject)); OpenAPI_list_add(subscribed_snssai_infosList , localMapKeyPair); } -} + } cJSON *shared_snssai_infos_id = cJSON_GetObjectItemCaseSensitive(smf_selection_subscription_data_1JSON, "sharedSnssaiInfosId"); @@ -129,7 +129,7 @@ OpenAPI_smf_selection_subscription_data_1_t *OpenAPI_smf_selection_subscription_ ogs_error("OpenAPI_smf_selection_subscription_data_1_parseFromJSON() failed [shared_snssai_infos_id]"); goto end; } -} + } smf_selection_subscription_data_1_local_var = OpenAPI_smf_selection_subscription_data_1_create ( supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/sms_management_subscription_data.c b/lib/sbi/openapi/model/sms_management_subscription_data.c index 6349854cd..480b02170 100644 --- a/lib/sbi/openapi/model/sms_management_subscription_data.c +++ b/lib/sbi/openapi/model/sms_management_subscription_data.c @@ -150,7 +150,7 @@ OpenAPI_sms_management_subscription_data_t *OpenAPI_sms_management_subscription_ ogs_error("OpenAPI_sms_management_subscription_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *mt_sms_subscribed = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_dataJSON, "mtSmsSubscribed"); @@ -159,7 +159,7 @@ OpenAPI_sms_management_subscription_data_t *OpenAPI_sms_management_subscription_ ogs_error("OpenAPI_sms_management_subscription_data_parseFromJSON() failed [mt_sms_subscribed]"); goto end; } -} + } cJSON *mt_sms_barring_all = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_dataJSON, "mtSmsBarringAll"); @@ -168,7 +168,7 @@ OpenAPI_sms_management_subscription_data_t *OpenAPI_sms_management_subscription_ ogs_error("OpenAPI_sms_management_subscription_data_parseFromJSON() failed [mt_sms_barring_all]"); goto end; } -} + } cJSON *mt_sms_barring_roaming = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_dataJSON, "mtSmsBarringRoaming"); @@ -177,7 +177,7 @@ OpenAPI_sms_management_subscription_data_t *OpenAPI_sms_management_subscription_ ogs_error("OpenAPI_sms_management_subscription_data_parseFromJSON() failed [mt_sms_barring_roaming]"); goto end; } -} + } cJSON *mo_sms_subscribed = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_dataJSON, "moSmsSubscribed"); @@ -186,7 +186,7 @@ OpenAPI_sms_management_subscription_data_t *OpenAPI_sms_management_subscription_ ogs_error("OpenAPI_sms_management_subscription_data_parseFromJSON() failed [mo_sms_subscribed]"); goto end; } -} + } cJSON *mo_sms_barring_all = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_dataJSON, "moSmsBarringAll"); @@ -195,7 +195,7 @@ OpenAPI_sms_management_subscription_data_t *OpenAPI_sms_management_subscription_ ogs_error("OpenAPI_sms_management_subscription_data_parseFromJSON() failed [mo_sms_barring_all]"); goto end; } -} + } cJSON *mo_sms_barring_roaming = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_dataJSON, "moSmsBarringRoaming"); @@ -204,7 +204,7 @@ OpenAPI_sms_management_subscription_data_t *OpenAPI_sms_management_subscription_ ogs_error("OpenAPI_sms_management_subscription_data_parseFromJSON() failed [mo_sms_barring_roaming]"); goto end; } -} + } cJSON *shared_sms_mng_data_ids = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_dataJSON, "sharedSmsMngDataIds"); @@ -224,14 +224,14 @@ OpenAPI_sms_management_subscription_data_t *OpenAPI_sms_management_subscription_ } OpenAPI_list_add(shared_sms_mng_data_idsList , ogs_strdup_or_assert(shared_sms_mng_data_ids_local->valuestring)); } -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_dataJSON, "traceData"); OpenAPI_trace_data_1_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_1_parseFromJSON(trace_data); -} + } sms_management_subscription_data_local_var = OpenAPI_sms_management_subscription_data_create ( supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/sms_management_subscription_data_1.c b/lib/sbi/openapi/model/sms_management_subscription_data_1.c index a7bb3f36b..683e139f0 100644 --- a/lib/sbi/openapi/model/sms_management_subscription_data_1.c +++ b/lib/sbi/openapi/model/sms_management_subscription_data_1.c @@ -150,7 +150,7 @@ OpenAPI_sms_management_subscription_data_1_t *OpenAPI_sms_management_subscriptio ogs_error("OpenAPI_sms_management_subscription_data_1_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *mt_sms_subscribed = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_data_1JSON, "mtSmsSubscribed"); @@ -159,7 +159,7 @@ OpenAPI_sms_management_subscription_data_1_t *OpenAPI_sms_management_subscriptio ogs_error("OpenAPI_sms_management_subscription_data_1_parseFromJSON() failed [mt_sms_subscribed]"); goto end; } -} + } cJSON *mt_sms_barring_all = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_data_1JSON, "mtSmsBarringAll"); @@ -168,7 +168,7 @@ OpenAPI_sms_management_subscription_data_1_t *OpenAPI_sms_management_subscriptio ogs_error("OpenAPI_sms_management_subscription_data_1_parseFromJSON() failed [mt_sms_barring_all]"); goto end; } -} + } cJSON *mt_sms_barring_roaming = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_data_1JSON, "mtSmsBarringRoaming"); @@ -177,7 +177,7 @@ OpenAPI_sms_management_subscription_data_1_t *OpenAPI_sms_management_subscriptio ogs_error("OpenAPI_sms_management_subscription_data_1_parseFromJSON() failed [mt_sms_barring_roaming]"); goto end; } -} + } cJSON *mo_sms_subscribed = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_data_1JSON, "moSmsSubscribed"); @@ -186,7 +186,7 @@ OpenAPI_sms_management_subscription_data_1_t *OpenAPI_sms_management_subscriptio ogs_error("OpenAPI_sms_management_subscription_data_1_parseFromJSON() failed [mo_sms_subscribed]"); goto end; } -} + } cJSON *mo_sms_barring_all = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_data_1JSON, "moSmsBarringAll"); @@ -195,7 +195,7 @@ OpenAPI_sms_management_subscription_data_1_t *OpenAPI_sms_management_subscriptio ogs_error("OpenAPI_sms_management_subscription_data_1_parseFromJSON() failed [mo_sms_barring_all]"); goto end; } -} + } cJSON *mo_sms_barring_roaming = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_data_1JSON, "moSmsBarringRoaming"); @@ -204,7 +204,7 @@ OpenAPI_sms_management_subscription_data_1_t *OpenAPI_sms_management_subscriptio ogs_error("OpenAPI_sms_management_subscription_data_1_parseFromJSON() failed [mo_sms_barring_roaming]"); goto end; } -} + } cJSON *shared_sms_mng_data_ids = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_data_1JSON, "sharedSmsMngDataIds"); @@ -224,14 +224,14 @@ OpenAPI_sms_management_subscription_data_1_t *OpenAPI_sms_management_subscriptio } OpenAPI_list_add(shared_sms_mng_data_idsList , ogs_strdup_or_assert(shared_sms_mng_data_ids_local->valuestring)); } -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(sms_management_subscription_data_1JSON, "traceData"); OpenAPI_trace_data_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data); -} + } sms_management_subscription_data_1_local_var = OpenAPI_sms_management_subscription_data_1_create ( supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/sms_subscription_data.c b/lib/sbi/openapi/model/sms_subscription_data.c index c4c45a624..a53c35f81 100644 --- a/lib/sbi/openapi/model/sms_subscription_data.c +++ b/lib/sbi/openapi/model/sms_subscription_data.c @@ -67,7 +67,7 @@ OpenAPI_sms_subscription_data_t *OpenAPI_sms_subscription_data_parseFromJSON(cJS ogs_error("OpenAPI_sms_subscription_data_parseFromJSON() failed [sms_subscribed]"); goto end; } -} + } cJSON *shared_sms_subs_data_id = cJSON_GetObjectItemCaseSensitive(sms_subscription_dataJSON, "sharedSmsSubsDataId"); @@ -76,7 +76,7 @@ OpenAPI_sms_subscription_data_t *OpenAPI_sms_subscription_data_parseFromJSON(cJS ogs_error("OpenAPI_sms_subscription_data_parseFromJSON() failed [shared_sms_subs_data_id]"); goto end; } -} + } sms_subscription_data_local_var = OpenAPI_sms_subscription_data_create ( sms_subscribed ? sms_subscribed->valueint : 0, diff --git a/lib/sbi/openapi/model/sms_subscription_data_1.c b/lib/sbi/openapi/model/sms_subscription_data_1.c index 6fd8c1218..9fea1553a 100644 --- a/lib/sbi/openapi/model/sms_subscription_data_1.c +++ b/lib/sbi/openapi/model/sms_subscription_data_1.c @@ -67,7 +67,7 @@ OpenAPI_sms_subscription_data_1_t *OpenAPI_sms_subscription_data_1_parseFromJSON ogs_error("OpenAPI_sms_subscription_data_1_parseFromJSON() failed [sms_subscribed]"); goto end; } -} + } cJSON *shared_sms_subs_data_id = cJSON_GetObjectItemCaseSensitive(sms_subscription_data_1JSON, "sharedSmsSubsDataId"); @@ -76,7 +76,7 @@ OpenAPI_sms_subscription_data_1_t *OpenAPI_sms_subscription_data_1_parseFromJSON ogs_error("OpenAPI_sms_subscription_data_1_parseFromJSON() failed [shared_sms_subs_data_id]"); goto end; } -} + } sms_subscription_data_1_local_var = OpenAPI_sms_subscription_data_1_create ( sms_subscribed ? sms_subscribed->valueint : 0, diff --git a/lib/sbi/openapi/model/smsc_data.c b/lib/sbi/openapi/model/smsc_data.c index b086ebb4b..f1bef02f7 100644 --- a/lib/sbi/openapi/model/smsc_data.c +++ b/lib/sbi/openapi/model/smsc_data.c @@ -74,14 +74,14 @@ OpenAPI_smsc_data_t *OpenAPI_smsc_data_parseFromJSON(cJSON *smsc_dataJSON) ogs_error("OpenAPI_smsc_data_parseFromJSON() failed [smsc_map_address]"); goto end; } -} + } cJSON *smsc_diameter_address = cJSON_GetObjectItemCaseSensitive(smsc_dataJSON, "smscDiameterAddress"); OpenAPI_network_node_diameter_address_1_t *smsc_diameter_address_local_nonprim = NULL; if (smsc_diameter_address) { smsc_diameter_address_local_nonprim = OpenAPI_network_node_diameter_address_1_parseFromJSON(smsc_diameter_address); -} + } smsc_data_local_var = OpenAPI_smsc_data_create ( smsc_map_address ? ogs_strdup_or_assert(smsc_map_address->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/smsf_registration.c b/lib/sbi/openapi/model/smsf_registration.c index da6a90b58..002fac601 100644 --- a/lib/sbi/openapi/model/smsf_registration.c +++ b/lib/sbi/openapi/model/smsf_registration.c @@ -154,7 +154,7 @@ OpenAPI_smsf_registration_t *OpenAPI_smsf_registration_parseFromJSON(cJSON *smsf ogs_error("OpenAPI_smsf_registration_parseFromJSON() failed [smsf_set_id]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(smsf_registrationJSON, "supportedFeatures"); @@ -163,7 +163,7 @@ OpenAPI_smsf_registration_t *OpenAPI_smsf_registration_parseFromJSON(cJSON *smsf ogs_error("OpenAPI_smsf_registration_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *plmn_id = cJSON_GetObjectItemCaseSensitive(smsf_registrationJSON, "plmnId"); if (!plmn_id) { @@ -182,14 +182,14 @@ OpenAPI_smsf_registration_t *OpenAPI_smsf_registration_parseFromJSON(cJSON *smsf ogs_error("OpenAPI_smsf_registration_parseFromJSON() failed [smsf_map_address]"); goto end; } -} + } cJSON *smsf_diameter_address = cJSON_GetObjectItemCaseSensitive(smsf_registrationJSON, "smsfDiameterAddress"); OpenAPI_network_node_diameter_address_t *smsf_diameter_address_local_nonprim = NULL; if (smsf_diameter_address) { smsf_diameter_address_local_nonprim = OpenAPI_network_node_diameter_address_parseFromJSON(smsf_diameter_address); -} + } cJSON *registration_time = cJSON_GetObjectItemCaseSensitive(smsf_registrationJSON, "registrationTime"); @@ -198,14 +198,14 @@ OpenAPI_smsf_registration_t *OpenAPI_smsf_registration_parseFromJSON(cJSON *smsf ogs_error("OpenAPI_smsf_registration_parseFromJSON() failed [registration_time]"); goto end; } -} + } cJSON *context_info = cJSON_GetObjectItemCaseSensitive(smsf_registrationJSON, "contextInfo"); OpenAPI_context_info_t *context_info_local_nonprim = NULL; if (context_info) { context_info_local_nonprim = OpenAPI_context_info_parseFromJSON(context_info); -} + } smsf_registration_local_var = OpenAPI_smsf_registration_create ( ogs_strdup_or_assert(smsf_instance_id->valuestring), diff --git a/lib/sbi/openapi/model/snssai.c b/lib/sbi/openapi/model/snssai.c index dd72b41cf..f6201b095 100644 --- a/lib/sbi/openapi/model/snssai.c +++ b/lib/sbi/openapi/model/snssai.c @@ -77,7 +77,7 @@ OpenAPI_snssai_t *OpenAPI_snssai_parseFromJSON(cJSON *snssaiJSON) ogs_error("OpenAPI_snssai_parseFromJSON() failed [sd]"); goto end; } -} + } snssai_local_var = OpenAPI_snssai_create ( sst->valuedouble, diff --git a/lib/sbi/openapi/model/snssai_extension.c b/lib/sbi/openapi/model/snssai_extension.c index bfc451f2f..7cd30f53f 100644 --- a/lib/sbi/openapi/model/snssai_extension.c +++ b/lib/sbi/openapi/model/snssai_extension.c @@ -97,7 +97,7 @@ OpenAPI_snssai_extension_t *OpenAPI_snssai_extension_parseFromJSON(cJSON *snssai OpenAPI_list_add(sd_rangesList, sd_rangesItem); } -} + } cJSON *wildcard_sd = cJSON_GetObjectItemCaseSensitive(snssai_extensionJSON, "wildcardSd"); @@ -106,7 +106,7 @@ OpenAPI_snssai_extension_t *OpenAPI_snssai_extension_parseFromJSON(cJSON *snssai ogs_error("OpenAPI_snssai_extension_parseFromJSON() failed [wildcard_sd]"); goto end; } -} + } snssai_extension_local_var = OpenAPI_snssai_extension_create ( sd_ranges ? sd_rangesList : NULL, diff --git a/lib/sbi/openapi/model/snssai_route_selection_descriptor.c b/lib/sbi/openapi/model/snssai_route_selection_descriptor.c index 7b03f9300..4723be61d 100644 --- a/lib/sbi/openapi/model/snssai_route_selection_descriptor.c +++ b/lib/sbi/openapi/model/snssai_route_selection_descriptor.c @@ -112,7 +112,7 @@ OpenAPI_snssai_route_selection_descriptor_t *OpenAPI_snssai_route_selection_desc OpenAPI_list_add(dnn_route_sel_descsList, dnn_route_sel_descsItem); } -} + } snssai_route_selection_descriptor_local_var = OpenAPI_snssai_route_selection_descriptor_create ( snssai_local_nonprim, diff --git a/lib/sbi/openapi/model/snssai_upf_info_item.c b/lib/sbi/openapi/model/snssai_upf_info_item.c index a89c178b7..9c2d5f1c7 100644 --- a/lib/sbi/openapi/model/snssai_upf_info_item.c +++ b/lib/sbi/openapi/model/snssai_upf_info_item.c @@ -131,7 +131,7 @@ OpenAPI_snssai_upf_info_item_t *OpenAPI_snssai_upf_info_item_parseFromJSON(cJSON ogs_error("OpenAPI_snssai_upf_info_item_parseFromJSON() failed [redundant_transport]"); goto end; } -} + } snssai_upf_info_item_local_var = OpenAPI_snssai_upf_info_item_create ( s_nssai_local_nonprim, diff --git a/lib/sbi/openapi/model/sor_data.c b/lib/sbi/openapi/model/sor_data.c index dc6fdcf87..4d7cf4fbb 100644 --- a/lib/sbi/openapi/model/sor_data.c +++ b/lib/sbi/openapi/model/sor_data.c @@ -109,7 +109,7 @@ OpenAPI_sor_data_t *OpenAPI_sor_data_parseFromJSON(cJSON *sor_dataJSON) ogs_error("OpenAPI_sor_data_parseFromJSON() failed [sor_xmac_iue]"); goto end; } -} + } cJSON *sor_mac_iue = cJSON_GetObjectItemCaseSensitive(sor_dataJSON, "sorMacIue"); @@ -118,7 +118,7 @@ OpenAPI_sor_data_t *OpenAPI_sor_data_parseFromJSON(cJSON *sor_dataJSON) ogs_error("OpenAPI_sor_data_parseFromJSON() failed [sor_mac_iue]"); goto end; } -} + } sor_data_local_var = OpenAPI_sor_data_create ( ogs_strdup_or_assert(provisioning_time->valuestring), diff --git a/lib/sbi/openapi/model/sor_info.c b/lib/sbi/openapi/model/sor_info.c index a2fc61efe..5f609415d 100644 --- a/lib/sbi/openapi/model/sor_info.c +++ b/lib/sbi/openapi/model/sor_info.c @@ -97,7 +97,7 @@ OpenAPI_sor_info_t *OpenAPI_sor_info_parseFromJSON(cJSON *sor_infoJSON) OpenAPI_steering_container_t *steering_container_local_nonprim = NULL; if (steering_container) { steering_container_local_nonprim = OpenAPI_steering_container_parseFromJSON(steering_container); -} + } cJSON *ack_ind = cJSON_GetObjectItemCaseSensitive(sor_infoJSON, "ackInd"); if (!ack_ind) { @@ -118,7 +118,7 @@ OpenAPI_sor_info_t *OpenAPI_sor_info_parseFromJSON(cJSON *sor_infoJSON) ogs_error("OpenAPI_sor_info_parseFromJSON() failed [sor_mac_iausf]"); goto end; } -} + } cJSON *countersor = cJSON_GetObjectItemCaseSensitive(sor_infoJSON, "countersor"); @@ -127,7 +127,7 @@ OpenAPI_sor_info_t *OpenAPI_sor_info_parseFromJSON(cJSON *sor_infoJSON) ogs_error("OpenAPI_sor_info_parseFromJSON() failed [countersor]"); goto end; } -} + } cJSON *provisioning_time = cJSON_GetObjectItemCaseSensitive(sor_infoJSON, "provisioningTime"); if (!provisioning_time) { diff --git a/lib/sbi/openapi/model/sor_info_1.c b/lib/sbi/openapi/model/sor_info_1.c index 559f0bf0a..8299c14b8 100644 --- a/lib/sbi/openapi/model/sor_info_1.c +++ b/lib/sbi/openapi/model/sor_info_1.c @@ -97,7 +97,7 @@ OpenAPI_sor_info_1_t *OpenAPI_sor_info_1_parseFromJSON(cJSON *sor_info_1JSON) OpenAPI_steering_container_t *steering_container_local_nonprim = NULL; if (steering_container) { steering_container_local_nonprim = OpenAPI_steering_container_parseFromJSON(steering_container); -} + } cJSON *ack_ind = cJSON_GetObjectItemCaseSensitive(sor_info_1JSON, "ackInd"); if (!ack_ind) { @@ -118,7 +118,7 @@ OpenAPI_sor_info_1_t *OpenAPI_sor_info_1_parseFromJSON(cJSON *sor_info_1JSON) ogs_error("OpenAPI_sor_info_1_parseFromJSON() failed [sor_mac_iausf]"); goto end; } -} + } cJSON *countersor = cJSON_GetObjectItemCaseSensitive(sor_info_1JSON, "countersor"); @@ -127,7 +127,7 @@ OpenAPI_sor_info_1_t *OpenAPI_sor_info_1_parseFromJSON(cJSON *sor_info_1JSON) ogs_error("OpenAPI_sor_info_1_parseFromJSON() failed [countersor]"); goto end; } -} + } cJSON *provisioning_time = cJSON_GetObjectItemCaseSensitive(sor_info_1JSON, "provisioningTime"); if (!provisioning_time) { diff --git a/lib/sbi/openapi/model/ssc_modes.c b/lib/sbi/openapi/model/ssc_modes.c index 474917cd2..bd99c13ed 100644 --- a/lib/sbi/openapi/model/ssc_modes.c +++ b/lib/sbi/openapi/model/ssc_modes.c @@ -100,7 +100,7 @@ OpenAPI_ssc_modes_t *OpenAPI_ssc_modes_parseFromJSON(cJSON *ssc_modesJSON) OpenAPI_list_add(allowed_ssc_modesList, (void *)OpenAPI_ssc_mode_FromString(allowed_ssc_modes_local_nonprimitive->valuestring)); } -} + } ssc_modes_local_var = OpenAPI_ssc_modes_create ( default_ssc_modeVariable, diff --git a/lib/sbi/openapi/model/ssc_modes_1.c b/lib/sbi/openapi/model/ssc_modes_1.c index 7d547a002..e9fa6c885 100644 --- a/lib/sbi/openapi/model/ssc_modes_1.c +++ b/lib/sbi/openapi/model/ssc_modes_1.c @@ -100,7 +100,7 @@ OpenAPI_ssc_modes_1_t *OpenAPI_ssc_modes_1_parseFromJSON(cJSON *ssc_modes_1JSON) OpenAPI_list_add(allowed_ssc_modesList, (void *)OpenAPI_ssc_mode_FromString(allowed_ssc_modes_local_nonprimitive->valuestring)); } -} + } ssc_modes_1_local_var = OpenAPI_ssc_modes_1_create ( default_ssc_modeVariable, diff --git a/lib/sbi/openapi/model/status_info.c b/lib/sbi/openapi/model/status_info.c index be2ab9236..4c9f854c9 100644 --- a/lib/sbi/openapi/model/status_info.c +++ b/lib/sbi/openapi/model/status_info.c @@ -105,14 +105,14 @@ OpenAPI_status_info_t *OpenAPI_status_info_parseFromJSON(cJSON *status_infoJSON) goto end; } causeVariable = OpenAPI_cause_FromString(cause->valuestring); -} + } cJSON *cn_assisted_ran_para = cJSON_GetObjectItemCaseSensitive(status_infoJSON, "cnAssistedRanPara"); OpenAPI_cn_assisted_ran_para_t *cn_assisted_ran_para_local_nonprim = NULL; if (cn_assisted_ran_para) { cn_assisted_ran_para_local_nonprim = OpenAPI_cn_assisted_ran_para_parseFromJSON(cn_assisted_ran_para); -} + } cJSON *an_type = cJSON_GetObjectItemCaseSensitive(status_infoJSON, "anType"); @@ -123,7 +123,7 @@ OpenAPI_status_info_t *OpenAPI_status_info_parseFromJSON(cJSON *status_infoJSON) goto end; } an_typeVariable = OpenAPI_access_type_FromString(an_type->valuestring); -} + } status_info_local_var = OpenAPI_status_info_create ( resource_statusVariable, diff --git a/lib/sbi/openapi/model/status_notification.c b/lib/sbi/openapi/model/status_notification.c index 7324e5d19..fc8d81655 100644 --- a/lib/sbi/openapi/model/status_notification.c +++ b/lib/sbi/openapi/model/status_notification.c @@ -102,14 +102,14 @@ OpenAPI_status_notification_t *OpenAPI_status_notification_parseFromJSON(cJSON * OpenAPI_small_data_rate_status_t *small_data_rate_status_local_nonprim = NULL; if (small_data_rate_status) { small_data_rate_status_local_nonprim = OpenAPI_small_data_rate_status_parseFromJSON(small_data_rate_status); -} + } cJSON *apn_rate_status = cJSON_GetObjectItemCaseSensitive(status_notificationJSON, "apnRateStatus"); OpenAPI_apn_rate_status_t *apn_rate_status_local_nonprim = NULL; if (apn_rate_status) { apn_rate_status_local_nonprim = OpenAPI_apn_rate_status_parseFromJSON(apn_rate_status); -} + } status_notification_local_var = OpenAPI_status_notification_create ( status_info_local_nonprim, diff --git a/lib/sbi/openapi/model/steering_info.c b/lib/sbi/openapi/model/steering_info.c index d13cdd93a..7a525a24f 100644 --- a/lib/sbi/openapi/model/steering_info.c +++ b/lib/sbi/openapi/model/steering_info.c @@ -112,7 +112,7 @@ OpenAPI_steering_info_t *OpenAPI_steering_info_parseFromJSON(cJSON *steering_inf OpenAPI_list_add(access_tech_listList, access_tech_listItem); } -} + } steering_info_local_var = OpenAPI_steering_info_create ( plmn_id_local_nonprim, diff --git a/lib/sbi/openapi/model/steering_mode.c b/lib/sbi/openapi/model/steering_mode.c index 04b3c285b..353c23ee5 100644 --- a/lib/sbi/openapi/model/steering_mode.c +++ b/lib/sbi/openapi/model/steering_mode.c @@ -114,14 +114,14 @@ OpenAPI_steering_mode_t *OpenAPI_steering_mode_parseFromJSON(cJSON *steering_mod goto end; } activeVariable = OpenAPI_access_type_FromString(active->valuestring); -} + } cJSON *standby = cJSON_GetObjectItemCaseSensitive(steering_modeJSON, "standby"); OpenAPI_access_type_rm_t *standby_local_nonprim = NULL; if (standby) { standby_local_nonprim = OpenAPI_access_type_rm_parseFromJSON(standby); -} + } cJSON *_3g_load = cJSON_GetObjectItemCaseSensitive(steering_modeJSON, "3gLoad"); @@ -130,7 +130,7 @@ OpenAPI_steering_mode_t *OpenAPI_steering_mode_parseFromJSON(cJSON *steering_mod ogs_error("OpenAPI_steering_mode_parseFromJSON() failed [_3g_load]"); goto end; } -} + } cJSON *prio_acc = cJSON_GetObjectItemCaseSensitive(steering_modeJSON, "prioAcc"); @@ -141,7 +141,7 @@ OpenAPI_steering_mode_t *OpenAPI_steering_mode_parseFromJSON(cJSON *steering_mod goto end; } prio_accVariable = OpenAPI_access_type_FromString(prio_acc->valuestring); -} + } steering_mode_local_var = OpenAPI_steering_mode_create ( steer_mode_valueVariable, diff --git a/lib/sbi/openapi/model/subscribed_default_qos.c b/lib/sbi/openapi/model/subscribed_default_qos.c index 14f88b131..ca1198d38 100644 --- a/lib/sbi/openapi/model/subscribed_default_qos.c +++ b/lib/sbi/openapi/model/subscribed_default_qos.c @@ -100,7 +100,7 @@ OpenAPI_subscribed_default_qos_t *OpenAPI_subscribed_default_qos_parseFromJSON(c ogs_error("OpenAPI_subscribed_default_qos_parseFromJSON() failed [priority_level]"); goto end; } -} + } subscribed_default_qos_local_var = OpenAPI_subscribed_default_qos_create ( _5qi->valuedouble, diff --git a/lib/sbi/openapi/model/subscribed_default_qos_1.c b/lib/sbi/openapi/model/subscribed_default_qos_1.c index 912200fe0..6daab0537 100644 --- a/lib/sbi/openapi/model/subscribed_default_qos_1.c +++ b/lib/sbi/openapi/model/subscribed_default_qos_1.c @@ -100,7 +100,7 @@ OpenAPI_subscribed_default_qos_1_t *OpenAPI_subscribed_default_qos_1_parseFromJS ogs_error("OpenAPI_subscribed_default_qos_1_parseFromJSON() failed [priority_level]"); goto end; } -} + } subscribed_default_qos_1_local_var = OpenAPI_subscribed_default_qos_1_create ( _5qi->valuedouble, diff --git a/lib/sbi/openapi/model/subscribed_snssai.c b/lib/sbi/openapi/model/subscribed_snssai.c index bb55ce1d6..997908a08 100644 --- a/lib/sbi/openapi/model/subscribed_snssai.c +++ b/lib/sbi/openapi/model/subscribed_snssai.c @@ -81,7 +81,7 @@ OpenAPI_subscribed_snssai_t *OpenAPI_subscribed_snssai_parseFromJSON(cJSON *subs ogs_error("OpenAPI_subscribed_snssai_parseFromJSON() failed [default_indication]"); goto end; } -} + } subscribed_snssai_local_var = OpenAPI_subscribed_snssai_create ( subscribed_snssai_local_nonprim, diff --git a/lib/sbi/openapi/model/subscription_data.c b/lib/sbi/openapi/model/subscription_data.c index d965642d7..fa2cb3e0a 100644 --- a/lib/sbi/openapi/model/subscription_data.c +++ b/lib/sbi/openapi/model/subscription_data.c @@ -319,14 +319,14 @@ OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subs ogs_error("OpenAPI_subscription_data_parseFromJSON() failed [req_nf_instance_id]"); goto end; } -} + } cJSON *subscr_cond = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "subscrCond"); OpenAPI_subscription_data_subscr_cond_t *subscr_cond_local_nonprim = NULL; if (subscr_cond) { subscr_cond_local_nonprim = OpenAPI_subscription_data_subscr_cond_parseFromJSON(subscr_cond); -} + } cJSON *subscription_id = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "subscriptionId"); @@ -335,7 +335,7 @@ OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subs ogs_error("OpenAPI_subscription_data_parseFromJSON() failed [subscription_id]"); goto end; } -} + } cJSON *validity_time = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "validityTime"); @@ -344,7 +344,7 @@ OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subs ogs_error("OpenAPI_subscription_data_parseFromJSON() failed [validity_time]"); goto end; } -} + } cJSON *req_notif_events = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "reqNotifEvents"); @@ -366,14 +366,14 @@ OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subs OpenAPI_list_add(req_notif_eventsList, (void *)OpenAPI_notification_event_type_FromString(req_notif_events_local_nonprimitive->valuestring)); } -} + } cJSON *plmn_id = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "plmnId"); OpenAPI_plmn_id_t *plmn_id_local_nonprim = NULL; if (plmn_id) { plmn_id_local_nonprim = OpenAPI_plmn_id_parseFromJSON(plmn_id); -} + } cJSON *nid = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "nid"); @@ -382,14 +382,14 @@ OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subs ogs_error("OpenAPI_subscription_data_parseFromJSON() failed [nid]"); goto end; } -} + } cJSON *notif_condition = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "notifCondition"); OpenAPI_notif_condition_t *notif_condition_local_nonprim = NULL; if (notif_condition) { notif_condition_local_nonprim = OpenAPI_notif_condition_parseFromJSON(notif_condition); -} + } cJSON *req_nf_type = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "reqNfType"); @@ -400,7 +400,7 @@ OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subs goto end; } req_nf_typeVariable = OpenAPI_nf_type_FromString(req_nf_type->valuestring); -} + } cJSON *req_nf_fqdn = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "reqNfFqdn"); @@ -409,7 +409,7 @@ OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subs ogs_error("OpenAPI_subscription_data_parseFromJSON() failed [req_nf_fqdn]"); goto end; } -} + } cJSON *req_snssais = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "reqSnssais"); @@ -432,7 +432,7 @@ OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subs OpenAPI_list_add(req_snssaisList, req_snssaisItem); } -} + } cJSON *req_per_plmn_snssais = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "reqPerPlmnSnssais"); @@ -455,7 +455,7 @@ OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subs OpenAPI_list_add(req_per_plmn_snssaisList, req_per_plmn_snssaisItem); } -} + } cJSON *req_plmn_list = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "reqPlmnList"); @@ -478,7 +478,7 @@ OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subs OpenAPI_list_add(req_plmn_listList, req_plmn_listItem); } -} + } cJSON *req_snpn_list = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "reqSnpnList"); @@ -501,7 +501,7 @@ OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subs OpenAPI_list_add(req_snpn_listList, req_snpn_listItem); } -} + } cJSON *serving_scope = cJSON_GetObjectItemCaseSensitive(subscription_dataJSON, "servingScope"); @@ -521,7 +521,7 @@ OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(cJSON *subs } OpenAPI_list_add(serving_scopeList , ogs_strdup_or_assert(serving_scope_local->valuestring)); } -} + } subscription_data_local_var = OpenAPI_subscription_data_create ( ogs_strdup_or_assert(nf_status_notification_uri->valuestring), diff --git a/lib/sbi/openapi/model/subscription_data_sets.c b/lib/sbi/openapi/model/subscription_data_sets.c index 6e865c1d3..525245a07 100644 --- a/lib/sbi/openapi/model/subscription_data_sets.c +++ b/lib/sbi/openapi/model/subscription_data_sets.c @@ -264,42 +264,42 @@ OpenAPI_subscription_data_sets_t *OpenAPI_subscription_data_sets_parseFromJSON(c OpenAPI_access_and_mobility_subscription_data_t *am_data_local_nonprim = NULL; if (am_data) { am_data_local_nonprim = OpenAPI_access_and_mobility_subscription_data_parseFromJSON(am_data); -} + } cJSON *smf_sel_data = cJSON_GetObjectItemCaseSensitive(subscription_data_setsJSON, "smfSelData"); OpenAPI_smf_selection_subscription_data_t *smf_sel_data_local_nonprim = NULL; if (smf_sel_data) { smf_sel_data_local_nonprim = OpenAPI_smf_selection_subscription_data_parseFromJSON(smf_sel_data); -} + } cJSON *uec_amf_data = cJSON_GetObjectItemCaseSensitive(subscription_data_setsJSON, "uecAmfData"); OpenAPI_ue_context_in_amf_data_t *uec_amf_data_local_nonprim = NULL; if (uec_amf_data) { uec_amf_data_local_nonprim = OpenAPI_ue_context_in_amf_data_parseFromJSON(uec_amf_data); -} + } cJSON *uec_smf_data = cJSON_GetObjectItemCaseSensitive(subscription_data_setsJSON, "uecSmfData"); OpenAPI_ue_context_in_smf_data_t *uec_smf_data_local_nonprim = NULL; if (uec_smf_data) { uec_smf_data_local_nonprim = OpenAPI_ue_context_in_smf_data_parseFromJSON(uec_smf_data); -} + } cJSON *uec_smsf_data = cJSON_GetObjectItemCaseSensitive(subscription_data_setsJSON, "uecSmsfData"); OpenAPI_ue_context_in_smsf_data_t *uec_smsf_data_local_nonprim = NULL; if (uec_smsf_data) { uec_smsf_data_local_nonprim = OpenAPI_ue_context_in_smsf_data_parseFromJSON(uec_smsf_data); -} + } cJSON *sms_subs_data = cJSON_GetObjectItemCaseSensitive(subscription_data_setsJSON, "smsSubsData"); OpenAPI_sms_subscription_data_t *sms_subs_data_local_nonprim = NULL; if (sms_subs_data) { sms_subs_data_local_nonprim = OpenAPI_sms_subscription_data_parseFromJSON(sms_subs_data); -} + } cJSON *sm_data = cJSON_GetObjectItemCaseSensitive(subscription_data_setsJSON, "smData"); @@ -322,49 +322,49 @@ OpenAPI_subscription_data_sets_t *OpenAPI_subscription_data_sets_parseFromJSON(c OpenAPI_list_add(sm_dataList, sm_dataItem); } -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(subscription_data_setsJSON, "traceData"); OpenAPI_trace_data_1_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_1_parseFromJSON(trace_data); -} + } cJSON *sms_mng_data = cJSON_GetObjectItemCaseSensitive(subscription_data_setsJSON, "smsMngData"); OpenAPI_sms_management_subscription_data_t *sms_mng_data_local_nonprim = NULL; if (sms_mng_data) { sms_mng_data_local_nonprim = OpenAPI_sms_management_subscription_data_parseFromJSON(sms_mng_data); -} + } cJSON *lcs_privacy_data = cJSON_GetObjectItemCaseSensitive(subscription_data_setsJSON, "lcsPrivacyData"); OpenAPI_lcs_privacy_data_t *lcs_privacy_data_local_nonprim = NULL; if (lcs_privacy_data) { lcs_privacy_data_local_nonprim = OpenAPI_lcs_privacy_data_parseFromJSON(lcs_privacy_data); -} + } cJSON *lcs_mo_data = cJSON_GetObjectItemCaseSensitive(subscription_data_setsJSON, "lcsMoData"); OpenAPI_lcs_mo_data_t *lcs_mo_data_local_nonprim = NULL; if (lcs_mo_data) { lcs_mo_data_local_nonprim = OpenAPI_lcs_mo_data_parseFromJSON(lcs_mo_data); -} + } cJSON *v2x_data = cJSON_GetObjectItemCaseSensitive(subscription_data_setsJSON, "v2xData"); OpenAPI_v2x_subscription_data_t *v2x_data_local_nonprim = NULL; if (v2x_data) { v2x_data_local_nonprim = OpenAPI_v2x_subscription_data_parseFromJSON(v2x_data); -} + } cJSON *lcs_broadcast_assistance_types_data = cJSON_GetObjectItemCaseSensitive(subscription_data_setsJSON, "lcsBroadcastAssistanceTypesData"); OpenAPI_lcs_broadcast_assistance_types_data_t *lcs_broadcast_assistance_types_data_local_nonprim = NULL; if (lcs_broadcast_assistance_types_data) { lcs_broadcast_assistance_types_data_local_nonprim = OpenAPI_lcs_broadcast_assistance_types_data_parseFromJSON(lcs_broadcast_assistance_types_data); -} + } subscription_data_sets_local_var = OpenAPI_subscription_data_sets_create ( am_data ? am_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/subscription_data_sets_1.c b/lib/sbi/openapi/model/subscription_data_sets_1.c index 3eeada047..aad70ba71 100644 --- a/lib/sbi/openapi/model/subscription_data_sets_1.c +++ b/lib/sbi/openapi/model/subscription_data_sets_1.c @@ -264,42 +264,42 @@ OpenAPI_subscription_data_sets_1_t *OpenAPI_subscription_data_sets_1_parseFromJS OpenAPI_access_and_mobility_subscription_data_1_t *am_data_local_nonprim = NULL; if (am_data) { am_data_local_nonprim = OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON(am_data); -} + } cJSON *smf_sel_data = cJSON_GetObjectItemCaseSensitive(subscription_data_sets_1JSON, "smfSelData"); OpenAPI_smf_selection_subscription_data_1_t *smf_sel_data_local_nonprim = NULL; if (smf_sel_data) { smf_sel_data_local_nonprim = OpenAPI_smf_selection_subscription_data_1_parseFromJSON(smf_sel_data); -} + } cJSON *uec_amf_data = cJSON_GetObjectItemCaseSensitive(subscription_data_sets_1JSON, "uecAmfData"); OpenAPI_ue_context_in_amf_data_1_t *uec_amf_data_local_nonprim = NULL; if (uec_amf_data) { uec_amf_data_local_nonprim = OpenAPI_ue_context_in_amf_data_1_parseFromJSON(uec_amf_data); -} + } cJSON *uec_smf_data = cJSON_GetObjectItemCaseSensitive(subscription_data_sets_1JSON, "uecSmfData"); OpenAPI_ue_context_in_smf_data_1_t *uec_smf_data_local_nonprim = NULL; if (uec_smf_data) { uec_smf_data_local_nonprim = OpenAPI_ue_context_in_smf_data_1_parseFromJSON(uec_smf_data); -} + } cJSON *uec_smsf_data = cJSON_GetObjectItemCaseSensitive(subscription_data_sets_1JSON, "uecSmsfData"); OpenAPI_ue_context_in_smsf_data_1_t *uec_smsf_data_local_nonprim = NULL; if (uec_smsf_data) { uec_smsf_data_local_nonprim = OpenAPI_ue_context_in_smsf_data_1_parseFromJSON(uec_smsf_data); -} + } cJSON *sms_subs_data = cJSON_GetObjectItemCaseSensitive(subscription_data_sets_1JSON, "smsSubsData"); OpenAPI_sms_subscription_data_1_t *sms_subs_data_local_nonprim = NULL; if (sms_subs_data) { sms_subs_data_local_nonprim = OpenAPI_sms_subscription_data_1_parseFromJSON(sms_subs_data); -} + } cJSON *sm_data = cJSON_GetObjectItemCaseSensitive(subscription_data_sets_1JSON, "smData"); @@ -322,49 +322,49 @@ OpenAPI_subscription_data_sets_1_t *OpenAPI_subscription_data_sets_1_parseFromJS OpenAPI_list_add(sm_dataList, sm_dataItem); } -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(subscription_data_sets_1JSON, "traceData"); OpenAPI_trace_data_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data); -} + } cJSON *sms_mng_data = cJSON_GetObjectItemCaseSensitive(subscription_data_sets_1JSON, "smsMngData"); OpenAPI_sms_management_subscription_data_1_t *sms_mng_data_local_nonprim = NULL; if (sms_mng_data) { sms_mng_data_local_nonprim = OpenAPI_sms_management_subscription_data_1_parseFromJSON(sms_mng_data); -} + } cJSON *lcs_privacy_data = cJSON_GetObjectItemCaseSensitive(subscription_data_sets_1JSON, "lcsPrivacyData"); OpenAPI_lcs_privacy_data_1_t *lcs_privacy_data_local_nonprim = NULL; if (lcs_privacy_data) { lcs_privacy_data_local_nonprim = OpenAPI_lcs_privacy_data_1_parseFromJSON(lcs_privacy_data); -} + } cJSON *lcs_mo_data = cJSON_GetObjectItemCaseSensitive(subscription_data_sets_1JSON, "lcsMoData"); OpenAPI_lcs_mo_data_t *lcs_mo_data_local_nonprim = NULL; if (lcs_mo_data) { lcs_mo_data_local_nonprim = OpenAPI_lcs_mo_data_parseFromJSON(lcs_mo_data); -} + } cJSON *v2x_data = cJSON_GetObjectItemCaseSensitive(subscription_data_sets_1JSON, "v2xData"); OpenAPI_v2x_subscription_data_1_t *v2x_data_local_nonprim = NULL; if (v2x_data) { v2x_data_local_nonprim = OpenAPI_v2x_subscription_data_1_parseFromJSON(v2x_data); -} + } cJSON *lcs_broadcast_assistance_types_data = cJSON_GetObjectItemCaseSensitive(subscription_data_sets_1JSON, "lcsBroadcastAssistanceTypesData"); OpenAPI_lcs_broadcast_assistance_types_data_1_t *lcs_broadcast_assistance_types_data_local_nonprim = NULL; if (lcs_broadcast_assistance_types_data) { lcs_broadcast_assistance_types_data_local_nonprim = OpenAPI_lcs_broadcast_assistance_types_data_1_parseFromJSON(lcs_broadcast_assistance_types_data); -} + } subscription_data_sets_1_local_var = OpenAPI_subscription_data_sets_1_create ( am_data ? am_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/subscription_data_subscr_cond.c b/lib/sbi/openapi/model/subscription_data_subscr_cond.c index ae7b720d3..cff53f28e 100644 --- a/lib/sbi/openapi/model/subscription_data_subscr_cond.c +++ b/lib/sbi/openapi/model/subscription_data_subscr_cond.c @@ -249,7 +249,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p ogs_error("OpenAPI_subscription_data_subscr_cond_parseFromJSON() failed [nf_instance_id]"); goto end; } -} + } cJSON *nf_type = cJSON_GetObjectItemCaseSensitive(subscription_data_subscr_condJSON, "nfType"); @@ -260,7 +260,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p goto end; } nf_typeVariable = OpenAPI_nf_type_FromString(nf_type->valuestring); -} + } cJSON *service_name = cJSON_GetObjectItemCaseSensitive(subscription_data_subscr_condJSON, "serviceName"); @@ -269,7 +269,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p ogs_error("OpenAPI_subscription_data_subscr_cond_parseFromJSON() failed [service_name]"); goto end; } -} + } cJSON *amf_set_id = cJSON_GetObjectItemCaseSensitive(subscription_data_subscr_condJSON, "amfSetId"); @@ -278,7 +278,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p ogs_error("OpenAPI_subscription_data_subscr_cond_parseFromJSON() failed [amf_set_id]"); goto end; } -} + } cJSON *amf_region_id = cJSON_GetObjectItemCaseSensitive(subscription_data_subscr_condJSON, "amfRegionId"); @@ -287,7 +287,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p ogs_error("OpenAPI_subscription_data_subscr_cond_parseFromJSON() failed [amf_region_id]"); goto end; } -} + } cJSON *guami_list = cJSON_GetObjectItemCaseSensitive(subscription_data_subscr_condJSON, "guamiList"); @@ -310,7 +310,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p OpenAPI_list_add(guami_listList, guami_listItem); } -} + } cJSON *snssai_list = cJSON_GetObjectItemCaseSensitive(subscription_data_subscr_condJSON, "snssaiList"); @@ -333,7 +333,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p OpenAPI_list_add(snssai_listList, snssai_listItem); } -} + } cJSON *nsi_list = cJSON_GetObjectItemCaseSensitive(subscription_data_subscr_condJSON, "nsiList"); @@ -353,7 +353,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p } OpenAPI_list_add(nsi_listList , ogs_strdup_or_assert(nsi_list_local->valuestring)); } -} + } cJSON *nf_group_id = cJSON_GetObjectItemCaseSensitive(subscription_data_subscr_condJSON, "nfGroupId"); @@ -362,7 +362,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p ogs_error("OpenAPI_subscription_data_subscr_cond_parseFromJSON() failed [nf_group_id]"); goto end; } -} + } cJSON *nf_set_id = cJSON_GetObjectItemCaseSensitive(subscription_data_subscr_condJSON, "nfSetId"); @@ -371,7 +371,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p ogs_error("OpenAPI_subscription_data_subscr_cond_parseFromJSON() failed [nf_set_id]"); goto end; } -} + } cJSON *nf_service_set_id = cJSON_GetObjectItemCaseSensitive(subscription_data_subscr_condJSON, "nfServiceSetId"); @@ -380,7 +380,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p ogs_error("OpenAPI_subscription_data_subscr_cond_parseFromJSON() failed [nf_service_set_id]"); goto end; } -} + } cJSON *smf_serving_area = cJSON_GetObjectItemCaseSensitive(subscription_data_subscr_condJSON, "smfServingArea"); @@ -400,7 +400,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p } OpenAPI_list_add(smf_serving_areaList , ogs_strdup_or_assert(smf_serving_area_local->valuestring)); } -} + } cJSON *tai_list = cJSON_GetObjectItemCaseSensitive(subscription_data_subscr_condJSON, "taiList"); @@ -423,7 +423,7 @@ OpenAPI_subscription_data_subscr_cond_t *OpenAPI_subscription_data_subscr_cond_p OpenAPI_list_add(tai_listList, tai_listItem); } -} + } subscription_data_subscr_cond_local_var = OpenAPI_subscription_data_subscr_cond_create ( nf_instance_id ? ogs_strdup_or_assert(nf_instance_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/subscription_data_subscriptions.c b/lib/sbi/openapi/model/subscription_data_subscriptions.c index f168a10dc..d87e89418 100644 --- a/lib/sbi/openapi/model/subscription_data_subscriptions.c +++ b/lib/sbi/openapi/model/subscription_data_subscriptions.c @@ -142,7 +142,7 @@ OpenAPI_subscription_data_subscriptions_t *OpenAPI_subscription_data_subscriptio ogs_error("OpenAPI_subscription_data_subscriptions_parseFromJSON() failed [ue_id]"); goto end; } -} + } cJSON *callback_reference = cJSON_GetObjectItemCaseSensitive(subscription_data_subscriptionsJSON, "callbackReference"); if (!callback_reference) { @@ -163,7 +163,7 @@ OpenAPI_subscription_data_subscriptions_t *OpenAPI_subscription_data_subscriptio ogs_error("OpenAPI_subscription_data_subscriptions_parseFromJSON() failed [original_callback_reference]"); goto end; } -} + } cJSON *monitored_resource_uris = cJSON_GetObjectItemCaseSensitive(subscription_data_subscriptionsJSON, "monitoredResourceUris"); if (!monitored_resource_uris) { @@ -195,14 +195,14 @@ OpenAPI_subscription_data_subscriptions_t *OpenAPI_subscription_data_subscriptio ogs_error("OpenAPI_subscription_data_subscriptions_parseFromJSON() failed [expiry]"); goto end; } -} + } cJSON *sdm_subscription = cJSON_GetObjectItemCaseSensitive(subscription_data_subscriptionsJSON, "sdmSubscription"); OpenAPI_sdm_subscription_1_t *sdm_subscription_local_nonprim = NULL; if (sdm_subscription) { sdm_subscription_local_nonprim = OpenAPI_sdm_subscription_1_parseFromJSON(sdm_subscription); -} + } cJSON *subscription_id = cJSON_GetObjectItemCaseSensitive(subscription_data_subscriptionsJSON, "subscriptionId"); @@ -211,7 +211,7 @@ OpenAPI_subscription_data_subscriptions_t *OpenAPI_subscription_data_subscriptio ogs_error("OpenAPI_subscription_data_subscriptions_parseFromJSON() failed [subscription_id]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(subscription_data_subscriptionsJSON, "supported-features"); @@ -220,7 +220,7 @@ OpenAPI_subscription_data_subscriptions_t *OpenAPI_subscription_data_subscriptio ogs_error("OpenAPI_subscription_data_subscriptions_parseFromJSON() failed [supported_features]"); goto end; } -} + } subscription_data_subscriptions_local_var = OpenAPI_subscription_data_subscriptions_create ( ue_id ? ogs_strdup_or_assert(ue_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/suggested_packet_num_dl.c b/lib/sbi/openapi/model/suggested_packet_num_dl.c index 63103ccec..b3fab1051 100644 --- a/lib/sbi/openapi/model/suggested_packet_num_dl.c +++ b/lib/sbi/openapi/model/suggested_packet_num_dl.c @@ -77,7 +77,7 @@ OpenAPI_suggested_packet_num_dl_t *OpenAPI_suggested_packet_num_dl_parseFromJSON ogs_error("OpenAPI_suggested_packet_num_dl_parseFromJSON() failed [validity_time]"); goto end; } -} + } suggested_packet_num_dl_local_var = OpenAPI_suggested_packet_num_dl_create ( suggested_packet_num_dl->valuedouble, diff --git a/lib/sbi/openapi/model/suggested_packet_num_dl_1.c b/lib/sbi/openapi/model/suggested_packet_num_dl_1.c index 026252c01..5e4716d7b 100644 --- a/lib/sbi/openapi/model/suggested_packet_num_dl_1.c +++ b/lib/sbi/openapi/model/suggested_packet_num_dl_1.c @@ -77,7 +77,7 @@ OpenAPI_suggested_packet_num_dl_1_t *OpenAPI_suggested_packet_num_dl_1_parseFrom ogs_error("OpenAPI_suggested_packet_num_dl_1_parseFromJSON() failed [validity_time]"); goto end; } -} + } suggested_packet_num_dl_1_local_var = OpenAPI_suggested_packet_num_dl_1_create ( suggested_packet_num_dl->valuedouble, diff --git a/lib/sbi/openapi/model/supi_range.c b/lib/sbi/openapi/model/supi_range.c index 34befd390..98ef8c2cf 100644 --- a/lib/sbi/openapi/model/supi_range.c +++ b/lib/sbi/openapi/model/supi_range.c @@ -78,7 +78,7 @@ OpenAPI_supi_range_t *OpenAPI_supi_range_parseFromJSON(cJSON *supi_rangeJSON) ogs_error("OpenAPI_supi_range_parseFromJSON() failed [start]"); goto end; } -} + } cJSON *end = cJSON_GetObjectItemCaseSensitive(supi_rangeJSON, "end"); @@ -87,7 +87,7 @@ OpenAPI_supi_range_t *OpenAPI_supi_range_parseFromJSON(cJSON *supi_rangeJSON) ogs_error("OpenAPI_supi_range_parseFromJSON() failed [end]"); goto end; } -} + } cJSON *pattern = cJSON_GetObjectItemCaseSensitive(supi_rangeJSON, "pattern"); @@ -96,7 +96,7 @@ OpenAPI_supi_range_t *OpenAPI_supi_range_parseFromJSON(cJSON *supi_rangeJSON) ogs_error("OpenAPI_supi_range_parseFromJSON() failed [pattern]"); goto end; } -} + } supi_range_local_var = OpenAPI_supi_range_create ( start ? ogs_strdup_or_assert(start->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/tac_range.c b/lib/sbi/openapi/model/tac_range.c index a826a95eb..72cb64074 100644 --- a/lib/sbi/openapi/model/tac_range.c +++ b/lib/sbi/openapi/model/tac_range.c @@ -78,7 +78,7 @@ OpenAPI_tac_range_t *OpenAPI_tac_range_parseFromJSON(cJSON *tac_rangeJSON) ogs_error("OpenAPI_tac_range_parseFromJSON() failed [start]"); goto end; } -} + } cJSON *end = cJSON_GetObjectItemCaseSensitive(tac_rangeJSON, "end"); @@ -87,7 +87,7 @@ OpenAPI_tac_range_t *OpenAPI_tac_range_parseFromJSON(cJSON *tac_rangeJSON) ogs_error("OpenAPI_tac_range_parseFromJSON() failed [end]"); goto end; } -} + } cJSON *pattern = cJSON_GetObjectItemCaseSensitive(tac_rangeJSON, "pattern"); @@ -96,7 +96,7 @@ OpenAPI_tac_range_t *OpenAPI_tac_range_parseFromJSON(cJSON *tac_rangeJSON) ogs_error("OpenAPI_tac_range_parseFromJSON() failed [pattern]"); goto end; } -} + } tac_range_local_var = OpenAPI_tac_range_create ( start ? ogs_strdup_or_assert(start->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/tai.c b/lib/sbi/openapi/model/tai.c index 4316c42cf..2bd2a71f8 100644 --- a/lib/sbi/openapi/model/tai.c +++ b/lib/sbi/openapi/model/tai.c @@ -102,7 +102,7 @@ OpenAPI_tai_t *OpenAPI_tai_parseFromJSON(cJSON *taiJSON) ogs_error("OpenAPI_tai_parseFromJSON() failed [nid]"); goto end; } -} + } tai_local_var = OpenAPI_tai_create ( plmn_id_local_nonprim, diff --git a/lib/sbi/openapi/model/tai_1.c b/lib/sbi/openapi/model/tai_1.c index 03b2cc1aa..e8e0cc81e 100644 --- a/lib/sbi/openapi/model/tai_1.c +++ b/lib/sbi/openapi/model/tai_1.c @@ -102,7 +102,7 @@ OpenAPI_tai_1_t *OpenAPI_tai_1_parseFromJSON(cJSON *tai_1JSON) ogs_error("OpenAPI_tai_1_parseFromJSON() failed [nid]"); goto end; } -} + } tai_1_local_var = OpenAPI_tai_1_create ( plmn_id_local_nonprim, diff --git a/lib/sbi/openapi/model/tai_range.c b/lib/sbi/openapi/model/tai_range.c index 5d9575563..7bffd94e4 100644 --- a/lib/sbi/openapi/model/tai_range.c +++ b/lib/sbi/openapi/model/tai_range.c @@ -132,7 +132,7 @@ OpenAPI_tai_range_t *OpenAPI_tai_range_parseFromJSON(cJSON *tai_rangeJSON) ogs_error("OpenAPI_tai_range_parseFromJSON() failed [nid]"); goto end; } -} + } tai_range_local_var = OpenAPI_tai_range_create ( plmn_id_local_nonprim, diff --git a/lib/sbi/openapi/model/temporal_validity.c b/lib/sbi/openapi/model/temporal_validity.c index ea25d77ee..a4b4d23fc 100644 --- a/lib/sbi/openapi/model/temporal_validity.c +++ b/lib/sbi/openapi/model/temporal_validity.c @@ -68,7 +68,7 @@ OpenAPI_temporal_validity_t *OpenAPI_temporal_validity_parseFromJSON(cJSON *temp ogs_error("OpenAPI_temporal_validity_parseFromJSON() failed [start_time]"); goto end; } -} + } cJSON *stop_time = cJSON_GetObjectItemCaseSensitive(temporal_validityJSON, "stopTime"); @@ -77,7 +77,7 @@ OpenAPI_temporal_validity_t *OpenAPI_temporal_validity_parseFromJSON(cJSON *temp ogs_error("OpenAPI_temporal_validity_parseFromJSON() failed [stop_time]"); goto end; } -} + } temporal_validity_local_var = OpenAPI_temporal_validity_create ( start_time ? ogs_strdup_or_assert(start_time->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/time_period.c b/lib/sbi/openapi/model/time_period.c index b0d3519d7..964466592 100644 --- a/lib/sbi/openapi/model/time_period.c +++ b/lib/sbi/openapi/model/time_period.c @@ -81,7 +81,7 @@ OpenAPI_time_period_t *OpenAPI_time_period_parseFromJSON(cJSON *time_periodJSON) ogs_error("OpenAPI_time_period_parseFromJSON() failed [max_num_period]"); goto end; } -} + } time_period_local_var = OpenAPI_time_period_create ( period_local_nonprim, diff --git a/lib/sbi/openapi/model/tnap_id.c b/lib/sbi/openapi/model/tnap_id.c index dcd01f76f..f1df75cad 100644 --- a/lib/sbi/openapi/model/tnap_id.c +++ b/lib/sbi/openapi/model/tnap_id.c @@ -77,7 +77,7 @@ OpenAPI_tnap_id_t *OpenAPI_tnap_id_parseFromJSON(cJSON *tnap_idJSON) ogs_error("OpenAPI_tnap_id_parseFromJSON() failed [ss_id]"); goto end; } -} + } cJSON *bss_id = cJSON_GetObjectItemCaseSensitive(tnap_idJSON, "bssId"); @@ -86,7 +86,7 @@ OpenAPI_tnap_id_t *OpenAPI_tnap_id_parseFromJSON(cJSON *tnap_idJSON) ogs_error("OpenAPI_tnap_id_parseFromJSON() failed [bss_id]"); goto end; } -} + } cJSON *civic_address = cJSON_GetObjectItemCaseSensitive(tnap_idJSON, "civicAddress"); @@ -95,7 +95,7 @@ OpenAPI_tnap_id_t *OpenAPI_tnap_id_parseFromJSON(cJSON *tnap_idJSON) ogs_error("OpenAPI_tnap_id_parseFromJSON() failed [civic_address]"); goto end; } -} + } tnap_id_local_var = OpenAPI_tnap_id_create ( ss_id ? ogs_strdup_or_assert(ss_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/tngf_info.c b/lib/sbi/openapi/model/tngf_info.c index f0112a67e..edbab57fa 100644 --- a/lib/sbi/openapi/model/tngf_info.c +++ b/lib/sbi/openapi/model/tngf_info.c @@ -113,7 +113,7 @@ OpenAPI_tngf_info_t *OpenAPI_tngf_info_parseFromJSON(cJSON *tngf_infoJSON) } OpenAPI_list_add(ipv4_endpoint_addressesList , ogs_strdup_or_assert(ipv4_endpoint_addresses_local->valuestring)); } -} + } cJSON *ipv6_endpoint_addresses = cJSON_GetObjectItemCaseSensitive(tngf_infoJSON, "ipv6EndpointAddresses"); @@ -133,7 +133,7 @@ OpenAPI_tngf_info_t *OpenAPI_tngf_info_parseFromJSON(cJSON *tngf_infoJSON) } OpenAPI_list_add(ipv6_endpoint_addressesList , ogs_strdup_or_assert(ipv6_endpoint_addresses_local->valuestring)); } -} + } cJSON *endpoint_fqdn = cJSON_GetObjectItemCaseSensitive(tngf_infoJSON, "endpointFqdn"); @@ -142,7 +142,7 @@ OpenAPI_tngf_info_t *OpenAPI_tngf_info_parseFromJSON(cJSON *tngf_infoJSON) ogs_error("OpenAPI_tngf_info_parseFromJSON() failed [endpoint_fqdn]"); goto end; } -} + } tngf_info_local_var = OpenAPI_tngf_info_create ( ipv4_endpoint_addresses ? ipv4_endpoint_addressesList : NULL, diff --git a/lib/sbi/openapi/model/trace_data.c b/lib/sbi/openapi/model/trace_data.c index 4d9bdaa35..d9352ff9a 100644 --- a/lib/sbi/openapi/model/trace_data.c +++ b/lib/sbi/openapi/model/trace_data.c @@ -159,7 +159,7 @@ OpenAPI_trace_data_t *OpenAPI_trace_data_parseFromJSON(cJSON *trace_dataJSON) ogs_error("OpenAPI_trace_data_parseFromJSON() failed [collection_entity_ipv4_addr]"); goto end; } -} + } cJSON *collection_entity_ipv6_addr = cJSON_GetObjectItemCaseSensitive(trace_dataJSON, "collectionEntityIpv6Addr"); @@ -168,7 +168,7 @@ OpenAPI_trace_data_t *OpenAPI_trace_data_parseFromJSON(cJSON *trace_dataJSON) ogs_error("OpenAPI_trace_data_parseFromJSON() failed [collection_entity_ipv6_addr]"); goto end; } -} + } cJSON *interface_list = cJSON_GetObjectItemCaseSensitive(trace_dataJSON, "interfaceList"); @@ -177,7 +177,7 @@ OpenAPI_trace_data_t *OpenAPI_trace_data_parseFromJSON(cJSON *trace_dataJSON) ogs_error("OpenAPI_trace_data_parseFromJSON() failed [interface_list]"); goto end; } -} + } trace_data_local_var = OpenAPI_trace_data_create ( ogs_strdup_or_assert(trace_ref->valuestring), diff --git a/lib/sbi/openapi/model/trace_data_1.c b/lib/sbi/openapi/model/trace_data_1.c index 544e474ab..d0e7edc46 100644 --- a/lib/sbi/openapi/model/trace_data_1.c +++ b/lib/sbi/openapi/model/trace_data_1.c @@ -159,7 +159,7 @@ OpenAPI_trace_data_1_t *OpenAPI_trace_data_1_parseFromJSON(cJSON *trace_data_1JS ogs_error("OpenAPI_trace_data_1_parseFromJSON() failed [collection_entity_ipv4_addr]"); goto end; } -} + } cJSON *collection_entity_ipv6_addr = cJSON_GetObjectItemCaseSensitive(trace_data_1JSON, "collectionEntityIpv6Addr"); @@ -168,7 +168,7 @@ OpenAPI_trace_data_1_t *OpenAPI_trace_data_1_parseFromJSON(cJSON *trace_data_1JS ogs_error("OpenAPI_trace_data_1_parseFromJSON() failed [collection_entity_ipv6_addr]"); goto end; } -} + } cJSON *interface_list = cJSON_GetObjectItemCaseSensitive(trace_data_1JSON, "interfaceList"); @@ -177,7 +177,7 @@ OpenAPI_trace_data_1_t *OpenAPI_trace_data_1_parseFromJSON(cJSON *trace_data_1JS ogs_error("OpenAPI_trace_data_1_parseFromJSON() failed [interface_list]"); goto end; } -} + } trace_data_1_local_var = OpenAPI_trace_data_1_create ( ogs_strdup_or_assert(trace_ref->valuestring), diff --git a/lib/sbi/openapi/model/trace_data_response.c b/lib/sbi/openapi/model/trace_data_response.c index ef4604502..af401c124 100644 --- a/lib/sbi/openapi/model/trace_data_response.c +++ b/lib/sbi/openapi/model/trace_data_response.c @@ -72,7 +72,7 @@ OpenAPI_trace_data_response_t *OpenAPI_trace_data_response_parseFromJSON(cJSON * OpenAPI_trace_data_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data); -} + } cJSON *shared_trace_data_id = cJSON_GetObjectItemCaseSensitive(trace_data_responseJSON, "sharedTraceDataId"); @@ -81,7 +81,7 @@ OpenAPI_trace_data_response_t *OpenAPI_trace_data_response_parseFromJSON(cJSON * ogs_error("OpenAPI_trace_data_response_parseFromJSON() failed [shared_trace_data_id]"); goto end; } -} + } trace_data_response_local_var = OpenAPI_trace_data_response_create ( trace_data ? trace_data_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/traffic_control_data.c b/lib/sbi/openapi/model/traffic_control_data.c index c5f059ac3..6e04bfa18 100644 --- a/lib/sbi/openapi/model/traffic_control_data.c +++ b/lib/sbi/openapi/model/traffic_control_data.c @@ -258,14 +258,14 @@ OpenAPI_traffic_control_data_t *OpenAPI_traffic_control_data_parseFromJSON(cJSON goto end; } flow_statusVariable = OpenAPI_flow_status_FromString(flow_status->valuestring); -} + } cJSON *redirect_info = cJSON_GetObjectItemCaseSensitive(traffic_control_dataJSON, "redirectInfo"); OpenAPI_redirect_information_t *redirect_info_local_nonprim = NULL; if (redirect_info) { redirect_info_local_nonprim = OpenAPI_redirect_information_parseFromJSON(redirect_info); -} + } cJSON *add_redirect_info = cJSON_GetObjectItemCaseSensitive(traffic_control_dataJSON, "addRedirectInfo"); @@ -288,7 +288,7 @@ OpenAPI_traffic_control_data_t *OpenAPI_traffic_control_data_parseFromJSON(cJSON OpenAPI_list_add(add_redirect_infoList, add_redirect_infoItem); } -} + } cJSON *mute_notif = cJSON_GetObjectItemCaseSensitive(traffic_control_dataJSON, "muteNotif"); @@ -297,7 +297,7 @@ OpenAPI_traffic_control_data_t *OpenAPI_traffic_control_data_parseFromJSON(cJSON ogs_error("OpenAPI_traffic_control_data_parseFromJSON() failed [mute_notif]"); goto end; } -} + } cJSON *traffic_steering_pol_id_dl = cJSON_GetObjectItemCaseSensitive(traffic_control_dataJSON, "trafficSteeringPolIdDl"); @@ -306,7 +306,7 @@ OpenAPI_traffic_control_data_t *OpenAPI_traffic_control_data_parseFromJSON(cJSON ogs_error("OpenAPI_traffic_control_data_parseFromJSON() failed [traffic_steering_pol_id_dl]"); goto end; } -} + } cJSON *traffic_steering_pol_id_ul = cJSON_GetObjectItemCaseSensitive(traffic_control_dataJSON, "trafficSteeringPolIdUl"); @@ -315,7 +315,7 @@ OpenAPI_traffic_control_data_t *OpenAPI_traffic_control_data_parseFromJSON(cJSON ogs_error("OpenAPI_traffic_control_data_parseFromJSON() failed [traffic_steering_pol_id_ul]"); goto end; } -} + } cJSON *route_to_locs = cJSON_GetObjectItemCaseSensitive(traffic_control_dataJSON, "routeToLocs"); @@ -338,7 +338,7 @@ OpenAPI_traffic_control_data_t *OpenAPI_traffic_control_data_parseFromJSON(cJSON OpenAPI_list_add(route_to_locsList, route_to_locsItem); } -} + } cJSON *traff_corre_ind = cJSON_GetObjectItemCaseSensitive(traffic_control_dataJSON, "traffCorreInd"); @@ -347,14 +347,14 @@ OpenAPI_traffic_control_data_t *OpenAPI_traffic_control_data_parseFromJSON(cJSON ogs_error("OpenAPI_traffic_control_data_parseFromJSON() failed [traff_corre_ind]"); goto end; } -} + } cJSON *up_path_chg_event = cJSON_GetObjectItemCaseSensitive(traffic_control_dataJSON, "upPathChgEvent"); OpenAPI_up_path_chg_event_t *up_path_chg_event_local_nonprim = NULL; if (up_path_chg_event) { up_path_chg_event_local_nonprim = OpenAPI_up_path_chg_event_parseFromJSON(up_path_chg_event); -} + } cJSON *steer_fun = cJSON_GetObjectItemCaseSensitive(traffic_control_dataJSON, "steerFun"); @@ -365,28 +365,28 @@ OpenAPI_traffic_control_data_t *OpenAPI_traffic_control_data_parseFromJSON(cJSON goto end; } steer_funVariable = OpenAPI_steering_functionality_FromString(steer_fun->valuestring); -} + } cJSON *steer_mode_dl = cJSON_GetObjectItemCaseSensitive(traffic_control_dataJSON, "steerModeDl"); OpenAPI_steering_mode_t *steer_mode_dl_local_nonprim = NULL; if (steer_mode_dl) { steer_mode_dl_local_nonprim = OpenAPI_steering_mode_parseFromJSON(steer_mode_dl); -} + } cJSON *steer_mode_ul = cJSON_GetObjectItemCaseSensitive(traffic_control_dataJSON, "steerModeUl"); OpenAPI_steering_mode_t *steer_mode_ul_local_nonprim = NULL; if (steer_mode_ul) { steer_mode_ul_local_nonprim = OpenAPI_steering_mode_parseFromJSON(steer_mode_ul); -} + } cJSON *mul_acc_ctrl = cJSON_GetObjectItemCaseSensitive(traffic_control_dataJSON, "mulAccCtrl"); OpenAPI_multicast_access_control_t *mul_acc_ctrl_local_nonprim = NULL; if (mul_acc_ctrl) { mul_acc_ctrl_local_nonprim = OpenAPI_multicast_access_control_parseFromJSON(mul_acc_ctrl); -} + } traffic_control_data_local_var = OpenAPI_traffic_control_data_create ( ogs_strdup_or_assert(tc_id->valuestring), diff --git a/lib/sbi/openapi/model/traffic_descriptor.c b/lib/sbi/openapi/model/traffic_descriptor.c index 0bb09a29f..85b007867 100644 --- a/lib/sbi/openapi/model/traffic_descriptor.c +++ b/lib/sbi/openapi/model/traffic_descriptor.c @@ -100,14 +100,14 @@ OpenAPI_traffic_descriptor_t *OpenAPI_traffic_descriptor_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_descriptor_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *s_nssai = cJSON_GetObjectItemCaseSensitive(traffic_descriptorJSON, "sNssai"); OpenAPI_snssai_t *s_nssai_local_nonprim = NULL; if (s_nssai) { s_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(s_nssai); -} + } cJSON *ddd_traffic_descriptor_list = cJSON_GetObjectItemCaseSensitive(traffic_descriptorJSON, "dddTrafficDescriptorList"); @@ -130,7 +130,7 @@ OpenAPI_traffic_descriptor_t *OpenAPI_traffic_descriptor_parseFromJSON(cJSON *tr OpenAPI_list_add(ddd_traffic_descriptor_listList, ddd_traffic_descriptor_listItem); } -} + } traffic_descriptor_local_var = OpenAPI_traffic_descriptor_create ( dnn ? ogs_strdup_or_assert(dnn->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/traffic_influ_data.c b/lib/sbi/openapi/model/traffic_influ_data.c index ca450b70d..bae0e44a7 100644 --- a/lib/sbi/openapi/model/traffic_influ_data.c +++ b/lib/sbi/openapi/model/traffic_influ_data.c @@ -377,7 +377,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [up_path_chg_notif_corre_id]"); goto end; } -} + } cJSON *app_relo_ind = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "appReloInd"); @@ -386,7 +386,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [app_relo_ind]"); goto end; } -} + } cJSON *af_app_id = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "afAppId"); @@ -395,7 +395,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [af_app_id]"); goto end; } -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "dnn"); @@ -404,7 +404,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *eth_traffic_filters = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "ethTrafficFilters"); @@ -427,14 +427,14 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr OpenAPI_list_add(eth_traffic_filtersList, eth_traffic_filtersItem); } -} + } cJSON *snssai = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "snssai"); OpenAPI_snssai_t *snssai_local_nonprim = NULL; if (snssai) { snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(snssai); -} + } cJSON *inter_group_id = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "interGroupId"); @@ -443,7 +443,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [inter_group_id]"); goto end; } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "supi"); @@ -452,7 +452,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *traffic_filters = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "trafficFilters"); @@ -475,7 +475,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr OpenAPI_list_add(traffic_filtersList, traffic_filtersItem); } -} + } cJSON *traffic_routes = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "trafficRoutes"); @@ -498,7 +498,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr OpenAPI_list_add(traffic_routesList, traffic_routesItem); } -} + } cJSON *traff_corre_ind = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "traffCorreInd"); @@ -507,7 +507,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [traff_corre_ind]"); goto end; } -} + } cJSON *valid_start_time = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "validStartTime"); @@ -516,7 +516,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [valid_start_time]"); goto end; } -} + } cJSON *valid_end_time = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "validEndTime"); @@ -525,7 +525,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [valid_end_time]"); goto end; } -} + } cJSON *temp_validities = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "tempValidities"); @@ -548,14 +548,14 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr OpenAPI_list_add(temp_validitiesList, temp_validitiesItem); } -} + } cJSON *nw_area_info = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "nwAreaInfo"); OpenAPI_network_area_info_1_t *nw_area_info_local_nonprim = NULL; if (nw_area_info) { nw_area_info_local_nonprim = OpenAPI_network_area_info_1_parseFromJSON(nw_area_info); -} + } cJSON *up_path_chg_notif_uri = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "upPathChgNotifUri"); @@ -564,7 +564,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [up_path_chg_notif_uri]"); goto end; } -} + } cJSON *headers = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "headers"); @@ -584,7 +584,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr } OpenAPI_list_add(headersList , ogs_strdup_or_assert(headers_local->valuestring)); } -} + } cJSON *subscribed_events = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "subscribedEvents"); @@ -607,7 +607,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr OpenAPI_list_add(subscribed_eventsList, subscribed_eventsItem); } -} + } cJSON *dnai_chg_type = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "dnaiChgType"); @@ -618,7 +618,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr goto end; } dnai_chg_typeVariable = OpenAPI_dnai_change_type_FromString(dnai_chg_type->valuestring); -} + } cJSON *af_ack_ind = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "afAckInd"); @@ -627,7 +627,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [af_ack_ind]"); goto end; } -} + } cJSON *addr_preser_ind = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "addrPreserInd"); @@ -636,7 +636,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [addr_preser_ind]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "supportedFeatures"); @@ -645,7 +645,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *res_uri = cJSON_GetObjectItemCaseSensitive(traffic_influ_dataJSON, "resUri"); @@ -654,7 +654,7 @@ OpenAPI_traffic_influ_data_t *OpenAPI_traffic_influ_data_parseFromJSON(cJSON *tr ogs_error("OpenAPI_traffic_influ_data_parseFromJSON() failed [res_uri]"); goto end; } -} + } traffic_influ_data_local_var = OpenAPI_traffic_influ_data_create ( up_path_chg_notif_corre_id ? ogs_strdup_or_assert(up_path_chg_notif_corre_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/traffic_influ_data_notif.c b/lib/sbi/openapi/model/traffic_influ_data_notif.c index 6c35659e4..498d830f0 100644 --- a/lib/sbi/openapi/model/traffic_influ_data_notif.c +++ b/lib/sbi/openapi/model/traffic_influ_data_notif.c @@ -82,7 +82,7 @@ OpenAPI_traffic_influ_data_notif_t *OpenAPI_traffic_influ_data_notif_parseFromJS OpenAPI_traffic_influ_data_t *traffic_influ_data_local_nonprim = NULL; if (traffic_influ_data) { traffic_influ_data_local_nonprim = OpenAPI_traffic_influ_data_parseFromJSON(traffic_influ_data); -} + } traffic_influ_data_notif_local_var = OpenAPI_traffic_influ_data_notif_create ( ogs_strdup_or_assert(res_uri->valuestring), diff --git a/lib/sbi/openapi/model/traffic_influ_data_patch.c b/lib/sbi/openapi/model/traffic_influ_data_patch.c index 49edfc730..7a10e2e3e 100644 --- a/lib/sbi/openapi/model/traffic_influ_data_patch.c +++ b/lib/sbi/openapi/model/traffic_influ_data_patch.c @@ -312,7 +312,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS ogs_error("OpenAPI_traffic_influ_data_patch_parseFromJSON() failed [up_path_chg_notif_corre_id]"); goto end; } -} + } cJSON *app_relo_ind = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "appReloInd"); @@ -321,7 +321,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS ogs_error("OpenAPI_traffic_influ_data_patch_parseFromJSON() failed [app_relo_ind]"); goto end; } -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "dnn"); @@ -330,7 +330,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS ogs_error("OpenAPI_traffic_influ_data_patch_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *eth_traffic_filters = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "ethTrafficFilters"); @@ -353,14 +353,14 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS OpenAPI_list_add(eth_traffic_filtersList, eth_traffic_filtersItem); } -} + } cJSON *snssai = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "snssai"); OpenAPI_snssai_t *snssai_local_nonprim = NULL; if (snssai) { snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(snssai); -} + } cJSON *internal_group_id = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "internalGroupId"); @@ -369,7 +369,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS ogs_error("OpenAPI_traffic_influ_data_patch_parseFromJSON() failed [internal_group_id]"); goto end; } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "supi"); @@ -378,7 +378,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS ogs_error("OpenAPI_traffic_influ_data_patch_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *traffic_filters = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "trafficFilters"); @@ -401,7 +401,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS OpenAPI_list_add(traffic_filtersList, traffic_filtersItem); } -} + } cJSON *traffic_routes = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "trafficRoutes"); @@ -424,7 +424,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS OpenAPI_list_add(traffic_routesList, traffic_routesItem); } -} + } cJSON *traff_corre_ind = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "traffCorreInd"); @@ -433,7 +433,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS ogs_error("OpenAPI_traffic_influ_data_patch_parseFromJSON() failed [traff_corre_ind]"); goto end; } -} + } cJSON *valid_start_time = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "validStartTime"); @@ -442,7 +442,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS ogs_error("OpenAPI_traffic_influ_data_patch_parseFromJSON() failed [valid_start_time]"); goto end; } -} + } cJSON *valid_end_time = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "validEndTime"); @@ -451,7 +451,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS ogs_error("OpenAPI_traffic_influ_data_patch_parseFromJSON() failed [valid_end_time]"); goto end; } -} + } cJSON *temp_validities = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "tempValidities"); @@ -474,14 +474,14 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS OpenAPI_list_add(temp_validitiesList, temp_validitiesItem); } -} + } cJSON *nw_area_info = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "nwAreaInfo"); OpenAPI_network_area_info_1_t *nw_area_info_local_nonprim = NULL; if (nw_area_info) { nw_area_info_local_nonprim = OpenAPI_network_area_info_1_parseFromJSON(nw_area_info); -} + } cJSON *up_path_chg_notif_uri = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "upPathChgNotifUri"); @@ -490,7 +490,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS ogs_error("OpenAPI_traffic_influ_data_patch_parseFromJSON() failed [up_path_chg_notif_uri]"); goto end; } -} + } cJSON *headers = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "headers"); @@ -510,7 +510,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS } OpenAPI_list_add(headersList , ogs_strdup_or_assert(headers_local->valuestring)); } -} + } cJSON *af_ack_ind = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "afAckInd"); @@ -519,7 +519,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS ogs_error("OpenAPI_traffic_influ_data_patch_parseFromJSON() failed [af_ack_ind]"); goto end; } -} + } cJSON *addr_preser_ind = cJSON_GetObjectItemCaseSensitive(traffic_influ_data_patchJSON, "addrPreserInd"); @@ -528,7 +528,7 @@ OpenAPI_traffic_influ_data_patch_t *OpenAPI_traffic_influ_data_patch_parseFromJS ogs_error("OpenAPI_traffic_influ_data_patch_parseFromJSON() failed [addr_preser_ind]"); goto end; } -} + } traffic_influ_data_patch_local_var = OpenAPI_traffic_influ_data_patch_create ( up_path_chg_notif_corre_id ? ogs_strdup_or_assert(up_path_chg_notif_corre_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/traffic_influ_sub.c b/lib/sbi/openapi/model/traffic_influ_sub.c index 63ee43df2..510c9f3e4 100644 --- a/lib/sbi/openapi/model/traffic_influ_sub.c +++ b/lib/sbi/openapi/model/traffic_influ_sub.c @@ -179,7 +179,7 @@ OpenAPI_traffic_influ_sub_t *OpenAPI_traffic_influ_sub_parseFromJSON(cJSON *traf } OpenAPI_list_add(dnnsList , ogs_strdup_or_assert(dnns_local->valuestring)); } -} + } cJSON *snssais = cJSON_GetObjectItemCaseSensitive(traffic_influ_subJSON, "snssais"); @@ -202,7 +202,7 @@ OpenAPI_traffic_influ_sub_t *OpenAPI_traffic_influ_sub_parseFromJSON(cJSON *traf OpenAPI_list_add(snssaisList, snssaisItem); } -} + } cJSON *internal_group_ids = cJSON_GetObjectItemCaseSensitive(traffic_influ_subJSON, "internalGroupIds"); @@ -222,7 +222,7 @@ OpenAPI_traffic_influ_sub_t *OpenAPI_traffic_influ_sub_parseFromJSON(cJSON *traf } OpenAPI_list_add(internal_group_idsList , ogs_strdup_or_assert(internal_group_ids_local->valuestring)); } -} + } cJSON *supis = cJSON_GetObjectItemCaseSensitive(traffic_influ_subJSON, "supis"); @@ -242,7 +242,7 @@ OpenAPI_traffic_influ_sub_t *OpenAPI_traffic_influ_sub_parseFromJSON(cJSON *traf } OpenAPI_list_add(supisList , ogs_strdup_or_assert(supis_local->valuestring)); } -} + } cJSON *notification_uri = cJSON_GetObjectItemCaseSensitive(traffic_influ_subJSON, "notificationUri"); if (!notification_uri) { @@ -263,7 +263,7 @@ OpenAPI_traffic_influ_sub_t *OpenAPI_traffic_influ_sub_parseFromJSON(cJSON *traf ogs_error("OpenAPI_traffic_influ_sub_parseFromJSON() failed [expiry]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(traffic_influ_subJSON, "supportedFeatures"); @@ -272,7 +272,7 @@ OpenAPI_traffic_influ_sub_t *OpenAPI_traffic_influ_sub_parseFromJSON(cJSON *traf ogs_error("OpenAPI_traffic_influ_sub_parseFromJSON() failed [supported_features]"); goto end; } -} + } traffic_influ_sub_local_var = OpenAPI_traffic_influ_sub_create ( dnns ? dnnsList : NULL, diff --git a/lib/sbi/openapi/model/transfer_mo_data_req_data.c b/lib/sbi/openapi/model/transfer_mo_data_req_data.c index 42c39ec37..c1745eb24 100644 --- a/lib/sbi/openapi/model/transfer_mo_data_req_data.c +++ b/lib/sbi/openapi/model/transfer_mo_data_req_data.c @@ -102,14 +102,14 @@ OpenAPI_transfer_mo_data_req_data_t *OpenAPI_transfer_mo_data_req_data_parseFrom OpenAPI_mo_exp_data_counter_t *mo_exp_data_counter_local_nonprim = NULL; if (mo_exp_data_counter) { mo_exp_data_counter_local_nonprim = OpenAPI_mo_exp_data_counter_parseFromJSON(mo_exp_data_counter); -} + } cJSON *ue_location = cJSON_GetObjectItemCaseSensitive(transfer_mo_data_req_dataJSON, "ueLocation"); OpenAPI_user_location_t *ue_location_local_nonprim = NULL; if (ue_location) { ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_location); -} + } transfer_mo_data_req_data_local_var = OpenAPI_transfer_mo_data_req_data_create ( mo_data_local_nonprim, diff --git a/lib/sbi/openapi/model/transfer_mt_data_add_info.c b/lib/sbi/openapi/model/transfer_mt_data_add_info.c index 8401cd851..ddfc36187 100644 --- a/lib/sbi/openapi/model/transfer_mt_data_add_info.c +++ b/lib/sbi/openapi/model/transfer_mt_data_add_info.c @@ -57,7 +57,7 @@ OpenAPI_transfer_mt_data_add_info_t *OpenAPI_transfer_mt_data_add_info_parseFrom ogs_error("OpenAPI_transfer_mt_data_add_info_parseFromJSON() failed [max_waiting_time]"); goto end; } -} + } transfer_mt_data_add_info_local_var = OpenAPI_transfer_mt_data_add_info_create ( max_waiting_time ? max_waiting_time->valuedouble : 0 diff --git a/lib/sbi/openapi/model/transfer_mt_data_error.c b/lib/sbi/openapi/model/transfer_mt_data_error.c index 1a4f05f54..525417d83 100644 --- a/lib/sbi/openapi/model/transfer_mt_data_error.c +++ b/lib/sbi/openapi/model/transfer_mt_data_error.c @@ -194,7 +194,7 @@ OpenAPI_transfer_mt_data_error_t *OpenAPI_transfer_mt_data_error_parseFromJSON(c ogs_error("OpenAPI_transfer_mt_data_error_parseFromJSON() failed [type]"); goto end; } -} + } cJSON *title = cJSON_GetObjectItemCaseSensitive(transfer_mt_data_errorJSON, "title"); @@ -203,7 +203,7 @@ OpenAPI_transfer_mt_data_error_t *OpenAPI_transfer_mt_data_error_parseFromJSON(c ogs_error("OpenAPI_transfer_mt_data_error_parseFromJSON() failed [title]"); goto end; } -} + } cJSON *status = cJSON_GetObjectItemCaseSensitive(transfer_mt_data_errorJSON, "status"); @@ -212,7 +212,7 @@ OpenAPI_transfer_mt_data_error_t *OpenAPI_transfer_mt_data_error_parseFromJSON(c ogs_error("OpenAPI_transfer_mt_data_error_parseFromJSON() failed [status]"); goto end; } -} + } cJSON *detail = cJSON_GetObjectItemCaseSensitive(transfer_mt_data_errorJSON, "detail"); @@ -221,7 +221,7 @@ OpenAPI_transfer_mt_data_error_t *OpenAPI_transfer_mt_data_error_parseFromJSON(c ogs_error("OpenAPI_transfer_mt_data_error_parseFromJSON() failed [detail]"); goto end; } -} + } cJSON *instance = cJSON_GetObjectItemCaseSensitive(transfer_mt_data_errorJSON, "instance"); @@ -230,7 +230,7 @@ OpenAPI_transfer_mt_data_error_t *OpenAPI_transfer_mt_data_error_parseFromJSON(c ogs_error("OpenAPI_transfer_mt_data_error_parseFromJSON() failed [instance]"); goto end; } -} + } cJSON *cause = cJSON_GetObjectItemCaseSensitive(transfer_mt_data_errorJSON, "cause"); @@ -239,7 +239,7 @@ OpenAPI_transfer_mt_data_error_t *OpenAPI_transfer_mt_data_error_parseFromJSON(c ogs_error("OpenAPI_transfer_mt_data_error_parseFromJSON() failed [cause]"); goto end; } -} + } cJSON *invalid_params = cJSON_GetObjectItemCaseSensitive(transfer_mt_data_errorJSON, "invalidParams"); @@ -262,7 +262,7 @@ OpenAPI_transfer_mt_data_error_t *OpenAPI_transfer_mt_data_error_parseFromJSON(c OpenAPI_list_add(invalid_paramsList, invalid_paramsItem); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(transfer_mt_data_errorJSON, "supportedFeatures"); @@ -271,21 +271,21 @@ OpenAPI_transfer_mt_data_error_t *OpenAPI_transfer_mt_data_error_parseFromJSON(c ogs_error("OpenAPI_transfer_mt_data_error_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *access_token_error = cJSON_GetObjectItemCaseSensitive(transfer_mt_data_errorJSON, "accessTokenError"); OpenAPI_access_token_err_t *access_token_error_local_nonprim = NULL; if (access_token_error) { access_token_error_local_nonprim = OpenAPI_access_token_err_parseFromJSON(access_token_error); -} + } cJSON *access_token_request = cJSON_GetObjectItemCaseSensitive(transfer_mt_data_errorJSON, "accessTokenRequest"); OpenAPI_access_token_req_t *access_token_request_local_nonprim = NULL; if (access_token_request) { access_token_request_local_nonprim = OpenAPI_access_token_req_parseFromJSON(access_token_request); -} + } cJSON *nrf_id = cJSON_GetObjectItemCaseSensitive(transfer_mt_data_errorJSON, "nrfId"); @@ -294,7 +294,7 @@ OpenAPI_transfer_mt_data_error_t *OpenAPI_transfer_mt_data_error_parseFromJSON(c ogs_error("OpenAPI_transfer_mt_data_error_parseFromJSON() failed [nrf_id]"); goto end; } -} + } cJSON *max_waiting_time = cJSON_GetObjectItemCaseSensitive(transfer_mt_data_errorJSON, "maxWaitingTime"); @@ -303,7 +303,7 @@ OpenAPI_transfer_mt_data_error_t *OpenAPI_transfer_mt_data_error_parseFromJSON(c ogs_error("OpenAPI_transfer_mt_data_error_parseFromJSON() failed [max_waiting_time]"); goto end; } -} + } transfer_mt_data_error_local_var = OpenAPI_transfer_mt_data_error_create ( type ? ogs_strdup_or_assert(type->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/transfer_policy.c b/lib/sbi/openapi/model/transfer_policy.c index e369dedcc..bb7e1f67f 100644 --- a/lib/sbi/openapi/model/transfer_policy.c +++ b/lib/sbi/openapi/model/transfer_policy.c @@ -96,7 +96,7 @@ OpenAPI_transfer_policy_t *OpenAPI_transfer_policy_parseFromJSON(cJSON *transfer ogs_error("OpenAPI_transfer_policy_parseFromJSON() failed [max_bit_rate_dl]"); goto end; } -} + } cJSON *max_bit_rate_ul = cJSON_GetObjectItemCaseSensitive(transfer_policyJSON, "maxBitRateUl"); @@ -105,7 +105,7 @@ OpenAPI_transfer_policy_t *OpenAPI_transfer_policy_parseFromJSON(cJSON *transfer ogs_error("OpenAPI_transfer_policy_parseFromJSON() failed [max_bit_rate_ul]"); goto end; } -} + } cJSON *rating_group = cJSON_GetObjectItemCaseSensitive(transfer_policyJSON, "ratingGroup"); if (!rating_group) { diff --git a/lib/sbi/openapi/model/trigger.c b/lib/sbi/openapi/model/trigger.c index acf8660d8..6568dda57 100644 --- a/lib/sbi/openapi/model/trigger.c +++ b/lib/sbi/openapi/model/trigger.c @@ -151,7 +151,7 @@ OpenAPI_trigger_t *OpenAPI_trigger_parseFromJSON(cJSON *triggerJSON) ogs_error("OpenAPI_trigger_parseFromJSON() failed [time_limit]"); goto end; } -} + } cJSON *volume_limit = cJSON_GetObjectItemCaseSensitive(triggerJSON, "volumeLimit"); @@ -160,7 +160,7 @@ OpenAPI_trigger_t *OpenAPI_trigger_parseFromJSON(cJSON *triggerJSON) ogs_error("OpenAPI_trigger_parseFromJSON() failed [volume_limit]"); goto end; } -} + } cJSON *volume_limit64 = cJSON_GetObjectItemCaseSensitive(triggerJSON, "volumeLimit64"); @@ -169,7 +169,7 @@ OpenAPI_trigger_t *OpenAPI_trigger_parseFromJSON(cJSON *triggerJSON) ogs_error("OpenAPI_trigger_parseFromJSON() failed [volume_limit64]"); goto end; } -} + } cJSON *event_limit = cJSON_GetObjectItemCaseSensitive(triggerJSON, "eventLimit"); @@ -178,7 +178,7 @@ OpenAPI_trigger_t *OpenAPI_trigger_parseFromJSON(cJSON *triggerJSON) ogs_error("OpenAPI_trigger_parseFromJSON() failed [event_limit]"); goto end; } -} + } cJSON *max_number_ofccc = cJSON_GetObjectItemCaseSensitive(triggerJSON, "maxNumberOfccc"); @@ -187,7 +187,7 @@ OpenAPI_trigger_t *OpenAPI_trigger_parseFromJSON(cJSON *triggerJSON) ogs_error("OpenAPI_trigger_parseFromJSON() failed [max_number_ofccc]"); goto end; } -} + } cJSON *tariff_time_change = cJSON_GetObjectItemCaseSensitive(triggerJSON, "tariffTimeChange"); @@ -196,7 +196,7 @@ OpenAPI_trigger_t *OpenAPI_trigger_parseFromJSON(cJSON *triggerJSON) ogs_error("OpenAPI_trigger_parseFromJSON() failed [tariff_time_change]"); goto end; } -} + } trigger_local_var = OpenAPI_trigger_create ( trigger_type_local_nonprim, diff --git a/lib/sbi/openapi/model/tscai_input_container.c b/lib/sbi/openapi/model/tscai_input_container.c index 3c2d60d6c..fc2a6eb29 100644 --- a/lib/sbi/openapi/model/tscai_input_container.c +++ b/lib/sbi/openapi/model/tscai_input_container.c @@ -67,7 +67,7 @@ OpenAPI_tscai_input_container_t *OpenAPI_tscai_input_container_parseFromJSON(cJS ogs_error("OpenAPI_tscai_input_container_parseFromJSON() failed [periodicity]"); goto end; } -} + } cJSON *burst_arrival_time = cJSON_GetObjectItemCaseSensitive(tscai_input_containerJSON, "burstArrivalTime"); @@ -76,7 +76,7 @@ OpenAPI_tscai_input_container_t *OpenAPI_tscai_input_container_parseFromJSON(cJS ogs_error("OpenAPI_tscai_input_container_parseFromJSON() failed [burst_arrival_time]"); goto end; } -} + } tscai_input_container_local_var = OpenAPI_tscai_input_container_create ( periodicity ? periodicity->valuedouble : 0, diff --git a/lib/sbi/openapi/model/tsn_bridge_info.c b/lib/sbi/openapi/model/tsn_bridge_info.c index 3166541dc..dc0de8b8c 100644 --- a/lib/sbi/openapi/model/tsn_bridge_info.c +++ b/lib/sbi/openapi/model/tsn_bridge_info.c @@ -85,7 +85,7 @@ OpenAPI_tsn_bridge_info_t *OpenAPI_tsn_bridge_info_parseFromJSON(cJSON *tsn_brid ogs_error("OpenAPI_tsn_bridge_info_parseFromJSON() failed [bridge_id]"); goto end; } -} + } cJSON *dstt_addr = cJSON_GetObjectItemCaseSensitive(tsn_bridge_infoJSON, "dsttAddr"); @@ -94,7 +94,7 @@ OpenAPI_tsn_bridge_info_t *OpenAPI_tsn_bridge_info_parseFromJSON(cJSON *tsn_brid ogs_error("OpenAPI_tsn_bridge_info_parseFromJSON() failed [dstt_addr]"); goto end; } -} + } cJSON *dstt_port_num = cJSON_GetObjectItemCaseSensitive(tsn_bridge_infoJSON, "dsttPortNum"); @@ -103,7 +103,7 @@ OpenAPI_tsn_bridge_info_t *OpenAPI_tsn_bridge_info_parseFromJSON(cJSON *tsn_brid ogs_error("OpenAPI_tsn_bridge_info_parseFromJSON() failed [dstt_port_num]"); goto end; } -} + } cJSON *dstt_resid_time = cJSON_GetObjectItemCaseSensitive(tsn_bridge_infoJSON, "dsttResidTime"); @@ -112,7 +112,7 @@ OpenAPI_tsn_bridge_info_t *OpenAPI_tsn_bridge_info_parseFromJSON(cJSON *tsn_brid ogs_error("OpenAPI_tsn_bridge_info_parseFromJSON() failed [dstt_resid_time]"); goto end; } -} + } tsn_bridge_info_local_var = OpenAPI_tsn_bridge_info_create ( bridge_id ? bridge_id->valuedouble : 0, diff --git a/lib/sbi/openapi/model/tsn_qos_container.c b/lib/sbi/openapi/model/tsn_qos_container.c index 372a74378..503694280 100644 --- a/lib/sbi/openapi/model/tsn_qos_container.c +++ b/lib/sbi/openapi/model/tsn_qos_container.c @@ -75,7 +75,7 @@ OpenAPI_tsn_qos_container_t *OpenAPI_tsn_qos_container_parseFromJSON(cJSON *tsn_ ogs_error("OpenAPI_tsn_qos_container_parseFromJSON() failed [max_tsc_burst_size]"); goto end; } -} + } cJSON *tsc_pack_delay = cJSON_GetObjectItemCaseSensitive(tsn_qos_containerJSON, "tscPackDelay"); @@ -84,7 +84,7 @@ OpenAPI_tsn_qos_container_t *OpenAPI_tsn_qos_container_parseFromJSON(cJSON *tsn_ ogs_error("OpenAPI_tsn_qos_container_parseFromJSON() failed [tsc_pack_delay]"); goto end; } -} + } cJSON *tsc_prio_level = cJSON_GetObjectItemCaseSensitive(tsn_qos_containerJSON, "tscPrioLevel"); @@ -93,7 +93,7 @@ OpenAPI_tsn_qos_container_t *OpenAPI_tsn_qos_container_parseFromJSON(cJSON *tsn_ ogs_error("OpenAPI_tsn_qos_container_parseFromJSON() failed [tsc_prio_level]"); goto end; } -} + } tsn_qos_container_local_var = OpenAPI_tsn_qos_container_create ( max_tsc_burst_size ? max_tsc_burst_size->valuedouble : 0, diff --git a/lib/sbi/openapi/model/tsn_qos_container_rm.c b/lib/sbi/openapi/model/tsn_qos_container_rm.c index be50e0b38..12912e965 100644 --- a/lib/sbi/openapi/model/tsn_qos_container_rm.c +++ b/lib/sbi/openapi/model/tsn_qos_container_rm.c @@ -75,7 +75,7 @@ OpenAPI_tsn_qos_container_rm_t *OpenAPI_tsn_qos_container_rm_parseFromJSON(cJSON ogs_error("OpenAPI_tsn_qos_container_rm_parseFromJSON() failed [max_tsc_burst_size]"); goto end; } -} + } cJSON *tsc_pack_delay = cJSON_GetObjectItemCaseSensitive(tsn_qos_container_rmJSON, "tscPackDelay"); @@ -84,7 +84,7 @@ OpenAPI_tsn_qos_container_rm_t *OpenAPI_tsn_qos_container_rm_parseFromJSON(cJSON ogs_error("OpenAPI_tsn_qos_container_rm_parseFromJSON() failed [tsc_pack_delay]"); goto end; } -} + } cJSON *tsc_prio_level = cJSON_GetObjectItemCaseSensitive(tsn_qos_container_rmJSON, "tscPrioLevel"); @@ -93,7 +93,7 @@ OpenAPI_tsn_qos_container_rm_t *OpenAPI_tsn_qos_container_rm_parseFromJSON(cJSON ogs_error("OpenAPI_tsn_qos_container_rm_parseFromJSON() failed [tsc_prio_level]"); goto end; } -} + } tsn_qos_container_rm_local_var = OpenAPI_tsn_qos_container_rm_create ( max_tsc_burst_size ? max_tsc_burst_size->valuedouble : 0, diff --git a/lib/sbi/openapi/model/tunnel_info.c b/lib/sbi/openapi/model/tunnel_info.c index aeb653826..dbcc02c9c 100644 --- a/lib/sbi/openapi/model/tunnel_info.c +++ b/lib/sbi/openapi/model/tunnel_info.c @@ -85,7 +85,7 @@ OpenAPI_tunnel_info_t *OpenAPI_tunnel_info_parseFromJSON(cJSON *tunnel_infoJSON) ogs_error("OpenAPI_tunnel_info_parseFromJSON() failed [ipv4_addr]"); goto end; } -} + } cJSON *ipv6_addr = cJSON_GetObjectItemCaseSensitive(tunnel_infoJSON, "ipv6Addr"); @@ -94,7 +94,7 @@ OpenAPI_tunnel_info_t *OpenAPI_tunnel_info_parseFromJSON(cJSON *tunnel_infoJSON) ogs_error("OpenAPI_tunnel_info_parseFromJSON() failed [ipv6_addr]"); goto end; } -} + } cJSON *gtp_teid = cJSON_GetObjectItemCaseSensitive(tunnel_infoJSON, "gtpTeid"); if (!gtp_teid) { @@ -117,7 +117,7 @@ OpenAPI_tunnel_info_t *OpenAPI_tunnel_info_parseFromJSON(cJSON *tunnel_infoJSON) goto end; } an_typeVariable = OpenAPI_access_type_FromString(an_type->valuestring); -} + } tunnel_info_local_var = OpenAPI_tunnel_info_create ( ipv4_addr ? ogs_strdup_or_assert(ipv4_addr->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/twap_id.c b/lib/sbi/openapi/model/twap_id.c index 66fa8a9a3..6deb18fbb 100644 --- a/lib/sbi/openapi/model/twap_id.c +++ b/lib/sbi/openapi/model/twap_id.c @@ -87,7 +87,7 @@ OpenAPI_twap_id_t *OpenAPI_twap_id_parseFromJSON(cJSON *twap_idJSON) ogs_error("OpenAPI_twap_id_parseFromJSON() failed [bss_id]"); goto end; } -} + } cJSON *civic_address = cJSON_GetObjectItemCaseSensitive(twap_idJSON, "civicAddress"); @@ -96,7 +96,7 @@ OpenAPI_twap_id_t *OpenAPI_twap_id_parseFromJSON(cJSON *twap_idJSON) ogs_error("OpenAPI_twap_id_parseFromJSON() failed [civic_address]"); goto end; } -} + } twap_id_local_var = OpenAPI_twap_id_create ( ogs_strdup_or_assert(ss_id->valuestring), diff --git a/lib/sbi/openapi/model/twif_info.c b/lib/sbi/openapi/model/twif_info.c index e4033af02..db9b3ba7c 100644 --- a/lib/sbi/openapi/model/twif_info.c +++ b/lib/sbi/openapi/model/twif_info.c @@ -113,7 +113,7 @@ OpenAPI_twif_info_t *OpenAPI_twif_info_parseFromJSON(cJSON *twif_infoJSON) } OpenAPI_list_add(ipv4_endpoint_addressesList , ogs_strdup_or_assert(ipv4_endpoint_addresses_local->valuestring)); } -} + } cJSON *ipv6_endpoint_addresses = cJSON_GetObjectItemCaseSensitive(twif_infoJSON, "ipv6EndpointAddresses"); @@ -133,7 +133,7 @@ OpenAPI_twif_info_t *OpenAPI_twif_info_parseFromJSON(cJSON *twif_infoJSON) } OpenAPI_list_add(ipv6_endpoint_addressesList , ogs_strdup_or_assert(ipv6_endpoint_addresses_local->valuestring)); } -} + } cJSON *endpoint_fqdn = cJSON_GetObjectItemCaseSensitive(twif_infoJSON, "endpointFqdn"); @@ -142,7 +142,7 @@ OpenAPI_twif_info_t *OpenAPI_twif_info_parseFromJSON(cJSON *twif_infoJSON) ogs_error("OpenAPI_twif_info_parseFromJSON() failed [endpoint_fqdn]"); goto end; } -} + } twif_info_local_var = OpenAPI_twif_info_create ( ipv4_endpoint_addresses ? ipv4_endpoint_addressesList : NULL, diff --git a/lib/sbi/openapi/model/udm_info.c b/lib/sbi/openapi/model/udm_info.c index 11066b504..123488aab 100644 --- a/lib/sbi/openapi/model/udm_info.c +++ b/lib/sbi/openapi/model/udm_info.c @@ -184,7 +184,7 @@ OpenAPI_udm_info_t *OpenAPI_udm_info_parseFromJSON(cJSON *udm_infoJSON) ogs_error("OpenAPI_udm_info_parseFromJSON() failed [group_id]"); goto end; } -} + } cJSON *supi_ranges = cJSON_GetObjectItemCaseSensitive(udm_infoJSON, "supiRanges"); @@ -207,7 +207,7 @@ OpenAPI_udm_info_t *OpenAPI_udm_info_parseFromJSON(cJSON *udm_infoJSON) OpenAPI_list_add(supi_rangesList, supi_rangesItem); } -} + } cJSON *gpsi_ranges = cJSON_GetObjectItemCaseSensitive(udm_infoJSON, "gpsiRanges"); @@ -230,7 +230,7 @@ OpenAPI_udm_info_t *OpenAPI_udm_info_parseFromJSON(cJSON *udm_infoJSON) OpenAPI_list_add(gpsi_rangesList, gpsi_rangesItem); } -} + } cJSON *external_group_identifiers_ranges = cJSON_GetObjectItemCaseSensitive(udm_infoJSON, "externalGroupIdentifiersRanges"); @@ -253,7 +253,7 @@ OpenAPI_udm_info_t *OpenAPI_udm_info_parseFromJSON(cJSON *udm_infoJSON) OpenAPI_list_add(external_group_identifiers_rangesList, external_group_identifiers_rangesItem); } -} + } cJSON *routing_indicators = cJSON_GetObjectItemCaseSensitive(udm_infoJSON, "routingIndicators"); @@ -273,7 +273,7 @@ OpenAPI_udm_info_t *OpenAPI_udm_info_parseFromJSON(cJSON *udm_infoJSON) } OpenAPI_list_add(routing_indicatorsList , ogs_strdup_or_assert(routing_indicators_local->valuestring)); } -} + } cJSON *internal_group_identifiers_ranges = cJSON_GetObjectItemCaseSensitive(udm_infoJSON, "internalGroupIdentifiersRanges"); @@ -296,7 +296,7 @@ OpenAPI_udm_info_t *OpenAPI_udm_info_parseFromJSON(cJSON *udm_infoJSON) OpenAPI_list_add(internal_group_identifiers_rangesList, internal_group_identifiers_rangesItem); } -} + } udm_info_local_var = OpenAPI_udm_info_create ( group_id ? ogs_strdup_or_assert(group_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/udr_info.c b/lib/sbi/openapi/model/udr_info.c index ed4376335..0d5478b6a 100644 --- a/lib/sbi/openapi/model/udr_info.c +++ b/lib/sbi/openapi/model/udr_info.c @@ -154,7 +154,7 @@ OpenAPI_udr_info_t *OpenAPI_udr_info_parseFromJSON(cJSON *udr_infoJSON) ogs_error("OpenAPI_udr_info_parseFromJSON() failed [group_id]"); goto end; } -} + } cJSON *supi_ranges = cJSON_GetObjectItemCaseSensitive(udr_infoJSON, "supiRanges"); @@ -177,7 +177,7 @@ OpenAPI_udr_info_t *OpenAPI_udr_info_parseFromJSON(cJSON *udr_infoJSON) OpenAPI_list_add(supi_rangesList, supi_rangesItem); } -} + } cJSON *gpsi_ranges = cJSON_GetObjectItemCaseSensitive(udr_infoJSON, "gpsiRanges"); @@ -200,7 +200,7 @@ OpenAPI_udr_info_t *OpenAPI_udr_info_parseFromJSON(cJSON *udr_infoJSON) OpenAPI_list_add(gpsi_rangesList, gpsi_rangesItem); } -} + } cJSON *external_group_identifiers_ranges = cJSON_GetObjectItemCaseSensitive(udr_infoJSON, "externalGroupIdentifiersRanges"); @@ -223,7 +223,7 @@ OpenAPI_udr_info_t *OpenAPI_udr_info_parseFromJSON(cJSON *udr_infoJSON) OpenAPI_list_add(external_group_identifiers_rangesList, external_group_identifiers_rangesItem); } -} + } cJSON *supported_data_sets = cJSON_GetObjectItemCaseSensitive(udr_infoJSON, "supportedDataSets"); @@ -245,7 +245,7 @@ OpenAPI_udr_info_t *OpenAPI_udr_info_parseFromJSON(cJSON *udr_infoJSON) OpenAPI_list_add(supported_data_setsList, (void *)OpenAPI_data_set_id_FromString(supported_data_sets_local_nonprimitive->valuestring)); } -} + } udr_info_local_var = OpenAPI_udr_info_create ( group_id ? ogs_strdup_or_assert(group_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/udsf_info.c b/lib/sbi/openapi/model/udsf_info.c index af29c5a31..aae7f409e 100644 --- a/lib/sbi/openapi/model/udsf_info.c +++ b/lib/sbi/openapi/model/udsf_info.c @@ -107,7 +107,7 @@ OpenAPI_udsf_info_t *OpenAPI_udsf_info_parseFromJSON(cJSON *udsf_infoJSON) ogs_error("OpenAPI_udsf_info_parseFromJSON() failed [group_id]"); goto end; } -} + } cJSON *supi_ranges = cJSON_GetObjectItemCaseSensitive(udsf_infoJSON, "supiRanges"); @@ -130,7 +130,7 @@ OpenAPI_udsf_info_t *OpenAPI_udsf_info_parseFromJSON(cJSON *udsf_infoJSON) OpenAPI_list_add(supi_rangesList, supi_rangesItem); } -} + } cJSON *storage_id_ranges = cJSON_GetObjectItemCaseSensitive(udsf_infoJSON, "storageIdRanges"); @@ -147,7 +147,7 @@ OpenAPI_udsf_info_t *OpenAPI_udsf_info_parseFromJSON(cJSON *udsf_infoJSON) cJSON *localMapObject = storage_id_ranges_local_map; OpenAPI_list_add(storage_id_rangesList , localMapKeyPair); } -} + } udsf_info_local_var = OpenAPI_udsf_info_create ( group_id ? ogs_strdup_or_assert(group_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/ue_camping_rep.c b/lib/sbi/openapi/model/ue_camping_rep.c index 042f0da61..f266c15ff 100644 --- a/lib/sbi/openapi/model/ue_camping_rep.c +++ b/lib/sbi/openapi/model/ue_camping_rep.c @@ -135,7 +135,7 @@ OpenAPI_ue_camping_rep_t *OpenAPI_ue_camping_rep_parseFromJSON(cJSON *ue_camping goto end; } access_typeVariable = OpenAPI_access_type_FromString(access_type->valuestring); -} + } cJSON *rat_type = cJSON_GetObjectItemCaseSensitive(ue_camping_repJSON, "ratType"); @@ -146,28 +146,28 @@ OpenAPI_ue_camping_rep_t *OpenAPI_ue_camping_rep_parseFromJSON(cJSON *ue_camping goto end; } rat_typeVariable = OpenAPI_rat_type_FromString(rat_type->valuestring); -} + } cJSON *serv_nf_id = cJSON_GetObjectItemCaseSensitive(ue_camping_repJSON, "servNfId"); OpenAPI_serving_nf_identity_t *serv_nf_id_local_nonprim = NULL; if (serv_nf_id) { serv_nf_id_local_nonprim = OpenAPI_serving_nf_identity_parseFromJSON(serv_nf_id); -} + } cJSON *serving_network = cJSON_GetObjectItemCaseSensitive(ue_camping_repJSON, "servingNetwork"); OpenAPI_plmn_id_nid_t *serving_network_local_nonprim = NULL; if (serving_network) { serving_network_local_nonprim = OpenAPI_plmn_id_nid_parseFromJSON(serving_network); -} + } cJSON *user_location_info = cJSON_GetObjectItemCaseSensitive(ue_camping_repJSON, "userLocationInfo"); OpenAPI_user_location_t *user_location_info_local_nonprim = NULL; if (user_location_info) { user_location_info_local_nonprim = OpenAPI_user_location_parseFromJSON(user_location_info); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(ue_camping_repJSON, "ueTimeZone"); @@ -176,7 +176,7 @@ OpenAPI_ue_camping_rep_t *OpenAPI_ue_camping_rep_parseFromJSON(cJSON *ue_camping ogs_error("OpenAPI_ue_camping_rep_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *net_loc_acc_supp = cJSON_GetObjectItemCaseSensitive(ue_camping_repJSON, "netLocAccSupp"); @@ -187,7 +187,7 @@ OpenAPI_ue_camping_rep_t *OpenAPI_ue_camping_rep_parseFromJSON(cJSON *ue_camping goto end; } net_loc_acc_suppVariable = OpenAPI_net_loc_access_support_FromString(net_loc_acc_supp->valuestring); -} + } ue_camping_rep_local_var = OpenAPI_ue_camping_rep_create ( access_type ? access_typeVariable : 0, diff --git a/lib/sbi/openapi/model/ue_context.c b/lib/sbi/openapi/model/ue_context.c index 1d519ac1e..91a3ef749 100644 --- a/lib/sbi/openapi/model/ue_context.c +++ b/lib/sbi/openapi/model/ue_context.c @@ -771,7 +771,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *supi_unauth_ind = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "supiUnauthInd"); @@ -780,7 +780,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [supi_unauth_ind]"); goto end; } -} + } cJSON *gpsi_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "gpsiList"); @@ -800,7 +800,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) } OpenAPI_list_add(gpsi_listList , ogs_strdup_or_assert(gpsi_list_local->valuestring)); } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "pei"); @@ -809,7 +809,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *udm_group_id = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "udmGroupId"); @@ -818,7 +818,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [udm_group_id]"); goto end; } -} + } cJSON *ausf_group_id = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "ausfGroupId"); @@ -827,7 +827,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [ausf_group_id]"); goto end; } -} + } cJSON *pcf_group_id = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "pcfGroupId"); @@ -836,7 +836,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [pcf_group_id]"); goto end; } -} + } cJSON *routing_indicator = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "routingIndicator"); @@ -845,7 +845,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [routing_indicator]"); goto end; } -} + } cJSON *group_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "groupList"); @@ -865,7 +865,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) } OpenAPI_list_add(group_listList , ogs_strdup_or_assert(group_list_local->valuestring)); } -} + } cJSON *drx_parameter = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "drxParameter"); @@ -874,7 +874,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [drx_parameter]"); goto end; } -} + } cJSON *sub_rfsp = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "subRfsp"); @@ -883,7 +883,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [sub_rfsp]"); goto end; } -} + } cJSON *used_rfsp = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "usedRfsp"); @@ -892,14 +892,14 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [used_rfsp]"); goto end; } -} + } cJSON *sub_ue_ambr = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "subUeAmbr"); OpenAPI_ambr_t *sub_ue_ambr_local_nonprim = NULL; if (sub_ue_ambr) { sub_ue_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(sub_ue_ambr); -} + } cJSON *smsf_id = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "smsfId"); @@ -908,14 +908,14 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [smsf_id]"); goto end; } -} + } cJSON *seaf_data = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "seafData"); OpenAPI_seaf_data_t *seaf_data_local_nonprim = NULL; if (seaf_data) { seaf_data_local_nonprim = OpenAPI_seaf_data_parseFromJSON(seaf_data); -} + } cJSON *_5g_mm_capability = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "5gMmCapability"); @@ -924,7 +924,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [_5g_mm_capability]"); goto end; } -} + } cJSON *pcf_id = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "pcfId"); @@ -933,7 +933,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [pcf_id]"); goto end; } -} + } cJSON *pcf_set_id = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "pcfSetId"); @@ -942,7 +942,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [pcf_set_id]"); goto end; } -} + } cJSON *pcf_amp_service_set_id = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "pcfAmpServiceSetId"); @@ -951,7 +951,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [pcf_amp_service_set_id]"); goto end; } -} + } cJSON *pcf_uep_service_set_id = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "pcfUepServiceSetId"); @@ -960,7 +960,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [pcf_uep_service_set_id]"); goto end; } -} + } cJSON *pcf_binding = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "pcfBinding"); @@ -971,7 +971,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) goto end; } pcf_bindingVariable = OpenAPI_sbi_binding_level_FromString(pcf_binding->valuestring); -} + } cJSON *pcf_am_policy_uri = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "pcfAmPolicyUri"); @@ -980,7 +980,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [pcf_am_policy_uri]"); goto end; } -} + } cJSON *am_policy_req_trigger_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "amPolicyReqTriggerList"); @@ -1002,7 +1002,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) OpenAPI_list_add(am_policy_req_trigger_listList, (void *)OpenAPI_policy_req_trigger_FromString(am_policy_req_trigger_list_local_nonprimitive->valuestring)); } -} + } cJSON *pcf_ue_policy_uri = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "pcfUePolicyUri"); @@ -1011,7 +1011,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [pcf_ue_policy_uri]"); goto end; } -} + } cJSON *ue_policy_req_trigger_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "uePolicyReqTriggerList"); @@ -1033,7 +1033,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) OpenAPI_list_add(ue_policy_req_trigger_listList, (void *)OpenAPI_policy_req_trigger_FromString(ue_policy_req_trigger_list_local_nonprimitive->valuestring)); } -} + } cJSON *hpcf_id = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "hpcfId"); @@ -1042,7 +1042,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [hpcf_id]"); goto end; } -} + } cJSON *hpcf_set_id = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "hpcfSetId"); @@ -1051,7 +1051,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [hpcf_set_id]"); goto end; } -} + } cJSON *restricted_rat_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "restrictedRatList"); @@ -1073,7 +1073,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) OpenAPI_list_add(restricted_rat_listList, (void *)OpenAPI_rat_type_FromString(restricted_rat_list_local_nonprimitive->valuestring)); } -} + } cJSON *forbidden_area_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "forbiddenAreaList"); @@ -1096,14 +1096,14 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) OpenAPI_list_add(forbidden_area_listList, forbidden_area_listItem); } -} + } cJSON *service_area_restriction = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "serviceAreaRestriction"); OpenAPI_service_area_restriction_t *service_area_restriction_local_nonprim = NULL; if (service_area_restriction) { service_area_restriction_local_nonprim = OpenAPI_service_area_restriction_parseFromJSON(service_area_restriction); -} + } cJSON *restricted_core_nw_type_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "restrictedCoreNwTypeList"); @@ -1125,7 +1125,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) OpenAPI_list_add(restricted_core_nw_type_listList, (void *)OpenAPI_core_network_type_FromString(restricted_core_nw_type_list_local_nonprimitive->valuestring)); } -} + } cJSON *event_subscription_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "eventSubscriptionList"); @@ -1148,7 +1148,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) OpenAPI_list_add(event_subscription_listList, event_subscription_listItem); } -} + } cJSON *mm_context_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "mmContextList"); @@ -1171,7 +1171,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) OpenAPI_list_add(mm_context_listList, mm_context_listItem); } -} + } cJSON *session_context_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "sessionContextList"); @@ -1194,14 +1194,14 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) OpenAPI_list_add(session_context_listList, session_context_listItem); } -} + } cJSON *trace_data = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "traceData"); OpenAPI_trace_data_t *trace_data_local_nonprim = NULL; if (trace_data) { trace_data_local_nonprim = OpenAPI_trace_data_parseFromJSON(trace_data); -} + } cJSON *service_gap_expiry_time = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "serviceGapExpiryTime"); @@ -1210,7 +1210,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [service_gap_expiry_time]"); goto end; } -} + } cJSON *stn_sr = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "stnSr"); @@ -1219,7 +1219,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [stn_sr]"); goto end; } -} + } cJSON *c_msisdn = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "cMsisdn"); @@ -1228,7 +1228,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [c_msisdn]"); goto end; } -} + } cJSON *ms_classmark2 = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "msClassmark2"); @@ -1237,7 +1237,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [ms_classmark2]"); goto end; } -} + } cJSON *supported_codec_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "supportedCodecList"); @@ -1252,7 +1252,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) cJSON_ArrayForEach(supported_codec_list_local, supported_codec_list) { } -} + } cJSON *small_data_rate_status_infos = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "smallDataRateStatusInfos"); @@ -1275,7 +1275,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) OpenAPI_list_add(small_data_rate_status_infosList, small_data_rate_status_infosItem); } -} + } cJSON *restricted_primary_rat_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "restrictedPrimaryRatList"); @@ -1297,7 +1297,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) OpenAPI_list_add(restricted_primary_rat_listList, (void *)OpenAPI_rat_type_FromString(restricted_primary_rat_list_local_nonprimitive->valuestring)); } -} + } cJSON *restricted_secondary_rat_list = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "restrictedSecondaryRatList"); @@ -1319,14 +1319,14 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) OpenAPI_list_add(restricted_secondary_rat_listList, (void *)OpenAPI_rat_type_FromString(restricted_secondary_rat_list_local_nonprimitive->valuestring)); } -} + } cJSON *v2x_context = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "v2xContext"); OpenAPI_v2x_context_t *v2x_context_local_nonprim = NULL; if (v2x_context) { v2x_context_local_nonprim = OpenAPI_v2x_context_parseFromJSON(v2x_context); -} + } cJSON *lte_cat_m_ind = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "lteCatMInd"); @@ -1335,21 +1335,21 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [lte_cat_m_ind]"); goto end; } -} + } cJSON *mo_exp_data_counter = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "moExpDataCounter"); OpenAPI_mo_exp_data_counter_t *mo_exp_data_counter_local_nonprim = NULL; if (mo_exp_data_counter) { mo_exp_data_counter_local_nonprim = OpenAPI_mo_exp_data_counter_parseFromJSON(mo_exp_data_counter); -} + } cJSON *cag_data = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "cagData"); OpenAPI_cag_data_t *cag_data_local_nonprim = NULL; if (cag_data) { cag_data_local_nonprim = OpenAPI_cag_data_parseFromJSON(cag_data); -} + } cJSON *management_mdt_ind = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "managementMdtInd"); @@ -1358,21 +1358,21 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [management_mdt_ind]"); goto end; } -} + } cJSON *immediate_mdt_conf = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "immediateMdtConf"); OpenAPI_immediate_mdt_conf_t *immediate_mdt_conf_local_nonprim = NULL; if (immediate_mdt_conf) { immediate_mdt_conf_local_nonprim = OpenAPI_immediate_mdt_conf_parseFromJSON(immediate_mdt_conf); -} + } cJSON *ec_restriction_data_wb = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "ecRestrictionDataWb"); OpenAPI_ec_restriction_data_wb_t *ec_restriction_data_wb_local_nonprim = NULL; if (ec_restriction_data_wb) { ec_restriction_data_wb_local_nonprim = OpenAPI_ec_restriction_data_wb_parseFromJSON(ec_restriction_data_wb); -} + } cJSON *ec_restriction_data_nb = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "ecRestrictionDataNb"); @@ -1381,7 +1381,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [ec_restriction_data_nb]"); goto end; } -} + } cJSON *iab_operation_allowed = cJSON_GetObjectItemCaseSensitive(ue_contextJSON, "iabOperationAllowed"); @@ -1390,7 +1390,7 @@ OpenAPI_ue_context_t *OpenAPI_ue_context_parseFromJSON(cJSON *ue_contextJSON) ogs_error("OpenAPI_ue_context_parseFromJSON() failed [iab_operation_allowed]"); goto end; } -} + } ue_context_local_var = OpenAPI_ue_context_create ( supi ? ogs_strdup_or_assert(supi->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/ue_context_cancel_relocate_data.c b/lib/sbi/openapi/model/ue_context_cancel_relocate_data.c index fc60b2034..07804d561 100644 --- a/lib/sbi/openapi/model/ue_context_cancel_relocate_data.c +++ b/lib/sbi/openapi/model/ue_context_cancel_relocate_data.c @@ -72,7 +72,7 @@ OpenAPI_ue_context_cancel_relocate_data_t *OpenAPI_ue_context_cancel_relocate_da ogs_error("OpenAPI_ue_context_cancel_relocate_data_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *relocation_cancel_request = cJSON_GetObjectItemCaseSensitive(ue_context_cancel_relocate_dataJSON, "relocationCancelRequest"); if (!relocation_cancel_request) { diff --git a/lib/sbi/openapi/model/ue_context_create_data.c b/lib/sbi/openapi/model/ue_context_create_data.c index 8c6b481ee..f13475268 100644 --- a/lib/sbi/openapi/model/ue_context_create_data.c +++ b/lib/sbi/openapi/model/ue_context_create_data.c @@ -238,21 +238,21 @@ OpenAPI_ue_context_create_data_t *OpenAPI_ue_context_create_data_parseFromJSON(c ogs_error("OpenAPI_ue_context_create_data_parseFromJSON() failed [n2_notify_uri]"); goto end; } -} + } cJSON *ue_radio_capability = cJSON_GetObjectItemCaseSensitive(ue_context_create_dataJSON, "ueRadioCapability"); OpenAPI_n2_info_content_t *ue_radio_capability_local_nonprim = NULL; if (ue_radio_capability) { ue_radio_capability_local_nonprim = OpenAPI_n2_info_content_parseFromJSON(ue_radio_capability); -} + } cJSON *ngap_cause = cJSON_GetObjectItemCaseSensitive(ue_context_create_dataJSON, "ngapCause"); OpenAPI_ng_ap_cause_t *ngap_cause_local_nonprim = NULL; if (ngap_cause) { ngap_cause_local_nonprim = OpenAPI_ng_ap_cause_parseFromJSON(ngap_cause); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(ue_context_create_dataJSON, "supportedFeatures"); @@ -261,14 +261,14 @@ OpenAPI_ue_context_create_data_t *OpenAPI_ue_context_create_data_parseFromJSON(c ogs_error("OpenAPI_ue_context_create_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *serving_network = cJSON_GetObjectItemCaseSensitive(ue_context_create_dataJSON, "servingNetwork"); OpenAPI_plmn_id_nid_t *serving_network_local_nonprim = NULL; if (serving_network) { serving_network_local_nonprim = OpenAPI_plmn_id_nid_parseFromJSON(serving_network); -} + } ue_context_create_data_local_var = OpenAPI_ue_context_create_data_create ( ue_context_local_nonprim, diff --git a/lib/sbi/openapi/model/ue_context_create_error.c b/lib/sbi/openapi/model/ue_context_create_error.c index 86d51426c..b303134ef 100644 --- a/lib/sbi/openapi/model/ue_context_create_error.c +++ b/lib/sbi/openapi/model/ue_context_create_error.c @@ -102,14 +102,14 @@ OpenAPI_ue_context_create_error_t *OpenAPI_ue_context_create_error_parseFromJSON OpenAPI_ng_ap_cause_t *ngap_cause_local_nonprim = NULL; if (ngap_cause) { ngap_cause_local_nonprim = OpenAPI_ng_ap_cause_parseFromJSON(ngap_cause); -} + } cJSON *target_to_source_failure_data = cJSON_GetObjectItemCaseSensitive(ue_context_create_errorJSON, "targetToSourceFailureData"); OpenAPI_n2_info_content_t *target_to_source_failure_data_local_nonprim = NULL; if (target_to_source_failure_data) { target_to_source_failure_data_local_nonprim = OpenAPI_n2_info_content_parseFromJSON(target_to_source_failure_data); -} + } ue_context_create_error_local_var = OpenAPI_ue_context_create_error_create ( error_local_nonprim, diff --git a/lib/sbi/openapi/model/ue_context_created_data.c b/lib/sbi/openapi/model/ue_context_created_data.c index b087a345c..558326a8a 100644 --- a/lib/sbi/openapi/model/ue_context_created_data.c +++ b/lib/sbi/openapi/model/ue_context_created_data.c @@ -205,7 +205,7 @@ OpenAPI_ue_context_created_data_t *OpenAPI_ue_context_created_data_parseFromJSON OpenAPI_list_add(failed_session_listList, failed_session_listItem); } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(ue_context_created_dataJSON, "supportedFeatures"); @@ -214,7 +214,7 @@ OpenAPI_ue_context_created_data_t *OpenAPI_ue_context_created_data_parseFromJSON ogs_error("OpenAPI_ue_context_created_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *pcf_reselected_ind = cJSON_GetObjectItemCaseSensitive(ue_context_created_dataJSON, "pcfReselectedInd"); @@ -223,7 +223,7 @@ OpenAPI_ue_context_created_data_t *OpenAPI_ue_context_created_data_parseFromJSON ogs_error("OpenAPI_ue_context_created_data_parseFromJSON() failed [pcf_reselected_ind]"); goto end; } -} + } ue_context_created_data_local_var = OpenAPI_ue_context_created_data_create ( ue_context_local_nonprim, diff --git a/lib/sbi/openapi/model/ue_context_in_amf_data.c b/lib/sbi/openapi/model/ue_context_in_amf_data.c index 876edec81..15ac5ff77 100644 --- a/lib/sbi/openapi/model/ue_context_in_amf_data.c +++ b/lib/sbi/openapi/model/ue_context_in_amf_data.c @@ -62,7 +62,7 @@ OpenAPI_ue_context_in_amf_data_t *OpenAPI_ue_context_in_amf_data_parseFromJSON(c OpenAPI_eps_interworking_info_t *eps_interworking_info_local_nonprim = NULL; if (eps_interworking_info) { eps_interworking_info_local_nonprim = OpenAPI_eps_interworking_info_parseFromJSON(eps_interworking_info); -} + } ue_context_in_amf_data_local_var = OpenAPI_ue_context_in_amf_data_create ( eps_interworking_info ? eps_interworking_info_local_nonprim : NULL diff --git a/lib/sbi/openapi/model/ue_context_in_amf_data_1.c b/lib/sbi/openapi/model/ue_context_in_amf_data_1.c index 6ec5d7a40..ba3179376 100644 --- a/lib/sbi/openapi/model/ue_context_in_amf_data_1.c +++ b/lib/sbi/openapi/model/ue_context_in_amf_data_1.c @@ -62,7 +62,7 @@ OpenAPI_ue_context_in_amf_data_1_t *OpenAPI_ue_context_in_amf_data_1_parseFromJS OpenAPI_eps_interworking_info_t *eps_interworking_info_local_nonprim = NULL; if (eps_interworking_info) { eps_interworking_info_local_nonprim = OpenAPI_eps_interworking_info_parseFromJSON(eps_interworking_info); -} + } ue_context_in_amf_data_1_local_var = OpenAPI_ue_context_in_amf_data_1_create ( eps_interworking_info ? eps_interworking_info_local_nonprim : NULL diff --git a/lib/sbi/openapi/model/ue_context_in_smf_data.c b/lib/sbi/openapi/model/ue_context_in_smf_data.c index 76f27dc18..64493eff1 100644 --- a/lib/sbi/openapi/model/ue_context_in_smf_data.c +++ b/lib/sbi/openapi/model/ue_context_in_smf_data.c @@ -133,7 +133,7 @@ OpenAPI_ue_context_in_smf_data_t *OpenAPI_ue_context_in_smf_data_parseFromJSON(c localMapObject->string, OpenAPI_pdu_session_parseFromJSON(localMapObject)); OpenAPI_list_add(pdu_sessionsList , localMapKeyPair); } -} + } cJSON *pgw_info = cJSON_GetObjectItemCaseSensitive(ue_context_in_smf_dataJSON, "pgwInfo"); @@ -156,14 +156,14 @@ OpenAPI_ue_context_in_smf_data_t *OpenAPI_ue_context_in_smf_data_parseFromJSON(c OpenAPI_list_add(pgw_infoList, pgw_infoItem); } -} + } cJSON *emergency_info = cJSON_GetObjectItemCaseSensitive(ue_context_in_smf_dataJSON, "emergencyInfo"); OpenAPI_emergency_info_t *emergency_info_local_nonprim = NULL; if (emergency_info) { emergency_info_local_nonprim = OpenAPI_emergency_info_parseFromJSON(emergency_info); -} + } ue_context_in_smf_data_local_var = OpenAPI_ue_context_in_smf_data_create ( pdu_sessions ? pdu_sessionsList : NULL, diff --git a/lib/sbi/openapi/model/ue_context_in_smf_data_1.c b/lib/sbi/openapi/model/ue_context_in_smf_data_1.c index ff102eb53..a1e50840e 100644 --- a/lib/sbi/openapi/model/ue_context_in_smf_data_1.c +++ b/lib/sbi/openapi/model/ue_context_in_smf_data_1.c @@ -133,7 +133,7 @@ OpenAPI_ue_context_in_smf_data_1_t *OpenAPI_ue_context_in_smf_data_1_parseFromJS localMapObject->string, OpenAPI_pdu_session_1_parseFromJSON(localMapObject)); OpenAPI_list_add(pdu_sessionsList , localMapKeyPair); } -} + } cJSON *pgw_info = cJSON_GetObjectItemCaseSensitive(ue_context_in_smf_data_1JSON, "pgwInfo"); @@ -156,14 +156,14 @@ OpenAPI_ue_context_in_smf_data_1_t *OpenAPI_ue_context_in_smf_data_1_parseFromJS OpenAPI_list_add(pgw_infoList, pgw_infoItem); } -} + } cJSON *emergency_info = cJSON_GetObjectItemCaseSensitive(ue_context_in_smf_data_1JSON, "emergencyInfo"); OpenAPI_emergency_info_1_t *emergency_info_local_nonprim = NULL; if (emergency_info) { emergency_info_local_nonprim = OpenAPI_emergency_info_1_parseFromJSON(emergency_info); -} + } ue_context_in_smf_data_1_local_var = OpenAPI_ue_context_in_smf_data_1_create ( pdu_sessions ? pdu_sessionsList : NULL, diff --git a/lib/sbi/openapi/model/ue_context_in_smsf_data.c b/lib/sbi/openapi/model/ue_context_in_smsf_data.c index 6646a1089..5360f1d9b 100644 --- a/lib/sbi/openapi/model/ue_context_in_smsf_data.c +++ b/lib/sbi/openapi/model/ue_context_in_smsf_data.c @@ -78,14 +78,14 @@ OpenAPI_ue_context_in_smsf_data_t *OpenAPI_ue_context_in_smsf_data_parseFromJSON OpenAPI_smsf_info_t *smsf_info3_gpp_access_local_nonprim = NULL; if (smsf_info3_gpp_access) { smsf_info3_gpp_access_local_nonprim = OpenAPI_smsf_info_parseFromJSON(smsf_info3_gpp_access); -} + } cJSON *smsf_info_non3_gpp_access = cJSON_GetObjectItemCaseSensitive(ue_context_in_smsf_dataJSON, "smsfInfoNon3GppAccess"); OpenAPI_smsf_info_t *smsf_info_non3_gpp_access_local_nonprim = NULL; if (smsf_info_non3_gpp_access) { smsf_info_non3_gpp_access_local_nonprim = OpenAPI_smsf_info_parseFromJSON(smsf_info_non3_gpp_access); -} + } ue_context_in_smsf_data_local_var = OpenAPI_ue_context_in_smsf_data_create ( smsf_info3_gpp_access ? smsf_info3_gpp_access_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/ue_context_in_smsf_data_1.c b/lib/sbi/openapi/model/ue_context_in_smsf_data_1.c index 88784b886..2b69a2d15 100644 --- a/lib/sbi/openapi/model/ue_context_in_smsf_data_1.c +++ b/lib/sbi/openapi/model/ue_context_in_smsf_data_1.c @@ -78,14 +78,14 @@ OpenAPI_ue_context_in_smsf_data_1_t *OpenAPI_ue_context_in_smsf_data_1_parseFrom OpenAPI_smsf_info_1_t *smsf_info3_gpp_access_local_nonprim = NULL; if (smsf_info3_gpp_access) { smsf_info3_gpp_access_local_nonprim = OpenAPI_smsf_info_1_parseFromJSON(smsf_info3_gpp_access); -} + } cJSON *smsf_info_non3_gpp_access = cJSON_GetObjectItemCaseSensitive(ue_context_in_smsf_data_1JSON, "smsfInfoNon3GppAccess"); OpenAPI_smsf_info_1_t *smsf_info_non3_gpp_access_local_nonprim = NULL; if (smsf_info_non3_gpp_access) { smsf_info_non3_gpp_access_local_nonprim = OpenAPI_smsf_info_1_parseFromJSON(smsf_info_non3_gpp_access); -} + } ue_context_in_smsf_data_1_local_var = OpenAPI_ue_context_in_smsf_data_1_create ( smsf_info3_gpp_access ? smsf_info3_gpp_access_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/ue_context_release.c b/lib/sbi/openapi/model/ue_context_release.c index b01dd63b4..0dcaad1b3 100644 --- a/lib/sbi/openapi/model/ue_context_release.c +++ b/lib/sbi/openapi/model/ue_context_release.c @@ -81,7 +81,7 @@ OpenAPI_ue_context_release_t *OpenAPI_ue_context_release_parseFromJSON(cJSON *ue ogs_error("OpenAPI_ue_context_release_parseFromJSON() failed [supi]"); goto end; } -} + } cJSON *unauthenticated_supi = cJSON_GetObjectItemCaseSensitive(ue_context_releaseJSON, "unauthenticatedSupi"); @@ -90,7 +90,7 @@ OpenAPI_ue_context_release_t *OpenAPI_ue_context_release_parseFromJSON(cJSON *ue ogs_error("OpenAPI_ue_context_release_parseFromJSON() failed [unauthenticated_supi]"); goto end; } -} + } cJSON *ngap_cause = cJSON_GetObjectItemCaseSensitive(ue_context_releaseJSON, "ngapCause"); if (!ngap_cause) { diff --git a/lib/sbi/openapi/model/ue_context_relocate_data.c b/lib/sbi/openapi/model/ue_context_relocate_data.c index 228fd16dd..2cbe81959 100644 --- a/lib/sbi/openapi/model/ue_context_relocate_data.c +++ b/lib/sbi/openapi/model/ue_context_relocate_data.c @@ -226,21 +226,21 @@ OpenAPI_ue_context_relocate_data_t *OpenAPI_ue_context_relocate_data_parseFromJS OpenAPI_list_add(pdu_session_listList, pdu_session_listItem); } -} + } cJSON *ue_radio_capability = cJSON_GetObjectItemCaseSensitive(ue_context_relocate_dataJSON, "ueRadioCapability"); OpenAPI_n2_info_content_t *ue_radio_capability_local_nonprim = NULL; if (ue_radio_capability) { ue_radio_capability_local_nonprim = OpenAPI_n2_info_content_parseFromJSON(ue_radio_capability); -} + } cJSON *ngap_cause = cJSON_GetObjectItemCaseSensitive(ue_context_relocate_dataJSON, "ngapCause"); OpenAPI_ng_ap_cause_t *ngap_cause_local_nonprim = NULL; if (ngap_cause) { ngap_cause_local_nonprim = OpenAPI_ng_ap_cause_parseFromJSON(ngap_cause); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(ue_context_relocate_dataJSON, "supportedFeatures"); @@ -249,7 +249,7 @@ OpenAPI_ue_context_relocate_data_t *OpenAPI_ue_context_relocate_data_parseFromJS ogs_error("OpenAPI_ue_context_relocate_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } ue_context_relocate_data_local_var = OpenAPI_ue_context_relocate_data_create ( ue_context_local_nonprim, diff --git a/lib/sbi/openapi/model/ue_context_relocated_data.c b/lib/sbi/openapi/model/ue_context_relocated_data.c index b40c03ddc..bad36c7de 100644 --- a/lib/sbi/openapi/model/ue_context_relocated_data.c +++ b/lib/sbi/openapi/model/ue_context_relocated_data.c @@ -62,7 +62,7 @@ OpenAPI_ue_context_relocated_data_t *OpenAPI_ue_context_relocated_data_parseFrom OpenAPI_ue_context_t *ue_context_local_nonprim = NULL; if (ue_context) { ue_context_local_nonprim = OpenAPI_ue_context_parseFromJSON(ue_context); -} + } ue_context_relocated_data_local_var = OpenAPI_ue_context_relocated_data_create ( ue_context ? ue_context_local_nonprim : NULL diff --git a/lib/sbi/openapi/model/ue_context_transfer_req_data.c b/lib/sbi/openapi/model/ue_context_transfer_req_data.c index 840f3de57..beeedc39c 100644 --- a/lib/sbi/openapi/model/ue_context_transfer_req_data.c +++ b/lib/sbi/openapi/model/ue_context_transfer_req_data.c @@ -130,14 +130,14 @@ OpenAPI_ue_context_transfer_req_data_t *OpenAPI_ue_context_transfer_req_data_par OpenAPI_plmn_id_t *plmn_id_local_nonprim = NULL; if (plmn_id) { plmn_id_local_nonprim = OpenAPI_plmn_id_parseFromJSON(plmn_id); -} + } cJSON *reg_request = cJSON_GetObjectItemCaseSensitive(ue_context_transfer_req_dataJSON, "regRequest"); OpenAPI_n1_message_container_t *reg_request_local_nonprim = NULL; if (reg_request) { reg_request_local_nonprim = OpenAPI_n1_message_container_parseFromJSON(reg_request); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(ue_context_transfer_req_dataJSON, "supportedFeatures"); @@ -146,7 +146,7 @@ OpenAPI_ue_context_transfer_req_data_t *OpenAPI_ue_context_transfer_req_data_par ogs_error("OpenAPI_ue_context_transfer_req_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } ue_context_transfer_req_data_local_var = OpenAPI_ue_context_transfer_req_data_create ( reasonVariable, diff --git a/lib/sbi/openapi/model/ue_context_transfer_rsp_data.c b/lib/sbi/openapi/model/ue_context_transfer_rsp_data.c index dbb3dbcc3..3c45c0f71 100644 --- a/lib/sbi/openapi/model/ue_context_transfer_rsp_data.c +++ b/lib/sbi/openapi/model/ue_context_transfer_rsp_data.c @@ -112,14 +112,14 @@ OpenAPI_ue_context_transfer_rsp_data_t *OpenAPI_ue_context_transfer_rsp_data_par OpenAPI_n2_info_content_t *ue_radio_capability_local_nonprim = NULL; if (ue_radio_capability) { ue_radio_capability_local_nonprim = OpenAPI_n2_info_content_parseFromJSON(ue_radio_capability); -} + } cJSON *ue_nbiot_radio_capability = cJSON_GetObjectItemCaseSensitive(ue_context_transfer_rsp_dataJSON, "ueNbiotRadioCapability"); OpenAPI_n2_info_content_t *ue_nbiot_radio_capability_local_nonprim = NULL; if (ue_nbiot_radio_capability) { ue_nbiot_radio_capability_local_nonprim = OpenAPI_n2_info_content_parseFromJSON(ue_nbiot_radio_capability); -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(ue_context_transfer_rsp_dataJSON, "supportedFeatures"); @@ -128,7 +128,7 @@ OpenAPI_ue_context_transfer_rsp_data_t *OpenAPI_ue_context_transfer_rsp_data_par ogs_error("OpenAPI_ue_context_transfer_rsp_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } ue_context_transfer_rsp_data_local_var = OpenAPI_ue_context_transfer_rsp_data_create ( ue_context_local_nonprim, diff --git a/lib/sbi/openapi/model/ue_differentiation_info.c b/lib/sbi/openapi/model/ue_differentiation_info.c index 708431f4d..bea94da35 100644 --- a/lib/sbi/openapi/model/ue_differentiation_info.c +++ b/lib/sbi/openapi/model/ue_differentiation_info.c @@ -128,7 +128,7 @@ OpenAPI_ue_differentiation_info_t *OpenAPI_ue_differentiation_info_parseFromJSON goto end; } periodic_com_indVariable = OpenAPI_periodic_communication_indicator_FromString(periodic_com_ind->valuestring); -} + } cJSON *periodic_time = cJSON_GetObjectItemCaseSensitive(ue_differentiation_infoJSON, "periodicTime"); @@ -137,14 +137,14 @@ OpenAPI_ue_differentiation_info_t *OpenAPI_ue_differentiation_info_parseFromJSON ogs_error("OpenAPI_ue_differentiation_info_parseFromJSON() failed [periodic_time]"); goto end; } -} + } cJSON *scheduled_com_time = cJSON_GetObjectItemCaseSensitive(ue_differentiation_infoJSON, "scheduledComTime"); OpenAPI_scheduled_communication_time_t *scheduled_com_time_local_nonprim = NULL; if (scheduled_com_time) { scheduled_com_time_local_nonprim = OpenAPI_scheduled_communication_time_parseFromJSON(scheduled_com_time); -} + } cJSON *stationary_ind = cJSON_GetObjectItemCaseSensitive(ue_differentiation_infoJSON, "stationaryInd"); @@ -155,7 +155,7 @@ OpenAPI_ue_differentiation_info_t *OpenAPI_ue_differentiation_info_parseFromJSON goto end; } stationary_indVariable = OpenAPI_stationary_indication_FromString(stationary_ind->valuestring); -} + } cJSON *traffic_profile = cJSON_GetObjectItemCaseSensitive(ue_differentiation_infoJSON, "trafficProfile"); @@ -166,14 +166,14 @@ OpenAPI_ue_differentiation_info_t *OpenAPI_ue_differentiation_info_parseFromJSON goto end; } traffic_profileVariable = OpenAPI_traffic_profile_FromString(traffic_profile->valuestring); -} + } cJSON *battery_ind = cJSON_GetObjectItemCaseSensitive(ue_differentiation_infoJSON, "batteryInd"); OpenAPI_battery_indication_t *battery_ind_local_nonprim = NULL; if (battery_ind) { battery_ind_local_nonprim = OpenAPI_battery_indication_parseFromJSON(battery_ind); -} + } cJSON *validity_time = cJSON_GetObjectItemCaseSensitive(ue_differentiation_infoJSON, "validityTime"); @@ -182,7 +182,7 @@ OpenAPI_ue_differentiation_info_t *OpenAPI_ue_differentiation_info_parseFromJSON ogs_error("OpenAPI_ue_differentiation_info_parseFromJSON() failed [validity_time]"); goto end; } -} + } ue_differentiation_info_local_var = OpenAPI_ue_differentiation_info_create ( periodic_com_ind ? periodic_com_indVariable : 0, diff --git a/lib/sbi/openapi/model/ue_id.c b/lib/sbi/openapi/model/ue_id.c index e85569590..877cb5a3e 100644 --- a/lib/sbi/openapi/model/ue_id.c +++ b/lib/sbi/openapi/model/ue_id.c @@ -101,7 +101,7 @@ OpenAPI_ue_id_t *OpenAPI_ue_id_parseFromJSON(cJSON *ue_idJSON) } OpenAPI_list_add(gpsi_listList , ogs_strdup_or_assert(gpsi_list_local->valuestring)); } -} + } ue_id_local_var = OpenAPI_ue_id_create ( ogs_strdup_or_assert(supi->valuestring), diff --git a/lib/sbi/openapi/model/ue_identity_info.c b/lib/sbi/openapi/model/ue_identity_info.c index 334cf8917..17a2ecc4d 100644 --- a/lib/sbi/openapi/model/ue_identity_info.c +++ b/lib/sbi/openapi/model/ue_identity_info.c @@ -78,7 +78,7 @@ OpenAPI_ue_identity_info_t *OpenAPI_ue_identity_info_parseFromJSON(cJSON *ue_ide ogs_error("OpenAPI_ue_identity_info_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(ue_identity_infoJSON, "pei"); @@ -87,7 +87,7 @@ OpenAPI_ue_identity_info_t *OpenAPI_ue_identity_info_parseFromJSON(cJSON *ue_ide ogs_error("OpenAPI_ue_identity_info_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *supi = cJSON_GetObjectItemCaseSensitive(ue_identity_infoJSON, "supi"); @@ -96,7 +96,7 @@ OpenAPI_ue_identity_info_t *OpenAPI_ue_identity_info_parseFromJSON(cJSON *ue_ide ogs_error("OpenAPI_ue_identity_info_parseFromJSON() failed [supi]"); goto end; } -} + } ue_identity_info_local_var = OpenAPI_ue_identity_info_create ( gpsi ? ogs_strdup_or_assert(gpsi->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/ue_initiated_resource_request.c b/lib/sbi/openapi/model/ue_initiated_resource_request.c index c5aa7fc1d..9d3bc4462 100644 --- a/lib/sbi/openapi/model/ue_initiated_resource_request.c +++ b/lib/sbi/openapi/model/ue_initiated_resource_request.c @@ -114,7 +114,7 @@ OpenAPI_ue_initiated_resource_request_t *OpenAPI_ue_initiated_resource_request_p ogs_error("OpenAPI_ue_initiated_resource_request_parseFromJSON() failed [pcc_rule_id]"); goto end; } -} + } cJSON *rule_op = cJSON_GetObjectItemCaseSensitive(ue_initiated_resource_requestJSON, "ruleOp"); if (!rule_op) { @@ -137,7 +137,7 @@ OpenAPI_ue_initiated_resource_request_t *OpenAPI_ue_initiated_resource_request_p ogs_error("OpenAPI_ue_initiated_resource_request_parseFromJSON() failed [precedence]"); goto end; } -} + } cJSON *pack_filt_info = cJSON_GetObjectItemCaseSensitive(ue_initiated_resource_requestJSON, "packFiltInfo"); if (!pack_filt_info) { @@ -170,7 +170,7 @@ OpenAPI_ue_initiated_resource_request_t *OpenAPI_ue_initiated_resource_request_p OpenAPI_requested_qos_t *req_qos_local_nonprim = NULL; if (req_qos) { req_qos_local_nonprim = OpenAPI_requested_qos_parseFromJSON(req_qos); -} + } ue_initiated_resource_request_local_var = OpenAPI_ue_initiated_resource_request_create ( pcc_rule_id ? ogs_strdup_or_assert(pcc_rule_id->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/ue_n1_n2_info_subscription_create_data.c b/lib/sbi/openapi/model/ue_n1_n2_info_subscription_create_data.c index d4da9e1d4..f0531a4aa 100644 --- a/lib/sbi/openapi/model/ue_n1_n2_info_subscription_create_data.c +++ b/lib/sbi/openapi/model/ue_n1_n2_info_subscription_create_data.c @@ -124,7 +124,7 @@ OpenAPI_ue_n1_n2_info_subscription_create_data_t *OpenAPI_ue_n1_n2_info_subscrip goto end; } n2_information_classVariable = OpenAPI_n2_information_class_FromString(n2_information_class->valuestring); -} + } cJSON *n2_notify_callback_uri = cJSON_GetObjectItemCaseSensitive(ue_n1_n2_info_subscription_create_dataJSON, "n2NotifyCallbackUri"); @@ -133,7 +133,7 @@ OpenAPI_ue_n1_n2_info_subscription_create_data_t *OpenAPI_ue_n1_n2_info_subscrip ogs_error("OpenAPI_ue_n1_n2_info_subscription_create_data_parseFromJSON() failed [n2_notify_callback_uri]"); goto end; } -} + } cJSON *n1_message_class = cJSON_GetObjectItemCaseSensitive(ue_n1_n2_info_subscription_create_dataJSON, "n1MessageClass"); @@ -144,7 +144,7 @@ OpenAPI_ue_n1_n2_info_subscription_create_data_t *OpenAPI_ue_n1_n2_info_subscrip goto end; } n1_message_classVariable = OpenAPI_n1_message_class_FromString(n1_message_class->valuestring); -} + } cJSON *n1_notify_callback_uri = cJSON_GetObjectItemCaseSensitive(ue_n1_n2_info_subscription_create_dataJSON, "n1NotifyCallbackUri"); @@ -153,7 +153,7 @@ OpenAPI_ue_n1_n2_info_subscription_create_data_t *OpenAPI_ue_n1_n2_info_subscrip ogs_error("OpenAPI_ue_n1_n2_info_subscription_create_data_parseFromJSON() failed [n1_notify_callback_uri]"); goto end; } -} + } cJSON *nf_id = cJSON_GetObjectItemCaseSensitive(ue_n1_n2_info_subscription_create_dataJSON, "nfId"); @@ -162,7 +162,7 @@ OpenAPI_ue_n1_n2_info_subscription_create_data_t *OpenAPI_ue_n1_n2_info_subscrip ogs_error("OpenAPI_ue_n1_n2_info_subscription_create_data_parseFromJSON() failed [nf_id]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(ue_n1_n2_info_subscription_create_dataJSON, "supportedFeatures"); @@ -171,14 +171,14 @@ OpenAPI_ue_n1_n2_info_subscription_create_data_t *OpenAPI_ue_n1_n2_info_subscrip ogs_error("OpenAPI_ue_n1_n2_info_subscription_create_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *old_guami = cJSON_GetObjectItemCaseSensitive(ue_n1_n2_info_subscription_create_dataJSON, "oldGuami"); OpenAPI_guami_t *old_guami_local_nonprim = NULL; if (old_guami) { old_guami_local_nonprim = OpenAPI_guami_parseFromJSON(old_guami); -} + } ue_n1_n2_info_subscription_create_data_local_var = OpenAPI_ue_n1_n2_info_subscription_create_data_create ( n2_information_class ? n2_information_classVariable : 0, diff --git a/lib/sbi/openapi/model/ue_n1_n2_info_subscription_created_data.c b/lib/sbi/openapi/model/ue_n1_n2_info_subscription_created_data.c index 394586aef..110178172 100644 --- a/lib/sbi/openapi/model/ue_n1_n2_info_subscription_created_data.c +++ b/lib/sbi/openapi/model/ue_n1_n2_info_subscription_created_data.c @@ -78,7 +78,7 @@ OpenAPI_ue_n1_n2_info_subscription_created_data_t *OpenAPI_ue_n1_n2_info_subscri ogs_error("OpenAPI_ue_n1_n2_info_subscription_created_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } ue_n1_n2_info_subscription_created_data_local_var = OpenAPI_ue_n1_n2_info_subscription_created_data_create ( ogs_strdup_or_assert(n1n2_notify_subscription_id->valuestring), diff --git a/lib/sbi/openapi/model/ue_policy_set.c b/lib/sbi/openapi/model/ue_policy_set.c index 94d1d19a7..11984f87a 100644 --- a/lib/sbi/openapi/model/ue_policy_set.c +++ b/lib/sbi/openapi/model/ue_policy_set.c @@ -244,7 +244,7 @@ OpenAPI_ue_policy_set_t *OpenAPI_ue_policy_set_parseFromJSON(cJSON *ue_policy_se localMapObject->string, OpenAPI_presence_info_parseFromJSON(localMapObject)); OpenAPI_list_add(pra_infosList , localMapKeyPair); } -} + } cJSON *subsc_cats = cJSON_GetObjectItemCaseSensitive(ue_policy_setJSON, "subscCats"); @@ -264,7 +264,7 @@ OpenAPI_ue_policy_set_t *OpenAPI_ue_policy_set_parseFromJSON(cJSON *ue_policy_se } OpenAPI_list_add(subsc_catsList , ogs_strdup_or_assert(subsc_cats_local->valuestring)); } -} + } cJSON *ue_policy_sections = cJSON_GetObjectItemCaseSensitive(ue_policy_setJSON, "uePolicySections"); @@ -287,7 +287,7 @@ OpenAPI_ue_policy_set_t *OpenAPI_ue_policy_set_parseFromJSON(cJSON *ue_policy_se localMapObject->string, OpenAPI_ue_policy_section_parseFromJSON(localMapObject)); OpenAPI_list_add(ue_policy_sectionsList , localMapKeyPair); } -} + } cJSON *upsis = cJSON_GetObjectItemCaseSensitive(ue_policy_setJSON, "upsis"); @@ -307,7 +307,7 @@ OpenAPI_ue_policy_set_t *OpenAPI_ue_policy_set_parseFromJSON(cJSON *ue_policy_se } OpenAPI_list_add(upsisList , ogs_strdup_or_assert(upsis_local->valuestring)); } -} + } cJSON *allowed_route_sel_descs = cJSON_GetObjectItemCaseSensitive(ue_policy_setJSON, "allowedRouteSelDescs"); @@ -330,7 +330,7 @@ OpenAPI_ue_policy_set_t *OpenAPI_ue_policy_set_parseFromJSON(cJSON *ue_policy_se localMapObject->string, OpenAPI_plmn_route_selection_descriptor_parseFromJSON(localMapObject)); OpenAPI_list_add(allowed_route_sel_descsList , localMapKeyPair); } -} + } cJSON *andsp_ind = cJSON_GetObjectItemCaseSensitive(ue_policy_setJSON, "andspInd"); @@ -339,7 +339,7 @@ OpenAPI_ue_policy_set_t *OpenAPI_ue_policy_set_parseFromJSON(cJSON *ue_policy_se ogs_error("OpenAPI_ue_policy_set_parseFromJSON() failed [andsp_ind]"); goto end; } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(ue_policy_setJSON, "pei"); @@ -348,7 +348,7 @@ OpenAPI_ue_policy_set_t *OpenAPI_ue_policy_set_parseFromJSON(cJSON *ue_policy_se ogs_error("OpenAPI_ue_policy_set_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *os_ids = cJSON_GetObjectItemCaseSensitive(ue_policy_setJSON, "osIds"); @@ -368,7 +368,7 @@ OpenAPI_ue_policy_set_t *OpenAPI_ue_policy_set_parseFromJSON(cJSON *ue_policy_se } OpenAPI_list_add(os_idsList , ogs_strdup_or_assert(os_ids_local->valuestring)); } -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(ue_policy_setJSON, "suppFeat"); @@ -377,7 +377,7 @@ OpenAPI_ue_policy_set_t *OpenAPI_ue_policy_set_parseFromJSON(cJSON *ue_policy_se ogs_error("OpenAPI_ue_policy_set_parseFromJSON() failed [supp_feat]"); goto end; } -} + } ue_policy_set_local_var = OpenAPI_ue_policy_set_create ( pra_infos ? pra_infosList : NULL, diff --git a/lib/sbi/openapi/model/ue_policy_set_patch.c b/lib/sbi/openapi/model/ue_policy_set_patch.c index c5a70b372..2c13b2b86 100644 --- a/lib/sbi/openapi/model/ue_policy_set_patch.c +++ b/lib/sbi/openapi/model/ue_policy_set_patch.c @@ -154,7 +154,7 @@ OpenAPI_ue_policy_set_patch_t *OpenAPI_ue_policy_set_patch_parseFromJSON(cJSON * localMapObject->string, OpenAPI_ue_policy_section_parseFromJSON(localMapObject)); OpenAPI_list_add(ue_policy_sectionsList , localMapKeyPair); } -} + } cJSON *upsis = cJSON_GetObjectItemCaseSensitive(ue_policy_set_patchJSON, "upsis"); @@ -174,7 +174,7 @@ OpenAPI_ue_policy_set_patch_t *OpenAPI_ue_policy_set_patch_parseFromJSON(cJSON * } OpenAPI_list_add(upsisList , ogs_strdup_or_assert(upsis_local->valuestring)); } -} + } cJSON *andsp_ind = cJSON_GetObjectItemCaseSensitive(ue_policy_set_patchJSON, "andspInd"); @@ -183,7 +183,7 @@ OpenAPI_ue_policy_set_patch_t *OpenAPI_ue_policy_set_patch_parseFromJSON(cJSON * ogs_error("OpenAPI_ue_policy_set_patch_parseFromJSON() failed [andsp_ind]"); goto end; } -} + } cJSON *pei = cJSON_GetObjectItemCaseSensitive(ue_policy_set_patchJSON, "pei"); @@ -192,7 +192,7 @@ OpenAPI_ue_policy_set_patch_t *OpenAPI_ue_policy_set_patch_parseFromJSON(cJSON * ogs_error("OpenAPI_ue_policy_set_patch_parseFromJSON() failed [pei]"); goto end; } -} + } cJSON *os_ids = cJSON_GetObjectItemCaseSensitive(ue_policy_set_patchJSON, "osIds"); @@ -212,7 +212,7 @@ OpenAPI_ue_policy_set_patch_t *OpenAPI_ue_policy_set_patch_parseFromJSON(cJSON * } OpenAPI_list_add(os_idsList , ogs_strdup_or_assert(os_ids_local->valuestring)); } -} + } ue_policy_set_patch_local_var = OpenAPI_ue_policy_set_patch_create ( ue_policy_sections ? ue_policy_sectionsList : NULL, diff --git a/lib/sbi/openapi/model/ue_reg_status_update_req_data.c b/lib/sbi/openapi/model/ue_reg_status_update_req_data.c index 97d864505..3ef629d31 100644 --- a/lib/sbi/openapi/model/ue_reg_status_update_req_data.c +++ b/lib/sbi/openapi/model/ue_reg_status_update_req_data.c @@ -137,7 +137,7 @@ OpenAPI_ue_reg_status_update_req_data_t *OpenAPI_ue_reg_status_update_req_data_p } OpenAPI_list_add(to_release_session_listList , &to_release_session_list_local->valuedouble); } -} + } cJSON *pcf_reselected_ind = cJSON_GetObjectItemCaseSensitive(ue_reg_status_update_req_dataJSON, "pcfReselectedInd"); @@ -146,7 +146,7 @@ OpenAPI_ue_reg_status_update_req_data_t *OpenAPI_ue_reg_status_update_req_data_p ogs_error("OpenAPI_ue_reg_status_update_req_data_parseFromJSON() failed [pcf_reselected_ind]"); goto end; } -} + } cJSON *smf_change_info_list = cJSON_GetObjectItemCaseSensitive(ue_reg_status_update_req_dataJSON, "smfChangeInfoList"); @@ -169,7 +169,7 @@ OpenAPI_ue_reg_status_update_req_data_t *OpenAPI_ue_reg_status_update_req_data_p OpenAPI_list_add(smf_change_info_listList, smf_change_info_listItem); } -} + } ue_reg_status_update_req_data_local_var = OpenAPI_ue_reg_status_update_req_data_create ( transfer_statusVariable, diff --git a/lib/sbi/openapi/model/ulcl_bp_information.c b/lib/sbi/openapi/model/ulcl_bp_information.c index 316fa52e5..9ce88990c 100644 --- a/lib/sbi/openapi/model/ulcl_bp_information.c +++ b/lib/sbi/openapi/model/ulcl_bp_information.c @@ -58,7 +58,7 @@ OpenAPI_ulcl_bp_information_t *OpenAPI_ulcl_bp_information_parseFromJSON(cJSON * ogs_error("OpenAPI_ulcl_bp_information_parseFromJSON() failed [ulcl_bp_upf_id]"); goto end; } -} + } ulcl_bp_information_local_var = OpenAPI_ulcl_bp_information_create ( ulcl_bp_upf_id ? ogs_strdup_or_assert(ulcl_bp_upf_id->valuestring) : NULL diff --git a/lib/sbi/openapi/model/unrelated_class.c b/lib/sbi/openapi/model/unrelated_class.c index 6c9d3ebbd..ad56b6e39 100644 --- a/lib/sbi/openapi/model/unrelated_class.c +++ b/lib/sbi/openapi/model/unrelated_class.c @@ -112,7 +112,7 @@ OpenAPI_unrelated_class_t *OpenAPI_unrelated_class_parseFromJSON(cJSON *unrelate OpenAPI_external_unrelated_class_t *external_unrelated_class_local_nonprim = NULL; if (external_unrelated_class) { external_unrelated_class_local_nonprim = OpenAPI_external_unrelated_class_parseFromJSON(external_unrelated_class); -} + } cJSON *service_type_unrelated_classes = cJSON_GetObjectItemCaseSensitive(unrelated_classJSON, "serviceTypeUnrelatedClasses"); @@ -135,7 +135,7 @@ OpenAPI_unrelated_class_t *OpenAPI_unrelated_class_parseFromJSON(cJSON *unrelate OpenAPI_list_add(service_type_unrelated_classesList, service_type_unrelated_classesItem); } -} + } unrelated_class_local_var = OpenAPI_unrelated_class_create ( default_unrelated_class_local_nonprim, diff --git a/lib/sbi/openapi/model/unrelated_class_1.c b/lib/sbi/openapi/model/unrelated_class_1.c index a4974ab5e..05ff0d416 100644 --- a/lib/sbi/openapi/model/unrelated_class_1.c +++ b/lib/sbi/openapi/model/unrelated_class_1.c @@ -112,7 +112,7 @@ OpenAPI_unrelated_class_1_t *OpenAPI_unrelated_class_1_parseFromJSON(cJSON *unre OpenAPI_external_unrelated_class_t *external_unrelated_class_local_nonprim = NULL; if (external_unrelated_class) { external_unrelated_class_local_nonprim = OpenAPI_external_unrelated_class_parseFromJSON(external_unrelated_class); -} + } cJSON *service_type_unrelated_classes = cJSON_GetObjectItemCaseSensitive(unrelated_class_1JSON, "serviceTypeUnrelatedClasses"); @@ -135,7 +135,7 @@ OpenAPI_unrelated_class_1_t *OpenAPI_unrelated_class_1_parseFromJSON(cJSON *unre OpenAPI_list_add(service_type_unrelated_classesList, service_type_unrelated_classesItem); } -} + } unrelated_class_1_local_var = OpenAPI_unrelated_class_1_create ( default_unrelated_class_local_nonprim, diff --git a/lib/sbi/openapi/model/up_path_chg_event.c b/lib/sbi/openapi/model/up_path_chg_event.c index cf2adacb7..ad5141c07 100644 --- a/lib/sbi/openapi/model/up_path_chg_event.c +++ b/lib/sbi/openapi/model/up_path_chg_event.c @@ -118,7 +118,7 @@ OpenAPI_up_path_chg_event_t *OpenAPI_up_path_chg_event_parseFromJSON(cJSON *up_p ogs_error("OpenAPI_up_path_chg_event_parseFromJSON() failed [af_ack_ind]"); goto end; } -} + } up_path_chg_event_local_var = OpenAPI_up_path_chg_event_create ( ogs_strdup_or_assert(notification_uri->valuestring), diff --git a/lib/sbi/openapi/model/up_security_info.c b/lib/sbi/openapi/model/up_security_info.c index 4ae475a1f..67d9f58e5 100644 --- a/lib/sbi/openapi/model/up_security_info.c +++ b/lib/sbi/openapi/model/up_security_info.c @@ -108,7 +108,7 @@ OpenAPI_up_security_info_t *OpenAPI_up_security_info_parseFromJSON(cJSON *up_sec goto end; } max_integrity_protected_data_rate_ulVariable = OpenAPI_max_integrity_protected_data_rate_FromString(max_integrity_protected_data_rate_ul->valuestring); -} + } cJSON *max_integrity_protected_data_rate_dl = cJSON_GetObjectItemCaseSensitive(up_security_infoJSON, "maxIntegrityProtectedDataRateDl"); @@ -119,14 +119,14 @@ OpenAPI_up_security_info_t *OpenAPI_up_security_info_parseFromJSON(cJSON *up_sec goto end; } max_integrity_protected_data_rate_dlVariable = OpenAPI_max_integrity_protected_data_rate_FromString(max_integrity_protected_data_rate_dl->valuestring); -} + } cJSON *security_result = cJSON_GetObjectItemCaseSensitive(up_security_infoJSON, "securityResult"); OpenAPI_security_result_t *security_result_local_nonprim = NULL; if (security_result) { security_result_local_nonprim = OpenAPI_security_result_parseFromJSON(security_result); -} + } up_security_info_local_var = OpenAPI_up_security_info_create ( up_security_local_nonprim, diff --git a/lib/sbi/openapi/model/upf_cond.c b/lib/sbi/openapi/model/upf_cond.c index 5274a8c5d..8eb788bc7 100644 --- a/lib/sbi/openapi/model/upf_cond.c +++ b/lib/sbi/openapi/model/upf_cond.c @@ -151,7 +151,7 @@ OpenAPI_upf_cond_t *OpenAPI_upf_cond_parseFromJSON(cJSON *upf_condJSON) } OpenAPI_list_add(smf_serving_areaList , ogs_strdup_or_assert(smf_serving_area_local->valuestring)); } -} + } cJSON *tai_list = cJSON_GetObjectItemCaseSensitive(upf_condJSON, "taiList"); @@ -174,7 +174,7 @@ OpenAPI_upf_cond_t *OpenAPI_upf_cond_parseFromJSON(cJSON *upf_condJSON) OpenAPI_list_add(tai_listList, tai_listItem); } -} + } upf_cond_local_var = OpenAPI_upf_cond_create ( condition_typeVariable, diff --git a/lib/sbi/openapi/model/upf_info.c b/lib/sbi/openapi/model/upf_info.c index 41ca8ef0a..bef69a47b 100644 --- a/lib/sbi/openapi/model/upf_info.c +++ b/lib/sbi/openapi/model/upf_info.c @@ -319,7 +319,7 @@ OpenAPI_upf_info_t *OpenAPI_upf_info_parseFromJSON(cJSON *upf_infoJSON) } OpenAPI_list_add(smf_serving_areaList , ogs_strdup_or_assert(smf_serving_area_local->valuestring)); } -} + } cJSON *interface_upf_info_list = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "interfaceUpfInfoList"); @@ -342,7 +342,7 @@ OpenAPI_upf_info_t *OpenAPI_upf_info_parseFromJSON(cJSON *upf_infoJSON) OpenAPI_list_add(interface_upf_info_listList, interface_upf_info_listItem); } -} + } cJSON *iwk_eps_ind = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "iwkEpsInd"); @@ -351,7 +351,7 @@ OpenAPI_upf_info_t *OpenAPI_upf_info_parseFromJSON(cJSON *upf_infoJSON) ogs_error("OpenAPI_upf_info_parseFromJSON() failed [iwk_eps_ind]"); goto end; } -} + } cJSON *pdu_session_types = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "pduSessionTypes"); @@ -373,14 +373,14 @@ OpenAPI_upf_info_t *OpenAPI_upf_info_parseFromJSON(cJSON *upf_infoJSON) OpenAPI_list_add(pdu_session_typesList, (void *)OpenAPI_pdu_session_type_FromString(pdu_session_types_local_nonprimitive->valuestring)); } -} + } cJSON *atsss_capability = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "atsssCapability"); OpenAPI_atsss_capability_t *atsss_capability_local_nonprim = NULL; if (atsss_capability) { atsss_capability_local_nonprim = OpenAPI_atsss_capability_parseFromJSON(atsss_capability); -} + } cJSON *ue_ip_addr_ind = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "ueIpAddrInd"); @@ -389,7 +389,7 @@ OpenAPI_upf_info_t *OpenAPI_upf_info_parseFromJSON(cJSON *upf_infoJSON) ogs_error("OpenAPI_upf_info_parseFromJSON() failed [ue_ip_addr_ind]"); goto end; } -} + } cJSON *tai_list = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "taiList"); @@ -412,28 +412,28 @@ OpenAPI_upf_info_t *OpenAPI_upf_info_parseFromJSON(cJSON *upf_infoJSON) OpenAPI_list_add(tai_listList, tai_listItem); } -} + } cJSON *w_agf_info = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "wAgfInfo"); OpenAPI_w_agf_info_t *w_agf_info_local_nonprim = NULL; if (w_agf_info) { w_agf_info_local_nonprim = OpenAPI_w_agf_info_parseFromJSON(w_agf_info); -} + } cJSON *tngf_info = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "tngfInfo"); OpenAPI_tngf_info_t *tngf_info_local_nonprim = NULL; if (tngf_info) { tngf_info_local_nonprim = OpenAPI_tngf_info_parseFromJSON(tngf_info); -} + } cJSON *twif_info = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "twifInfo"); OpenAPI_twif_info_t *twif_info_local_nonprim = NULL; if (twif_info) { twif_info_local_nonprim = OpenAPI_twif_info_parseFromJSON(twif_info); -} + } cJSON *priority = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "priority"); @@ -442,7 +442,7 @@ OpenAPI_upf_info_t *OpenAPI_upf_info_parseFromJSON(cJSON *upf_infoJSON) ogs_error("OpenAPI_upf_info_parseFromJSON() failed [priority]"); goto end; } -} + } cJSON *redundant_gtpu = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "redundantGtpu"); @@ -451,7 +451,7 @@ OpenAPI_upf_info_t *OpenAPI_upf_info_parseFromJSON(cJSON *upf_infoJSON) ogs_error("OpenAPI_upf_info_parseFromJSON() failed [redundant_gtpu]"); goto end; } -} + } cJSON *ipups = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "ipups"); @@ -460,7 +460,7 @@ OpenAPI_upf_info_t *OpenAPI_upf_info_parseFromJSON(cJSON *upf_infoJSON) ogs_error("OpenAPI_upf_info_parseFromJSON() failed [ipups]"); goto end; } -} + } cJSON *data_forwarding = cJSON_GetObjectItemCaseSensitive(upf_infoJSON, "dataForwarding"); @@ -469,7 +469,7 @@ OpenAPI_upf_info_t *OpenAPI_upf_info_parseFromJSON(cJSON *upf_infoJSON) ogs_error("OpenAPI_upf_info_parseFromJSON() failed [data_forwarding]"); goto end; } -} + } upf_info_local_var = OpenAPI_upf_info_create ( s_nssai_upf_info_listList, diff --git a/lib/sbi/openapi/model/upu_data.c b/lib/sbi/openapi/model/upu_data.c index 8784beb0d..c946bc95a 100644 --- a/lib/sbi/openapi/model/upu_data.c +++ b/lib/sbi/openapi/model/upu_data.c @@ -109,7 +109,7 @@ OpenAPI_upu_data_t *OpenAPI_upu_data_parseFromJSON(cJSON *upu_dataJSON) ogs_error("OpenAPI_upu_data_parseFromJSON() failed [upu_xmac_iue]"); goto end; } -} + } cJSON *upu_mac_iue = cJSON_GetObjectItemCaseSensitive(upu_dataJSON, "upuMacIue"); @@ -118,7 +118,7 @@ OpenAPI_upu_data_t *OpenAPI_upu_data_parseFromJSON(cJSON *upu_dataJSON) ogs_error("OpenAPI_upu_data_parseFromJSON() failed [upu_mac_iue]"); goto end; } -} + } upu_data_local_var = OpenAPI_upu_data_create ( ogs_strdup_or_assert(provisioning_time->valuestring), diff --git a/lib/sbi/openapi/model/upu_data_1.c b/lib/sbi/openapi/model/upu_data_1.c index f46eac675..99c66b757 100644 --- a/lib/sbi/openapi/model/upu_data_1.c +++ b/lib/sbi/openapi/model/upu_data_1.c @@ -94,7 +94,7 @@ OpenAPI_upu_data_1_t *OpenAPI_upu_data_1_parseFromJSON(cJSON *upu_data_1JSON) ogs_error("OpenAPI_upu_data_1_parseFromJSON() failed [sec_packet]"); goto end; } -} + } cJSON *default_conf_nssai = cJSON_GetObjectItemCaseSensitive(upu_data_1JSON, "defaultConfNssai"); @@ -117,7 +117,7 @@ OpenAPI_upu_data_1_t *OpenAPI_upu_data_1_parseFromJSON(cJSON *upu_data_1JSON) OpenAPI_list_add(default_conf_nssaiList, default_conf_nssaiItem); } -} + } cJSON *routing_id = cJSON_GetObjectItemCaseSensitive(upu_data_1JSON, "routingId"); @@ -126,7 +126,7 @@ OpenAPI_upu_data_1_t *OpenAPI_upu_data_1_parseFromJSON(cJSON *upu_data_1JSON) ogs_error("OpenAPI_upu_data_1_parseFromJSON() failed [routing_id]"); goto end; } -} + } upu_data_1_local_var = OpenAPI_upu_data_1_create ( sec_packet ? ogs_strdup_or_assert(sec_packet->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/upu_data_2.c b/lib/sbi/openapi/model/upu_data_2.c index dac925cc5..f0271beac 100644 --- a/lib/sbi/openapi/model/upu_data_2.c +++ b/lib/sbi/openapi/model/upu_data_2.c @@ -94,7 +94,7 @@ OpenAPI_upu_data_2_t *OpenAPI_upu_data_2_parseFromJSON(cJSON *upu_data_2JSON) ogs_error("OpenAPI_upu_data_2_parseFromJSON() failed [sec_packet]"); goto end; } -} + } cJSON *default_conf_nssai = cJSON_GetObjectItemCaseSensitive(upu_data_2JSON, "defaultConfNssai"); @@ -117,7 +117,7 @@ OpenAPI_upu_data_2_t *OpenAPI_upu_data_2_parseFromJSON(cJSON *upu_data_2JSON) OpenAPI_list_add(default_conf_nssaiList, default_conf_nssaiItem); } -} + } cJSON *routing_id = cJSON_GetObjectItemCaseSensitive(upu_data_2JSON, "routingId"); @@ -126,7 +126,7 @@ OpenAPI_upu_data_2_t *OpenAPI_upu_data_2_parseFromJSON(cJSON *upu_data_2JSON) ogs_error("OpenAPI_upu_data_2_parseFromJSON() failed [routing_id]"); goto end; } -} + } upu_data_2_local_var = OpenAPI_upu_data_2_create ( sec_packet ? ogs_strdup_or_assert(sec_packet->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/upu_info.c b/lib/sbi/openapi/model/upu_info.c index 5874d1c91..2f06231c8 100644 --- a/lib/sbi/openapi/model/upu_info.c +++ b/lib/sbi/openapi/model/upu_info.c @@ -164,7 +164,7 @@ OpenAPI_upu_info_t *OpenAPI_upu_info_parseFromJSON(cJSON *upu_infoJSON) ogs_error("OpenAPI_upu_info_parseFromJSON() failed [upu_mac_iausf]"); goto end; } -} + } cJSON *counter_upu = cJSON_GetObjectItemCaseSensitive(upu_infoJSON, "counterUpu"); @@ -173,7 +173,7 @@ OpenAPI_upu_info_t *OpenAPI_upu_info_parseFromJSON(cJSON *upu_infoJSON) ogs_error("OpenAPI_upu_info_parseFromJSON() failed [counter_upu]"); goto end; } -} + } cJSON *provisioning_time = cJSON_GetObjectItemCaseSensitive(upu_infoJSON, "provisioningTime"); if (!provisioning_time) { diff --git a/lib/sbi/openapi/model/upu_info_1.c b/lib/sbi/openapi/model/upu_info_1.c index 65d81e3d1..bf7002972 100644 --- a/lib/sbi/openapi/model/upu_info_1.c +++ b/lib/sbi/openapi/model/upu_info_1.c @@ -164,7 +164,7 @@ OpenAPI_upu_info_1_t *OpenAPI_upu_info_1_parseFromJSON(cJSON *upu_info_1JSON) ogs_error("OpenAPI_upu_info_1_parseFromJSON() failed [upu_mac_iausf]"); goto end; } -} + } cJSON *counter_upu = cJSON_GetObjectItemCaseSensitive(upu_info_1JSON, "counterUpu"); @@ -173,7 +173,7 @@ OpenAPI_upu_info_1_t *OpenAPI_upu_info_1_parseFromJSON(cJSON *upu_info_1JSON) ogs_error("OpenAPI_upu_info_1_parseFromJSON() failed [counter_upu]"); goto end; } -} + } cJSON *provisioning_time = cJSON_GetObjectItemCaseSensitive(upu_info_1JSON, "provisioningTime"); if (!provisioning_time) { diff --git a/lib/sbi/openapi/model/usage_mon_data.c b/lib/sbi/openapi/model/usage_mon_data.c index fbcd0f376..a35604abf 100644 --- a/lib/sbi/openapi/model/usage_mon_data.c +++ b/lib/sbi/openapi/model/usage_mon_data.c @@ -169,28 +169,28 @@ OpenAPI_usage_mon_data_t *OpenAPI_usage_mon_data_parseFromJSON(cJSON *usage_mon_ localMapObject->string, OpenAPI_usage_mon_data_scope_parseFromJSON(localMapObject)); OpenAPI_list_add(scopesList , localMapKeyPair); } -} + } cJSON *um_level = cJSON_GetObjectItemCaseSensitive(usage_mon_dataJSON, "umLevel"); OpenAPI_usage_mon_level_t *um_level_local_nonprim = NULL; if (um_level) { um_level_local_nonprim = OpenAPI_usage_mon_level_parseFromJSON(um_level); -} + } cJSON *allowed_usage = cJSON_GetObjectItemCaseSensitive(usage_mon_dataJSON, "allowedUsage"); OpenAPI_usage_threshold_t *allowed_usage_local_nonprim = NULL; if (allowed_usage) { allowed_usage_local_nonprim = OpenAPI_usage_threshold_parseFromJSON(allowed_usage); -} + } cJSON *reset_time = cJSON_GetObjectItemCaseSensitive(usage_mon_dataJSON, "resetTime"); OpenAPI_time_period_t *reset_time_local_nonprim = NULL; if (reset_time) { reset_time_local_nonprim = OpenAPI_time_period_parseFromJSON(reset_time); -} + } cJSON *supp_feat = cJSON_GetObjectItemCaseSensitive(usage_mon_dataJSON, "suppFeat"); @@ -199,7 +199,7 @@ OpenAPI_usage_mon_data_t *OpenAPI_usage_mon_data_parseFromJSON(cJSON *usage_mon_ ogs_error("OpenAPI_usage_mon_data_parseFromJSON() failed [supp_feat]"); goto end; } -} + } usage_mon_data_local_var = OpenAPI_usage_mon_data_create ( ogs_strdup_or_assert(limit_id->valuestring), diff --git a/lib/sbi/openapi/model/usage_mon_data_limit.c b/lib/sbi/openapi/model/usage_mon_data_limit.c index 79aaa663c..41f3276ee 100644 --- a/lib/sbi/openapi/model/usage_mon_data_limit.c +++ b/lib/sbi/openapi/model/usage_mon_data_limit.c @@ -173,14 +173,14 @@ OpenAPI_usage_mon_data_limit_t *OpenAPI_usage_mon_data_limit_parseFromJSON(cJSON localMapObject->string, OpenAPI_usage_mon_data_scope_parseFromJSON(localMapObject)); OpenAPI_list_add(scopesList , localMapKeyPair); } -} + } cJSON *um_level = cJSON_GetObjectItemCaseSensitive(usage_mon_data_limitJSON, "umLevel"); OpenAPI_usage_mon_level_t *um_level_local_nonprim = NULL; if (um_level) { um_level_local_nonprim = OpenAPI_usage_mon_level_parseFromJSON(um_level); -} + } cJSON *start_date = cJSON_GetObjectItemCaseSensitive(usage_mon_data_limitJSON, "startDate"); @@ -189,7 +189,7 @@ OpenAPI_usage_mon_data_limit_t *OpenAPI_usage_mon_data_limit_parseFromJSON(cJSON ogs_error("OpenAPI_usage_mon_data_limit_parseFromJSON() failed [start_date]"); goto end; } -} + } cJSON *end_date = cJSON_GetObjectItemCaseSensitive(usage_mon_data_limitJSON, "endDate"); @@ -198,14 +198,14 @@ OpenAPI_usage_mon_data_limit_t *OpenAPI_usage_mon_data_limit_parseFromJSON(cJSON ogs_error("OpenAPI_usage_mon_data_limit_parseFromJSON() failed [end_date]"); goto end; } -} + } cJSON *usage_limit = cJSON_GetObjectItemCaseSensitive(usage_mon_data_limitJSON, "usageLimit"); OpenAPI_usage_threshold_t *usage_limit_local_nonprim = NULL; if (usage_limit) { usage_limit_local_nonprim = OpenAPI_usage_threshold_parseFromJSON(usage_limit); -} + } cJSON *reset_period = cJSON_GetObjectItemCaseSensitive(usage_mon_data_limitJSON, "resetPeriod"); @@ -214,7 +214,7 @@ OpenAPI_usage_mon_data_limit_t *OpenAPI_usage_mon_data_limit_parseFromJSON(cJSON ogs_error("OpenAPI_usage_mon_data_limit_parseFromJSON() failed [reset_period]"); goto end; } -} + } usage_mon_data_limit_local_var = OpenAPI_usage_mon_data_limit_create ( ogs_strdup_or_assert(limit_id->valuestring), diff --git a/lib/sbi/openapi/model/usage_mon_data_scope.c b/lib/sbi/openapi/model/usage_mon_data_scope.c index a404afd7c..7d8d5afc2 100644 --- a/lib/sbi/openapi/model/usage_mon_data_scope.c +++ b/lib/sbi/openapi/model/usage_mon_data_scope.c @@ -105,7 +105,7 @@ OpenAPI_usage_mon_data_scope_t *OpenAPI_usage_mon_data_scope_parseFromJSON(cJSON } OpenAPI_list_add(dnnList , ogs_strdup_or_assert(dnn_local->valuestring)); } -} + } usage_mon_data_scope_local_var = OpenAPI_usage_mon_data_scope_create ( snssai_local_nonprim, diff --git a/lib/sbi/openapi/model/usage_monitoring_data.c b/lib/sbi/openapi/model/usage_monitoring_data.c index e21a412b8..0e049efcf 100644 --- a/lib/sbi/openapi/model/usage_monitoring_data.c +++ b/lib/sbi/openapi/model/usage_monitoring_data.c @@ -181,7 +181,7 @@ OpenAPI_usage_monitoring_data_t *OpenAPI_usage_monitoring_data_parseFromJSON(cJS ogs_error("OpenAPI_usage_monitoring_data_parseFromJSON() failed [volume_threshold]"); goto end; } -} + } cJSON *volume_threshold_uplink = cJSON_GetObjectItemCaseSensitive(usage_monitoring_dataJSON, "volumeThresholdUplink"); @@ -190,7 +190,7 @@ OpenAPI_usage_monitoring_data_t *OpenAPI_usage_monitoring_data_parseFromJSON(cJS ogs_error("OpenAPI_usage_monitoring_data_parseFromJSON() failed [volume_threshold_uplink]"); goto end; } -} + } cJSON *volume_threshold_downlink = cJSON_GetObjectItemCaseSensitive(usage_monitoring_dataJSON, "volumeThresholdDownlink"); @@ -199,7 +199,7 @@ OpenAPI_usage_monitoring_data_t *OpenAPI_usage_monitoring_data_parseFromJSON(cJS ogs_error("OpenAPI_usage_monitoring_data_parseFromJSON() failed [volume_threshold_downlink]"); goto end; } -} + } cJSON *time_threshold = cJSON_GetObjectItemCaseSensitive(usage_monitoring_dataJSON, "timeThreshold"); @@ -208,7 +208,7 @@ OpenAPI_usage_monitoring_data_t *OpenAPI_usage_monitoring_data_parseFromJSON(cJS ogs_error("OpenAPI_usage_monitoring_data_parseFromJSON() failed [time_threshold]"); goto end; } -} + } cJSON *monitoring_time = cJSON_GetObjectItemCaseSensitive(usage_monitoring_dataJSON, "monitoringTime"); @@ -217,7 +217,7 @@ OpenAPI_usage_monitoring_data_t *OpenAPI_usage_monitoring_data_parseFromJSON(cJS ogs_error("OpenAPI_usage_monitoring_data_parseFromJSON() failed [monitoring_time]"); goto end; } -} + } cJSON *next_vol_threshold = cJSON_GetObjectItemCaseSensitive(usage_monitoring_dataJSON, "nextVolThreshold"); @@ -226,7 +226,7 @@ OpenAPI_usage_monitoring_data_t *OpenAPI_usage_monitoring_data_parseFromJSON(cJS ogs_error("OpenAPI_usage_monitoring_data_parseFromJSON() failed [next_vol_threshold]"); goto end; } -} + } cJSON *next_vol_threshold_uplink = cJSON_GetObjectItemCaseSensitive(usage_monitoring_dataJSON, "nextVolThresholdUplink"); @@ -235,7 +235,7 @@ OpenAPI_usage_monitoring_data_t *OpenAPI_usage_monitoring_data_parseFromJSON(cJS ogs_error("OpenAPI_usage_monitoring_data_parseFromJSON() failed [next_vol_threshold_uplink]"); goto end; } -} + } cJSON *next_vol_threshold_downlink = cJSON_GetObjectItemCaseSensitive(usage_monitoring_dataJSON, "nextVolThresholdDownlink"); @@ -244,7 +244,7 @@ OpenAPI_usage_monitoring_data_t *OpenAPI_usage_monitoring_data_parseFromJSON(cJS ogs_error("OpenAPI_usage_monitoring_data_parseFromJSON() failed [next_vol_threshold_downlink]"); goto end; } -} + } cJSON *next_time_threshold = cJSON_GetObjectItemCaseSensitive(usage_monitoring_dataJSON, "nextTimeThreshold"); @@ -253,7 +253,7 @@ OpenAPI_usage_monitoring_data_t *OpenAPI_usage_monitoring_data_parseFromJSON(cJS ogs_error("OpenAPI_usage_monitoring_data_parseFromJSON() failed [next_time_threshold]"); goto end; } -} + } cJSON *inactivity_time = cJSON_GetObjectItemCaseSensitive(usage_monitoring_dataJSON, "inactivityTime"); @@ -262,7 +262,7 @@ OpenAPI_usage_monitoring_data_t *OpenAPI_usage_monitoring_data_parseFromJSON(cJS ogs_error("OpenAPI_usage_monitoring_data_parseFromJSON() failed [inactivity_time]"); goto end; } -} + } cJSON *ex_usage_pcc_rule_ids = cJSON_GetObjectItemCaseSensitive(usage_monitoring_dataJSON, "exUsagePccRuleIds"); @@ -282,7 +282,7 @@ OpenAPI_usage_monitoring_data_t *OpenAPI_usage_monitoring_data_parseFromJSON(cJS } OpenAPI_list_add(ex_usage_pcc_rule_idsList , ogs_strdup_or_assert(ex_usage_pcc_rule_ids_local->valuestring)); } -} + } usage_monitoring_data_local_var = OpenAPI_usage_monitoring_data_create ( ogs_strdup_or_assert(um_id->valuestring), diff --git a/lib/sbi/openapi/model/usage_threshold.c b/lib/sbi/openapi/model/usage_threshold.c index f89909220..3280bd744 100644 --- a/lib/sbi/openapi/model/usage_threshold.c +++ b/lib/sbi/openapi/model/usage_threshold.c @@ -84,7 +84,7 @@ OpenAPI_usage_threshold_t *OpenAPI_usage_threshold_parseFromJSON(cJSON *usage_th ogs_error("OpenAPI_usage_threshold_parseFromJSON() failed [duration]"); goto end; } -} + } cJSON *total_volume = cJSON_GetObjectItemCaseSensitive(usage_thresholdJSON, "totalVolume"); @@ -93,7 +93,7 @@ OpenAPI_usage_threshold_t *OpenAPI_usage_threshold_parseFromJSON(cJSON *usage_th ogs_error("OpenAPI_usage_threshold_parseFromJSON() failed [total_volume]"); goto end; } -} + } cJSON *downlink_volume = cJSON_GetObjectItemCaseSensitive(usage_thresholdJSON, "downlinkVolume"); @@ -102,7 +102,7 @@ OpenAPI_usage_threshold_t *OpenAPI_usage_threshold_parseFromJSON(cJSON *usage_th ogs_error("OpenAPI_usage_threshold_parseFromJSON() failed [downlink_volume]"); goto end; } -} + } cJSON *uplink_volume = cJSON_GetObjectItemCaseSensitive(usage_thresholdJSON, "uplinkVolume"); @@ -111,7 +111,7 @@ OpenAPI_usage_threshold_t *OpenAPI_usage_threshold_parseFromJSON(cJSON *usage_th ogs_error("OpenAPI_usage_threshold_parseFromJSON() failed [uplink_volume]"); goto end; } -} + } usage_threshold_local_var = OpenAPI_usage_threshold_create ( duration ? duration->valuedouble : 0, diff --git a/lib/sbi/openapi/model/usage_threshold_rm.c b/lib/sbi/openapi/model/usage_threshold_rm.c index 4c89f8f6e..83f284bca 100644 --- a/lib/sbi/openapi/model/usage_threshold_rm.c +++ b/lib/sbi/openapi/model/usage_threshold_rm.c @@ -84,7 +84,7 @@ OpenAPI_usage_threshold_rm_t *OpenAPI_usage_threshold_rm_parseFromJSON(cJSON *us ogs_error("OpenAPI_usage_threshold_rm_parseFromJSON() failed [duration]"); goto end; } -} + } cJSON *total_volume = cJSON_GetObjectItemCaseSensitive(usage_threshold_rmJSON, "totalVolume"); @@ -93,7 +93,7 @@ OpenAPI_usage_threshold_rm_t *OpenAPI_usage_threshold_rm_parseFromJSON(cJSON *us ogs_error("OpenAPI_usage_threshold_rm_parseFromJSON() failed [total_volume]"); goto end; } -} + } cJSON *downlink_volume = cJSON_GetObjectItemCaseSensitive(usage_threshold_rmJSON, "downlinkVolume"); @@ -102,7 +102,7 @@ OpenAPI_usage_threshold_rm_t *OpenAPI_usage_threshold_rm_parseFromJSON(cJSON *us ogs_error("OpenAPI_usage_threshold_rm_parseFromJSON() failed [downlink_volume]"); goto end; } -} + } cJSON *uplink_volume = cJSON_GetObjectItemCaseSensitive(usage_threshold_rmJSON, "uplinkVolume"); @@ -111,7 +111,7 @@ OpenAPI_usage_threshold_rm_t *OpenAPI_usage_threshold_rm_parseFromJSON(cJSON *us ogs_error("OpenAPI_usage_threshold_rm_parseFromJSON() failed [uplink_volume]"); goto end; } -} + } usage_threshold_rm_local_var = OpenAPI_usage_threshold_rm_create ( duration ? duration->valuedouble : 0, diff --git a/lib/sbi/openapi/model/user_identifier.c b/lib/sbi/openapi/model/user_identifier.c index c813ab89e..2670ce6d4 100644 --- a/lib/sbi/openapi/model/user_identifier.c +++ b/lib/sbi/openapi/model/user_identifier.c @@ -88,7 +88,7 @@ OpenAPI_user_identifier_t *OpenAPI_user_identifier_parseFromJSON(cJSON *user_ide ogs_error("OpenAPI_user_identifier_parseFromJSON() failed [gpsi]"); goto end; } -} + } cJSON *validity_time = cJSON_GetObjectItemCaseSensitive(user_identifierJSON, "validityTime"); @@ -97,7 +97,7 @@ OpenAPI_user_identifier_t *OpenAPI_user_identifier_parseFromJSON(cJSON *user_ide ogs_error("OpenAPI_user_identifier_parseFromJSON() failed [validity_time]"); goto end; } -} + } user_identifier_local_var = OpenAPI_user_identifier_create ( ogs_strdup_or_assert(supi->valuestring), diff --git a/lib/sbi/openapi/model/user_location.c b/lib/sbi/openapi/model/user_location.c index 64435356d..2cc5ac6c7 100644 --- a/lib/sbi/openapi/model/user_location.c +++ b/lib/sbi/openapi/model/user_location.c @@ -94,21 +94,21 @@ OpenAPI_user_location_t *OpenAPI_user_location_parseFromJSON(cJSON *user_locatio OpenAPI_eutra_location_t *eutra_location_local_nonprim = NULL; if (eutra_location) { eutra_location_local_nonprim = OpenAPI_eutra_location_parseFromJSON(eutra_location); -} + } cJSON *nr_location = cJSON_GetObjectItemCaseSensitive(user_locationJSON, "nrLocation"); OpenAPI_nr_location_t *nr_location_local_nonprim = NULL; if (nr_location) { nr_location_local_nonprim = OpenAPI_nr_location_parseFromJSON(nr_location); -} + } cJSON *n3ga_location = cJSON_GetObjectItemCaseSensitive(user_locationJSON, "n3gaLocation"); OpenAPI_n3ga_location_t *n3ga_location_local_nonprim = NULL; if (n3ga_location) { n3ga_location_local_nonprim = OpenAPI_n3ga_location_parseFromJSON(n3ga_location); -} + } user_location_local_var = OpenAPI_user_location_create ( eutra_location ? eutra_location_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/v2x_context.c b/lib/sbi/openapi/model/v2x_context.c index 02171819c..3ae35a41c 100644 --- a/lib/sbi/openapi/model/v2x_context.c +++ b/lib/sbi/openapi/model/v2x_context.c @@ -114,14 +114,14 @@ OpenAPI_v2x_context_t *OpenAPI_v2x_context_parseFromJSON(cJSON *v2x_contextJSON) OpenAPI_nr_v2x_auth_t *nr_v2x_services_auth_local_nonprim = NULL; if (nr_v2x_services_auth) { nr_v2x_services_auth_local_nonprim = OpenAPI_nr_v2x_auth_parseFromJSON(nr_v2x_services_auth); -} + } cJSON *lte_v2x_services_auth = cJSON_GetObjectItemCaseSensitive(v2x_contextJSON, "lteV2xServicesAuth"); OpenAPI_lte_v2x_auth_t *lte_v2x_services_auth_local_nonprim = NULL; if (lte_v2x_services_auth) { lte_v2x_services_auth_local_nonprim = OpenAPI_lte_v2x_auth_parseFromJSON(lte_v2x_services_auth); -} + } cJSON *nr_ue_sidelink_ambr = cJSON_GetObjectItemCaseSensitive(v2x_contextJSON, "nrUeSidelinkAmbr"); @@ -130,7 +130,7 @@ OpenAPI_v2x_context_t *OpenAPI_v2x_context_parseFromJSON(cJSON *v2x_contextJSON) ogs_error("OpenAPI_v2x_context_parseFromJSON() failed [nr_ue_sidelink_ambr]"); goto end; } -} + } cJSON *lte_ue_sidelink_ambr = cJSON_GetObjectItemCaseSensitive(v2x_contextJSON, "lteUeSidelinkAmbr"); @@ -139,14 +139,14 @@ OpenAPI_v2x_context_t *OpenAPI_v2x_context_parseFromJSON(cJSON *v2x_contextJSON) ogs_error("OpenAPI_v2x_context_parseFromJSON() failed [lte_ue_sidelink_ambr]"); goto end; } -} + } cJSON *pc5_qo_s_para = cJSON_GetObjectItemCaseSensitive(v2x_contextJSON, "Pc5QoSPara"); OpenAPI_pc5_qo_s_para_t *pc5_qo_s_para_local_nonprim = NULL; if (pc5_qo_s_para) { pc5_qo_s_para_local_nonprim = OpenAPI_pc5_qo_s_para_parseFromJSON(pc5_qo_s_para); -} + } v2x_context_local_var = OpenAPI_v2x_context_create ( nr_v2x_services_auth ? nr_v2x_services_auth_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/v2x_information.c b/lib/sbi/openapi/model/v2x_information.c index 07141e04d..06ab0b5fe 100644 --- a/lib/sbi/openapi/model/v2x_information.c +++ b/lib/sbi/openapi/model/v2x_information.c @@ -62,7 +62,7 @@ OpenAPI_v2x_information_t *OpenAPI_v2x_information_parseFromJSON(cJSON *v2x_info OpenAPI_n2_info_content_t *n2_pc5_pol_local_nonprim = NULL; if (n2_pc5_pol) { n2_pc5_pol_local_nonprim = OpenAPI_n2_info_content_parseFromJSON(n2_pc5_pol); -} + } v2x_information_local_var = OpenAPI_v2x_information_create ( n2_pc5_pol ? n2_pc5_pol_local_nonprim : NULL diff --git a/lib/sbi/openapi/model/v2x_subscription_data.c b/lib/sbi/openapi/model/v2x_subscription_data.c index f7fd94d48..498114f07 100644 --- a/lib/sbi/openapi/model/v2x_subscription_data.c +++ b/lib/sbi/openapi/model/v2x_subscription_data.c @@ -98,14 +98,14 @@ OpenAPI_v2x_subscription_data_t *OpenAPI_v2x_subscription_data_parseFromJSON(cJS OpenAPI_nr_v2x_auth_t *nr_v2x_services_auth_local_nonprim = NULL; if (nr_v2x_services_auth) { nr_v2x_services_auth_local_nonprim = OpenAPI_nr_v2x_auth_parseFromJSON(nr_v2x_services_auth); -} + } cJSON *lte_v2x_services_auth = cJSON_GetObjectItemCaseSensitive(v2x_subscription_dataJSON, "lteV2xServicesAuth"); OpenAPI_lte_v2x_auth_t *lte_v2x_services_auth_local_nonprim = NULL; if (lte_v2x_services_auth) { lte_v2x_services_auth_local_nonprim = OpenAPI_lte_v2x_auth_parseFromJSON(lte_v2x_services_auth); -} + } cJSON *nr_ue_pc5_ambr = cJSON_GetObjectItemCaseSensitive(v2x_subscription_dataJSON, "nrUePc5Ambr"); @@ -114,7 +114,7 @@ OpenAPI_v2x_subscription_data_t *OpenAPI_v2x_subscription_data_parseFromJSON(cJS ogs_error("OpenAPI_v2x_subscription_data_parseFromJSON() failed [nr_ue_pc5_ambr]"); goto end; } -} + } cJSON *lte_pc5_ambr = cJSON_GetObjectItemCaseSensitive(v2x_subscription_dataJSON, "ltePc5Ambr"); @@ -123,7 +123,7 @@ OpenAPI_v2x_subscription_data_t *OpenAPI_v2x_subscription_data_parseFromJSON(cJS ogs_error("OpenAPI_v2x_subscription_data_parseFromJSON() failed [lte_pc5_ambr]"); goto end; } -} + } v2x_subscription_data_local_var = OpenAPI_v2x_subscription_data_create ( nr_v2x_services_auth ? nr_v2x_services_auth_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/v2x_subscription_data_1.c b/lib/sbi/openapi/model/v2x_subscription_data_1.c index 71cdc52ad..3c82c52cb 100644 --- a/lib/sbi/openapi/model/v2x_subscription_data_1.c +++ b/lib/sbi/openapi/model/v2x_subscription_data_1.c @@ -98,14 +98,14 @@ OpenAPI_v2x_subscription_data_1_t *OpenAPI_v2x_subscription_data_1_parseFromJSON OpenAPI_nr_v2x_auth_1_t *nr_v2x_services_auth_local_nonprim = NULL; if (nr_v2x_services_auth) { nr_v2x_services_auth_local_nonprim = OpenAPI_nr_v2x_auth_1_parseFromJSON(nr_v2x_services_auth); -} + } cJSON *lte_v2x_services_auth = cJSON_GetObjectItemCaseSensitive(v2x_subscription_data_1JSON, "lteV2xServicesAuth"); OpenAPI_lte_v2x_auth_1_t *lte_v2x_services_auth_local_nonprim = NULL; if (lte_v2x_services_auth) { lte_v2x_services_auth_local_nonprim = OpenAPI_lte_v2x_auth_1_parseFromJSON(lte_v2x_services_auth); -} + } cJSON *nr_ue_pc5_ambr = cJSON_GetObjectItemCaseSensitive(v2x_subscription_data_1JSON, "nrUePc5Ambr"); @@ -114,7 +114,7 @@ OpenAPI_v2x_subscription_data_1_t *OpenAPI_v2x_subscription_data_1_parseFromJSON ogs_error("OpenAPI_v2x_subscription_data_1_parseFromJSON() failed [nr_ue_pc5_ambr]"); goto end; } -} + } cJSON *lte_pc5_ambr = cJSON_GetObjectItemCaseSensitive(v2x_subscription_data_1JSON, "ltePc5Ambr"); @@ -123,7 +123,7 @@ OpenAPI_v2x_subscription_data_1_t *OpenAPI_v2x_subscription_data_1_parseFromJSON ogs_error("OpenAPI_v2x_subscription_data_1_parseFromJSON() failed [lte_pc5_ambr]"); goto end; } -} + } v2x_subscription_data_1_local_var = OpenAPI_v2x_subscription_data_1_create ( nr_v2x_services_auth ? nr_v2x_services_auth_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/valid_time_period.c b/lib/sbi/openapi/model/valid_time_period.c index c4c0e0872..25a7f513f 100644 --- a/lib/sbi/openapi/model/valid_time_period.c +++ b/lib/sbi/openapi/model/valid_time_period.c @@ -68,7 +68,7 @@ OpenAPI_valid_time_period_t *OpenAPI_valid_time_period_parseFromJSON(cJSON *vali ogs_error("OpenAPI_valid_time_period_parseFromJSON() failed [start_time]"); goto end; } -} + } cJSON *end_time = cJSON_GetObjectItemCaseSensitive(valid_time_periodJSON, "endTime"); @@ -77,7 +77,7 @@ OpenAPI_valid_time_period_t *OpenAPI_valid_time_period_parseFromJSON(cJSON *vali ogs_error("OpenAPI_valid_time_period_parseFromJSON() failed [end_time]"); goto end; } -} + } valid_time_period_local_var = OpenAPI_valid_time_period_create ( start_time ? ogs_strdup_or_assert(start_time->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/valid_time_period_1.c b/lib/sbi/openapi/model/valid_time_period_1.c index 4afce9df0..4e352c412 100644 --- a/lib/sbi/openapi/model/valid_time_period_1.c +++ b/lib/sbi/openapi/model/valid_time_period_1.c @@ -68,7 +68,7 @@ OpenAPI_valid_time_period_1_t *OpenAPI_valid_time_period_1_parseFromJSON(cJSON * ogs_error("OpenAPI_valid_time_period_1_parseFromJSON() failed [start_time]"); goto end; } -} + } cJSON *end_time = cJSON_GetObjectItemCaseSensitive(valid_time_period_1JSON, "endTime"); @@ -77,7 +77,7 @@ OpenAPI_valid_time_period_1_t *OpenAPI_valid_time_period_1_parseFromJSON(cJSON * ogs_error("OpenAPI_valid_time_period_1_parseFromJSON() failed [end_time]"); goto end; } -} + } valid_time_period_1_local_var = OpenAPI_valid_time_period_1_create ( start_time ? ogs_strdup_or_assert(start_time->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/vgmlc_address.c b/lib/sbi/openapi/model/vgmlc_address.c index e3feab0c7..7a30dcb5b 100644 --- a/lib/sbi/openapi/model/vgmlc_address.c +++ b/lib/sbi/openapi/model/vgmlc_address.c @@ -78,7 +78,7 @@ OpenAPI_vgmlc_address_t *OpenAPI_vgmlc_address_parseFromJSON(cJSON *vgmlc_addres ogs_error("OpenAPI_vgmlc_address_parseFromJSON() failed [vgmlc_address_ipv4]"); goto end; } -} + } cJSON *vgmlc_address_ipv6 = cJSON_GetObjectItemCaseSensitive(vgmlc_addressJSON, "vgmlcAddressIpv6"); @@ -87,7 +87,7 @@ OpenAPI_vgmlc_address_t *OpenAPI_vgmlc_address_parseFromJSON(cJSON *vgmlc_addres ogs_error("OpenAPI_vgmlc_address_parseFromJSON() failed [vgmlc_address_ipv6]"); goto end; } -} + } cJSON *vgmlc_fqdn = cJSON_GetObjectItemCaseSensitive(vgmlc_addressJSON, "vgmlcFqdn"); @@ -96,7 +96,7 @@ OpenAPI_vgmlc_address_t *OpenAPI_vgmlc_address_parseFromJSON(cJSON *vgmlc_addres ogs_error("OpenAPI_vgmlc_address_parseFromJSON() failed [vgmlc_fqdn]"); goto end; } -} + } vgmlc_address_local_var = OpenAPI_vgmlc_address_create ( vgmlc_address_ipv4 ? ogs_strdup_or_assert(vgmlc_address_ipv4->valuestring) : NULL, diff --git a/lib/sbi/openapi/model/vn_group_data.c b/lib/sbi/openapi/model/vn_group_data.c index be00d7054..99e289779 100644 --- a/lib/sbi/openapi/model/vn_group_data.c +++ b/lib/sbi/openapi/model/vn_group_data.c @@ -114,7 +114,7 @@ OpenAPI_vn_group_data_t *OpenAPI_vn_group_data_parseFromJSON(cJSON *vn_group_dat OpenAPI_pdu_session_types_1_t *pdu_session_types_local_nonprim = NULL; if (pdu_session_types) { pdu_session_types_local_nonprim = OpenAPI_pdu_session_types_1_parseFromJSON(pdu_session_types); -} + } cJSON *dnn = cJSON_GetObjectItemCaseSensitive(vn_group_dataJSON, "dnn"); @@ -123,14 +123,14 @@ OpenAPI_vn_group_data_t *OpenAPI_vn_group_data_parseFromJSON(cJSON *vn_group_dat ogs_error("OpenAPI_vn_group_data_parseFromJSON() failed [dnn]"); goto end; } -} + } cJSON *single_nssai = cJSON_GetObjectItemCaseSensitive(vn_group_dataJSON, "singleNssai"); OpenAPI_snssai_t *single_nssai_local_nonprim = NULL; if (single_nssai) { single_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(single_nssai); -} + } cJSON *app_descriptors = cJSON_GetObjectItemCaseSensitive(vn_group_dataJSON, "appDescriptors"); @@ -153,7 +153,7 @@ OpenAPI_vn_group_data_t *OpenAPI_vn_group_data_parseFromJSON(cJSON *vn_group_dat OpenAPI_list_add(app_descriptorsList, app_descriptorsItem); } -} + } vn_group_data_local_var = OpenAPI_vn_group_data_create ( pdu_session_types ? pdu_session_types_local_nonprim : NULL, diff --git a/lib/sbi/openapi/model/vplmn_qos.c b/lib/sbi/openapi/model/vplmn_qos.c index 72d4320b6..5e76bc157 100644 --- a/lib/sbi/openapi/model/vplmn_qos.c +++ b/lib/sbi/openapi/model/vplmn_qos.c @@ -129,21 +129,21 @@ OpenAPI_vplmn_qos_t *OpenAPI_vplmn_qos_parseFromJSON(cJSON *vplmn_qosJSON) ogs_error("OpenAPI_vplmn_qos_parseFromJSON() failed [_5qi]"); goto end; } -} + } cJSON *arp = cJSON_GetObjectItemCaseSensitive(vplmn_qosJSON, "arp"); OpenAPI_arp_t *arp_local_nonprim = NULL; if (arp) { arp_local_nonprim = OpenAPI_arp_parseFromJSON(arp); -} + } cJSON *session_ambr = cJSON_GetObjectItemCaseSensitive(vplmn_qosJSON, "sessionAmbr"); OpenAPI_ambr_t *session_ambr_local_nonprim = NULL; if (session_ambr) { session_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(session_ambr); -} + } cJSON *max_fbr_dl = cJSON_GetObjectItemCaseSensitive(vplmn_qosJSON, "maxFbrDl"); @@ -152,7 +152,7 @@ OpenAPI_vplmn_qos_t *OpenAPI_vplmn_qos_parseFromJSON(cJSON *vplmn_qosJSON) ogs_error("OpenAPI_vplmn_qos_parseFromJSON() failed [max_fbr_dl]"); goto end; } -} + } cJSON *max_fbr_ul = cJSON_GetObjectItemCaseSensitive(vplmn_qosJSON, "maxFbrUl"); @@ -161,7 +161,7 @@ OpenAPI_vplmn_qos_t *OpenAPI_vplmn_qos_parseFromJSON(cJSON *vplmn_qosJSON) ogs_error("OpenAPI_vplmn_qos_parseFromJSON() failed [max_fbr_ul]"); goto end; } -} + } cJSON *gua_fbr_dl = cJSON_GetObjectItemCaseSensitive(vplmn_qosJSON, "guaFbrDl"); @@ -170,7 +170,7 @@ OpenAPI_vplmn_qos_t *OpenAPI_vplmn_qos_parseFromJSON(cJSON *vplmn_qosJSON) ogs_error("OpenAPI_vplmn_qos_parseFromJSON() failed [gua_fbr_dl]"); goto end; } -} + } cJSON *gua_fbr_ul = cJSON_GetObjectItemCaseSensitive(vplmn_qosJSON, "guaFbrUl"); @@ -179,7 +179,7 @@ OpenAPI_vplmn_qos_t *OpenAPI_vplmn_qos_parseFromJSON(cJSON *vplmn_qosJSON) ogs_error("OpenAPI_vplmn_qos_parseFromJSON() failed [gua_fbr_ul]"); goto end; } -} + } vplmn_qos_local_var = OpenAPI_vplmn_qos_create ( _5qi ? _5qi->valuedouble : 0, diff --git a/lib/sbi/openapi/model/vsmf_update_data.c b/lib/sbi/openapi/model/vsmf_update_data.c index 6bd25b6a7..8e7bc96ca 100644 --- a/lib/sbi/openapi/model/vsmf_update_data.c +++ b/lib/sbi/openapi/model/vsmf_update_data.c @@ -446,7 +446,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u OpenAPI_ambr_t *session_ambr_local_nonprim = NULL; if (session_ambr) { session_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(session_ambr); -} + } cJSON *qos_flows_add_mod_request_list = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "qosFlowsAddModRequestList"); @@ -469,7 +469,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u OpenAPI_list_add(qos_flows_add_mod_request_listList, qos_flows_add_mod_request_listItem); } -} + } cJSON *qos_flows_rel_request_list = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "qosFlowsRelRequestList"); @@ -492,7 +492,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u OpenAPI_list_add(qos_flows_rel_request_listList, qos_flows_rel_request_listItem); } -} + } cJSON *eps_bearer_info = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "epsBearerInfo"); @@ -515,7 +515,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u OpenAPI_list_add(eps_bearer_infoList, eps_bearer_infoItem); } -} + } cJSON *assign_ebi_list = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "assignEbiList"); @@ -538,7 +538,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u OpenAPI_list_add(assign_ebi_listList, assign_ebi_listItem); } -} + } cJSON *revoke_ebi_list = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "revokeEbiList"); @@ -558,7 +558,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u } OpenAPI_list_add(revoke_ebi_listList , &revoke_ebi_list_local->valuedouble); } -} + } cJSON *modified_ebi_list = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "modifiedEbiList"); @@ -581,7 +581,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u OpenAPI_list_add(modified_ebi_listList, modified_ebi_listItem); } -} + } cJSON *pti = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "pti"); @@ -590,14 +590,14 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u ogs_error("OpenAPI_vsmf_update_data_parseFromJSON() failed [pti]"); goto end; } -} + } cJSON *n1_sm_info_to_ue = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "n1SmInfoToUe"); OpenAPI_ref_to_binary_data_t *n1_sm_info_to_ue_local_nonprim = NULL; if (n1_sm_info_to_ue) { n1_sm_info_to_ue_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_info_to_ue); -} + } cJSON *always_on_granted = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "alwaysOnGranted"); @@ -606,7 +606,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u ogs_error("OpenAPI_vsmf_update_data_parseFromJSON() failed [always_on_granted]"); goto end; } -} + } cJSON *hsmf_pdu_session_uri = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "hsmfPduSessionUri"); @@ -615,7 +615,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u ogs_error("OpenAPI_vsmf_update_data_parseFromJSON() failed [hsmf_pdu_session_uri]"); goto end; } -} + } cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "supportedFeatures"); @@ -624,7 +624,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u ogs_error("OpenAPI_vsmf_update_data_parseFromJSON() failed [supported_features]"); goto end; } -} + } cJSON *cause = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "cause"); @@ -635,7 +635,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u goto end; } causeVariable = OpenAPI_cause_FromString(cause->valuestring); -} + } cJSON *n1sm_cause = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "n1smCause"); @@ -644,7 +644,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u ogs_error("OpenAPI_vsmf_update_data_parseFromJSON() failed [n1sm_cause]"); goto end; } -} + } cJSON *back_off_timer = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "backOffTimer"); @@ -653,7 +653,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u ogs_error("OpenAPI_vsmf_update_data_parseFromJSON() failed [back_off_timer]"); goto end; } -} + } cJSON *ma_release_ind = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "maReleaseInd"); @@ -664,7 +664,7 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u goto end; } ma_release_indVariable = OpenAPI_ma_release_indication_FromString(ma_release_ind->valuestring); -} + } cJSON *ma_accepted_ind = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "maAcceptedInd"); @@ -673,14 +673,14 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u ogs_error("OpenAPI_vsmf_update_data_parseFromJSON() failed [ma_accepted_ind]"); goto end; } -} + } cJSON *additional_cn_tunnel_info = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "additionalCnTunnelInfo"); OpenAPI_tunnel_info_t *additional_cn_tunnel_info_local_nonprim = NULL; if (additional_cn_tunnel_info) { additional_cn_tunnel_info_local_nonprim = OpenAPI_tunnel_info_parseFromJSON(additional_cn_tunnel_info); -} + } cJSON *dnai_list = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "dnaiList"); @@ -700,28 +700,28 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u } OpenAPI_list_add(dnai_listList , ogs_strdup_or_assert(dnai_list_local->valuestring)); } -} + } cJSON *n4_info = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "n4Info"); OpenAPI_n4_information_t *n4_info_local_nonprim = NULL; if (n4_info) { n4_info_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info); -} + } cJSON *n4_info_ext1 = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "n4InfoExt1"); OpenAPI_n4_information_t *n4_info_ext1_local_nonprim = NULL; if (n4_info_ext1) { n4_info_ext1_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext1); -} + } cJSON *n4_info_ext2 = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "n4InfoExt2"); OpenAPI_n4_information_t *n4_info_ext2_local_nonprim = NULL; if (n4_info_ext2) { n4_info_ext2_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext2); -} + } cJSON *small_data_rate_control_enabled = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "smallDataRateControlEnabled"); @@ -730,14 +730,14 @@ OpenAPI_vsmf_update_data_t *OpenAPI_vsmf_update_data_parseFromJSON(cJSON *vsmf_u ogs_error("OpenAPI_vsmf_update_data_parseFromJSON() failed [small_data_rate_control_enabled]"); goto end; } -} + } cJSON *qos_monitoring_info = cJSON_GetObjectItemCaseSensitive(vsmf_update_dataJSON, "qosMonitoringInfo"); OpenAPI_qos_monitoring_info_t *qos_monitoring_info_local_nonprim = NULL; if (qos_monitoring_info) { qos_monitoring_info_local_nonprim = OpenAPI_qos_monitoring_info_parseFromJSON(qos_monitoring_info); -} + } vsmf_update_data_local_var = OpenAPI_vsmf_update_data_create ( request_indicationVariable, diff --git a/lib/sbi/openapi/model/vsmf_update_error.c b/lib/sbi/openapi/model/vsmf_update_error.c index 504937450..bd2b8fb95 100644 --- a/lib/sbi/openapi/model/vsmf_update_error.c +++ b/lib/sbi/openapi/model/vsmf_update_error.c @@ -232,7 +232,7 @@ OpenAPI_vsmf_update_error_t *OpenAPI_vsmf_update_error_parseFromJSON(cJSON *vsmf ogs_error("OpenAPI_vsmf_update_error_parseFromJSON() failed [pti]"); goto end; } -} + } cJSON *n1sm_cause = cJSON_GetObjectItemCaseSensitive(vsmf_update_errorJSON, "n1smCause"); @@ -241,21 +241,21 @@ OpenAPI_vsmf_update_error_t *OpenAPI_vsmf_update_error_parseFromJSON(cJSON *vsmf ogs_error("OpenAPI_vsmf_update_error_parseFromJSON() failed [n1sm_cause]"); goto end; } -} + } cJSON *n1_sm_info_from_ue = cJSON_GetObjectItemCaseSensitive(vsmf_update_errorJSON, "n1SmInfoFromUe"); OpenAPI_ref_to_binary_data_t *n1_sm_info_from_ue_local_nonprim = NULL; if (n1_sm_info_from_ue) { n1_sm_info_from_ue_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_info_from_ue); -} + } cJSON *unknown_n1_sm_info = cJSON_GetObjectItemCaseSensitive(vsmf_update_errorJSON, "unknownN1SmInfo"); OpenAPI_ref_to_binary_data_t *unknown_n1_sm_info_local_nonprim = NULL; if (unknown_n1_sm_info) { unknown_n1_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(unknown_n1_sm_info); -} + } cJSON *failed_to_assign_ebi_list = cJSON_GetObjectItemCaseSensitive(vsmf_update_errorJSON, "failedToAssignEbiList"); @@ -278,14 +278,14 @@ OpenAPI_vsmf_update_error_t *OpenAPI_vsmf_update_error_parseFromJSON(cJSON *vsmf OpenAPI_list_add(failed_to_assign_ebi_listList, failed_to_assign_ebi_listItem); } -} + } cJSON *ng_ap_cause = cJSON_GetObjectItemCaseSensitive(vsmf_update_errorJSON, "ngApCause"); OpenAPI_ng_ap_cause_t *ng_ap_cause_local_nonprim = NULL; if (ng_ap_cause) { ng_ap_cause_local_nonprim = OpenAPI_ng_ap_cause_parseFromJSON(ng_ap_cause); -} + } cJSON *_5g_mm_cause_value = cJSON_GetObjectItemCaseSensitive(vsmf_update_errorJSON, "5gMmCauseValue"); @@ -294,7 +294,7 @@ OpenAPI_vsmf_update_error_t *OpenAPI_vsmf_update_error_parseFromJSON(cJSON *vsmf ogs_error("OpenAPI_vsmf_update_error_parseFromJSON() failed [_5g_mm_cause_value]"); goto end; } -} + } cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(vsmf_update_errorJSON, "recoveryTime"); @@ -303,28 +303,28 @@ OpenAPI_vsmf_update_error_t *OpenAPI_vsmf_update_error_parseFromJSON(cJSON *vsmf ogs_error("OpenAPI_vsmf_update_error_parseFromJSON() failed [recovery_time]"); goto end; } -} + } cJSON *n4_info = cJSON_GetObjectItemCaseSensitive(vsmf_update_errorJSON, "n4Info"); OpenAPI_n4_information_t *n4_info_local_nonprim = NULL; if (n4_info) { n4_info_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info); -} + } cJSON *n4_info_ext1 = cJSON_GetObjectItemCaseSensitive(vsmf_update_errorJSON, "n4InfoExt1"); OpenAPI_n4_information_t *n4_info_ext1_local_nonprim = NULL; if (n4_info_ext1) { n4_info_ext1_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext1); -} + } cJSON *n4_info_ext2 = cJSON_GetObjectItemCaseSensitive(vsmf_update_errorJSON, "n4InfoExt2"); OpenAPI_n4_information_t *n4_info_ext2_local_nonprim = NULL; if (n4_info_ext2) { n4_info_ext2_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext2); -} + } vsmf_update_error_local_var = OpenAPI_vsmf_update_error_create ( error_local_nonprim, diff --git a/lib/sbi/openapi/model/vsmf_updated_data.c b/lib/sbi/openapi/model/vsmf_updated_data.c index ff86869d7..00b3f74a2 100644 --- a/lib/sbi/openapi/model/vsmf_updated_data.c +++ b/lib/sbi/openapi/model/vsmf_updated_data.c @@ -414,7 +414,7 @@ OpenAPI_vsmf_updated_data_t *OpenAPI_vsmf_updated_data_parseFromJSON(cJSON *vsmf OpenAPI_list_add(qos_flows_add_mod_listList, qos_flows_add_mod_listItem); } -} + } cJSON *qos_flows_rel_list = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "qosFlowsRelList"); @@ -437,7 +437,7 @@ OpenAPI_vsmf_updated_data_t *OpenAPI_vsmf_updated_data_parseFromJSON(cJSON *vsmf OpenAPI_list_add(qos_flows_rel_listList, qos_flows_rel_listItem); } -} + } cJSON *qos_flows_failedto_add_mod_list = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "qosFlowsFailedtoAddModList"); @@ -460,7 +460,7 @@ OpenAPI_vsmf_updated_data_t *OpenAPI_vsmf_updated_data_parseFromJSON(cJSON *vsmf OpenAPI_list_add(qos_flows_failedto_add_mod_listList, qos_flows_failedto_add_mod_listItem); } -} + } cJSON *qos_flows_failedto_rel_list = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "qosFlowsFailedtoRelList"); @@ -483,28 +483,28 @@ OpenAPI_vsmf_updated_data_t *OpenAPI_vsmf_updated_data_parseFromJSON(cJSON *vsmf OpenAPI_list_add(qos_flows_failedto_rel_listList, qos_flows_failedto_rel_listItem); } -} + } cJSON *n1_sm_info_from_ue = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "n1SmInfoFromUe"); OpenAPI_ref_to_binary_data_t *n1_sm_info_from_ue_local_nonprim = NULL; if (n1_sm_info_from_ue) { n1_sm_info_from_ue_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_info_from_ue); -} + } cJSON *unknown_n1_sm_info = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "unknownN1SmInfo"); OpenAPI_ref_to_binary_data_t *unknown_n1_sm_info_local_nonprim = NULL; if (unknown_n1_sm_info) { unknown_n1_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(unknown_n1_sm_info); -} + } cJSON *ue_location = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "ueLocation"); OpenAPI_user_location_t *ue_location_local_nonprim = NULL; if (ue_location) { ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_location); -} + } cJSON *ue_time_zone = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "ueTimeZone"); @@ -513,14 +513,14 @@ OpenAPI_vsmf_updated_data_t *OpenAPI_vsmf_updated_data_parseFromJSON(cJSON *vsmf ogs_error("OpenAPI_vsmf_updated_data_parseFromJSON() failed [ue_time_zone]"); goto end; } -} + } cJSON *add_ue_location = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "addUeLocation"); OpenAPI_user_location_t *add_ue_location_local_nonprim = NULL; if (add_ue_location) { add_ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(add_ue_location); -} + } cJSON *assigned_ebi_list = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "assignedEbiList"); @@ -543,7 +543,7 @@ OpenAPI_vsmf_updated_data_t *OpenAPI_vsmf_updated_data_parseFromJSON(cJSON *vsmf OpenAPI_list_add(assigned_ebi_listList, assigned_ebi_listItem); } -} + } cJSON *failed_to_assign_ebi_list = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "failedToAssignEbiList"); @@ -566,7 +566,7 @@ OpenAPI_vsmf_updated_data_t *OpenAPI_vsmf_updated_data_parseFromJSON(cJSON *vsmf OpenAPI_list_add(failed_to_assign_ebi_listList, failed_to_assign_ebi_listItem); } -} + } cJSON *released_ebi_list = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "releasedEbiList"); @@ -586,7 +586,7 @@ OpenAPI_vsmf_updated_data_t *OpenAPI_vsmf_updated_data_parseFromJSON(cJSON *vsmf } OpenAPI_list_add(released_ebi_listList , &released_ebi_list_local->valuedouble); } -} + } cJSON *secondary_rat_usage_report = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "secondaryRatUsageReport"); @@ -609,7 +609,7 @@ OpenAPI_vsmf_updated_data_t *OpenAPI_vsmf_updated_data_parseFromJSON(cJSON *vsmf OpenAPI_list_add(secondary_rat_usage_reportList, secondary_rat_usage_reportItem); } -} + } cJSON *secondary_rat_usage_info = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "secondaryRatUsageInfo"); @@ -632,28 +632,28 @@ OpenAPI_vsmf_updated_data_t *OpenAPI_vsmf_updated_data_parseFromJSON(cJSON *vsmf OpenAPI_list_add(secondary_rat_usage_infoList, secondary_rat_usage_infoItem); } -} + } cJSON *n4_info = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "n4Info"); OpenAPI_n4_information_t *n4_info_local_nonprim = NULL; if (n4_info) { n4_info_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info); -} + } cJSON *n4_info_ext1 = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "n4InfoExt1"); OpenAPI_n4_information_t *n4_info_ext1_local_nonprim = NULL; if (n4_info_ext1) { n4_info_ext1_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext1); -} + } cJSON *n4_info_ext2 = cJSON_GetObjectItemCaseSensitive(vsmf_updated_dataJSON, "n4InfoExt2"); OpenAPI_n4_information_t *n4_info_ext2_local_nonprim = NULL; if (n4_info_ext2) { n4_info_ext2_local_nonprim = OpenAPI_n4_information_parseFromJSON(n4_info_ext2); -} + } vsmf_updated_data_local_var = OpenAPI_vsmf_updated_data_create ( qos_flows_add_mod_list ? qos_flows_add_mod_listList : NULL, diff --git a/lib/sbi/openapi/model/w_agf_info.c b/lib/sbi/openapi/model/w_agf_info.c index a7b30cfba..b486f9f71 100644 --- a/lib/sbi/openapi/model/w_agf_info.c +++ b/lib/sbi/openapi/model/w_agf_info.c @@ -113,7 +113,7 @@ OpenAPI_w_agf_info_t *OpenAPI_w_agf_info_parseFromJSON(cJSON *w_agf_infoJSON) } OpenAPI_list_add(ipv4_endpoint_addressesList , ogs_strdup_or_assert(ipv4_endpoint_addresses_local->valuestring)); } -} + } cJSON *ipv6_endpoint_addresses = cJSON_GetObjectItemCaseSensitive(w_agf_infoJSON, "ipv6EndpointAddresses"); @@ -133,7 +133,7 @@ OpenAPI_w_agf_info_t *OpenAPI_w_agf_info_parseFromJSON(cJSON *w_agf_infoJSON) } OpenAPI_list_add(ipv6_endpoint_addressesList , ogs_strdup_or_assert(ipv6_endpoint_addresses_local->valuestring)); } -} + } cJSON *endpoint_fqdn = cJSON_GetObjectItemCaseSensitive(w_agf_infoJSON, "endpointFqdn"); @@ -142,7 +142,7 @@ OpenAPI_w_agf_info_t *OpenAPI_w_agf_info_parseFromJSON(cJSON *w_agf_infoJSON) ogs_error("OpenAPI_w_agf_info_parseFromJSON() failed [endpoint_fqdn]"); goto end; } -} + } w_agf_info_local_var = OpenAPI_w_agf_info_create ( ipv4_endpoint_addresses ? ipv4_endpoint_addressesList : NULL, diff --git a/lib/sbi/openapi/model/wireline_area.c b/lib/sbi/openapi/model/wireline_area.c index c8a70a114..83269b73d 100644 --- a/lib/sbi/openapi/model/wireline_area.c +++ b/lib/sbi/openapi/model/wireline_area.c @@ -123,7 +123,7 @@ OpenAPI_wireline_area_t *OpenAPI_wireline_area_parseFromJSON(cJSON *wireline_are } OpenAPI_list_add(global_line_idsList , ogs_strdup_or_assert(global_line_ids_local->valuestring)); } -} + } cJSON *hfc_n_ids = cJSON_GetObjectItemCaseSensitive(wireline_areaJSON, "hfcNIds"); @@ -143,7 +143,7 @@ OpenAPI_wireline_area_t *OpenAPI_wireline_area_parseFromJSON(cJSON *wireline_are } OpenAPI_list_add(hfc_n_idsList , ogs_strdup_or_assert(hfc_n_ids_local->valuestring)); } -} + } cJSON *area_code_b = cJSON_GetObjectItemCaseSensitive(wireline_areaJSON, "areaCodeB"); @@ -152,7 +152,7 @@ OpenAPI_wireline_area_t *OpenAPI_wireline_area_parseFromJSON(cJSON *wireline_are ogs_error("OpenAPI_wireline_area_parseFromJSON() failed [area_code_b]"); goto end; } -} + } cJSON *area_code_c = cJSON_GetObjectItemCaseSensitive(wireline_areaJSON, "areaCodeC"); @@ -161,7 +161,7 @@ OpenAPI_wireline_area_t *OpenAPI_wireline_area_parseFromJSON(cJSON *wireline_are ogs_error("OpenAPI_wireline_area_parseFromJSON() failed [area_code_c]"); goto end; } -} + } wireline_area_local_var = OpenAPI_wireline_area_create ( global_line_ids ? global_line_idsList : NULL, diff --git a/lib/sbi/openapi/model/wireline_area_1.c b/lib/sbi/openapi/model/wireline_area_1.c index 7cd9ec11b..ea080d8cf 100644 --- a/lib/sbi/openapi/model/wireline_area_1.c +++ b/lib/sbi/openapi/model/wireline_area_1.c @@ -123,7 +123,7 @@ OpenAPI_wireline_area_1_t *OpenAPI_wireline_area_1_parseFromJSON(cJSON *wireline } OpenAPI_list_add(global_line_idsList , ogs_strdup_or_assert(global_line_ids_local->valuestring)); } -} + } cJSON *hfc_n_ids = cJSON_GetObjectItemCaseSensitive(wireline_area_1JSON, "hfcNIds"); @@ -143,7 +143,7 @@ OpenAPI_wireline_area_1_t *OpenAPI_wireline_area_1_parseFromJSON(cJSON *wireline } OpenAPI_list_add(hfc_n_idsList , ogs_strdup_or_assert(hfc_n_ids_local->valuestring)); } -} + } cJSON *area_code_b = cJSON_GetObjectItemCaseSensitive(wireline_area_1JSON, "areaCodeB"); @@ -152,7 +152,7 @@ OpenAPI_wireline_area_1_t *OpenAPI_wireline_area_1_parseFromJSON(cJSON *wireline ogs_error("OpenAPI_wireline_area_1_parseFromJSON() failed [area_code_b]"); goto end; } -} + } cJSON *area_code_c = cJSON_GetObjectItemCaseSensitive(wireline_area_1JSON, "areaCodeC"); @@ -161,7 +161,7 @@ OpenAPI_wireline_area_1_t *OpenAPI_wireline_area_1_parseFromJSON(cJSON *wireline ogs_error("OpenAPI_wireline_area_1_parseFromJSON() failed [area_code_c]"); goto end; } -} + } wireline_area_1_local_var = OpenAPI_wireline_area_1_create ( global_line_ids ? global_line_idsList : NULL, diff --git a/lib/sbi/openapi/model/wireline_service_area_restriction.c b/lib/sbi/openapi/model/wireline_service_area_restriction.c index 4718f80b0..3e5ebe3b0 100644 --- a/lib/sbi/openapi/model/wireline_service_area_restriction.c +++ b/lib/sbi/openapi/model/wireline_service_area_restriction.c @@ -85,7 +85,7 @@ OpenAPI_wireline_service_area_restriction_t *OpenAPI_wireline_service_area_restr goto end; } restriction_typeVariable = OpenAPI_restriction_type_FromString(restriction_type->valuestring); -} + } cJSON *areas = cJSON_GetObjectItemCaseSensitive(wireline_service_area_restrictionJSON, "areas"); @@ -108,7 +108,7 @@ OpenAPI_wireline_service_area_restriction_t *OpenAPI_wireline_service_area_restr OpenAPI_list_add(areasList, areasItem); } -} + } wireline_service_area_restriction_local_var = OpenAPI_wireline_service_area_restriction_create ( restriction_type ? restriction_typeVariable : 0, diff --git a/lib/sbi/openapi/model/wireline_service_area_restriction_1.c b/lib/sbi/openapi/model/wireline_service_area_restriction_1.c index 09fb53bdf..04f84b1a8 100644 --- a/lib/sbi/openapi/model/wireline_service_area_restriction_1.c +++ b/lib/sbi/openapi/model/wireline_service_area_restriction_1.c @@ -85,7 +85,7 @@ OpenAPI_wireline_service_area_restriction_1_t *OpenAPI_wireline_service_area_res goto end; } restriction_typeVariable = OpenAPI_restriction_type_FromString(restriction_type->valuestring); -} + } cJSON *areas = cJSON_GetObjectItemCaseSensitive(wireline_service_area_restriction_1JSON, "areas"); @@ -108,7 +108,7 @@ OpenAPI_wireline_service_area_restriction_1_t *OpenAPI_wireline_service_area_res OpenAPI_list_add(areasList, areasItem); } -} + } wireline_service_area_restriction_1_local_var = OpenAPI_wireline_service_area_restriction_1_create ( restriction_type ? restriction_typeVariable : 0, diff --git a/lib/sbi/support/20210629/openapi-generator/templates/model-body.mustache b/lib/sbi/support/20210629/openapi-generator/templates/model-body.mustache index 7cf75404b..7c29aaa7c 100644 --- a/lib/sbi/support/20210629/openapi-generator/templates/model-body.mustache +++ b/lib/sbi/support/20210629/openapi-generator/templates/model-body.mustache @@ -706,7 +706,7 @@ OpenAPI_{{classname}}_t *OpenAPI_{{classname}}_parseFromJSON(cJSON *{{classname} {{/isMap}} {{/isContainer}} {{^required}} -} + } {{/required}} {{/vars}}