Projects
osmocom:nightly
open5gs
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 492
View file
open5gs_2.6.6.18.e3c2.202310252026.dsc -> open5gs_2.6.6.19.3c681.202310262026.dsc
Changed
@@ -2,7 +2,7 @@ Source: open5gs Binary: open5gs-common, open5gs-mme, open5gs-sgwc, open5gs-smf, open5gs-amf, open5gs-sgwu, open5gs-upf, open5gs-hss, open5gs-pcrf, open5gs-nrf, open5gs-scp, open5gs-ausf, open5gs-udm, open5gs-pcf, open5gs-nssf, open5gs-bsf, open5gs-udr, open5gs, open5gs-dbg Architecture: any -Version: 2.6.6.18.e3c2.202310252026 +Version: 2.6.6.19.3c681.202310262026 Maintainer: Harald Welte <laforge@gnumonks.org> Uploaders: Sukchan Lee <acetcom@gmail.com> Homepage: https://open5gs.org @@ -31,8 +31,8 @@ open5gs-udr deb net optional arch=any open5gs-upf deb net optional arch=any Checksums-Sha1: - ac33c25b28d8673c8bb97923d5e2dea408ff7c41 14430328 open5gs_2.6.6.18.e3c2.202310252026.tar.xz + ef3b9163076aa359777e6dd924902e906a51ad15 14431840 open5gs_2.6.6.19.3c681.202310262026.tar.xz Checksums-Sha256: - 7d08bbc5219967c8fd88c408dd65daf3155ec2246c957e9390f8a44390738a69 14430328 open5gs_2.6.6.18.e3c2.202310252026.tar.xz + 4e903fa352fe62f8ac7267ab8d000d82d9c67128f5ab5a9b83e1220a64bbf429 14431840 open5gs_2.6.6.19.3c681.202310262026.tar.xz Files: - f46afaa00dfc10968e1edf1a9d35d561 14430328 open5gs_2.6.6.18.e3c2.202310252026.tar.xz + 9ad86c4b7750e4effb4975fafa8c2b29 14431840 open5gs_2.6.6.19.3c681.202310262026.tar.xz
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/.tarball-version -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -2.6.6.18-e3c2.202310252026 +2.6.6.19-3c681.202310262026
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/debian/changelog -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -open5gs (2.6.6.18.e3c2.202310252026) unstable; urgency=medium +open5gs (2.6.6.19.3c681.202310262026) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Wed, 25 Oct 2023 20:27:32 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Thu, 26 Oct 2023 20:27:31 +0000 open5gs (2.6.6) unstable; urgency=medium
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/access_and_mobility_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/access_and_mobility_data.c
Changed
@@ -586,10 +586,15 @@ } localEnum = OpenAPI_rat_type_FromString(rat_type_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(rat_type_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"rat_type\" is not supported. Ignoring it ...", + rat_type_local->valuestring); + } else { + OpenAPI_list_add(rat_typeList, (void *)localEnum); } - OpenAPI_list_add(rat_typeList, (void *)localEnum); + } + if (rat_typeList->count == 0) { + ogs_error("OpenAPI_access_and_mobility_data_parseFromJSON() failed: Expected rat_typeList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/access_and_mobility_subscription_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/access_and_mobility_subscription_data.c
Changed
@@ -1186,10 +1186,15 @@ } localEnum = OpenAPI_rat_type_FromString(rat_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(rat_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"rat_restrictions\" is not supported. Ignoring it ...", + rat_restrictions_local->valuestring); + } else { + OpenAPI_list_add(rat_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(rat_restrictionsList, (void *)localEnum); + } + if (rat_restrictionsList->count == 0) { + ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed: Expected rat_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1244,10 +1249,15 @@ } localEnum = OpenAPI_core_network_type_FromString(core_network_type_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_core_network_type_FromString(core_network_type_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"core_network_type_restrictions\" is not supported. Ignoring it ...", + core_network_type_restrictions_local->valuestring); + } else { + OpenAPI_list_add(core_network_type_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(core_network_type_restrictionsList, (void *)localEnum); + } + if (core_network_type_restrictionsList->count == 0) { + ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed: Expected core_network_type_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1348,10 +1358,15 @@ } localEnum = OpenAPI_sor_update_indicator_FromString(sor_update_indicator_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_sor_update_indicator_FromString(sor_update_indicator_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"sor_update_indicator_list\" is not supported. Ignoring it ...", + sor_update_indicator_list_local->valuestring); + } else { + OpenAPI_list_add(sor_update_indicator_listList, (void *)localEnum); } - OpenAPI_list_add(sor_update_indicator_listList, (void *)localEnum); + } + if (sor_update_indicator_listList->count == 0) { + ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed: Expected sor_update_indicator_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1561,10 +1576,15 @@ } localEnum = OpenAPI_rat_type_FromString(primary_rat_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(primary_rat_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"primary_rat_restrictions\" is not supported. Ignoring it ...", + primary_rat_restrictions_local->valuestring); + } else { + OpenAPI_list_add(primary_rat_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(primary_rat_restrictionsList, (void *)localEnum); + } + if (primary_rat_restrictionsList->count == 0) { + ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed: Expected primary_rat_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1586,10 +1606,15 @@ } localEnum = OpenAPI_rat_type_FromString(secondary_rat_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(secondary_rat_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"secondary_rat_restrictions\" is not supported. Ignoring it ...", + secondary_rat_restrictions_local->valuestring); + } else { + OpenAPI_list_add(secondary_rat_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(secondary_rat_restrictionsList, (void *)localEnum); + } + if (secondary_rat_restrictionsList->count == 0) { + ogs_error("OpenAPI_access_and_mobility_subscription_data_parseFromJSON() failed: Expected secondary_rat_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/access_and_mobility_subscription_data_1.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/access_and_mobility_subscription_data_1.c
Changed
@@ -1186,10 +1186,15 @@ } localEnum = OpenAPI_rat_type_FromString(rat_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(rat_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"rat_restrictions\" is not supported. Ignoring it ...", + rat_restrictions_local->valuestring); + } else { + OpenAPI_list_add(rat_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(rat_restrictionsList, (void *)localEnum); + } + if (rat_restrictionsList->count == 0) { + ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed: Expected rat_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1244,10 +1249,15 @@ } localEnum = OpenAPI_core_network_type_FromString(core_network_type_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_core_network_type_FromString(core_network_type_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"core_network_type_restrictions\" is not supported. Ignoring it ...", + core_network_type_restrictions_local->valuestring); + } else { + OpenAPI_list_add(core_network_type_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(core_network_type_restrictionsList, (void *)localEnum); + } + if (core_network_type_restrictionsList->count == 0) { + ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed: Expected core_network_type_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1348,10 +1358,15 @@ } localEnum = OpenAPI_sor_update_indicator_FromString(sor_update_indicator_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_sor_update_indicator_FromString(sor_update_indicator_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"sor_update_indicator_list\" is not supported. Ignoring it ...", + sor_update_indicator_list_local->valuestring); + } else { + OpenAPI_list_add(sor_update_indicator_listList, (void *)localEnum); } - OpenAPI_list_add(sor_update_indicator_listList, (void *)localEnum); + } + if (sor_update_indicator_listList->count == 0) { + ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed: Expected sor_update_indicator_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1561,10 +1576,15 @@ } localEnum = OpenAPI_rat_type_FromString(primary_rat_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(primary_rat_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"primary_rat_restrictions\" is not supported. Ignoring it ...", + primary_rat_restrictions_local->valuestring); + } else { + OpenAPI_list_add(primary_rat_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(primary_rat_restrictionsList, (void *)localEnum); + } + if (primary_rat_restrictionsList->count == 0) { + ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed: Expected primary_rat_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1586,10 +1606,15 @@ } localEnum = OpenAPI_rat_type_FromString(secondary_rat_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(secondary_rat_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"secondary_rat_restrictions\" is not supported. Ignoring it ...", + secondary_rat_restrictions_local->valuestring); + } else { + OpenAPI_list_add(secondary_rat_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(secondary_rat_restrictionsList, (void *)localEnum); + } + if (secondary_rat_restrictionsList->count == 0) { + ogs_error("OpenAPI_access_and_mobility_subscription_data_1_parseFromJSON() failed: Expected secondary_rat_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/af_event_exposure_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/af_event_exposure_data.c
Changed
@@ -138,10 +138,15 @@ } localEnum = OpenAPI_af_event_FromString(af_events_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_af_event_FromString(af_events_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"af_events\" is not supported. Ignoring it ...", + af_events_local->valuestring); + } else { + OpenAPI_list_add(af_eventsList, (void *)localEnum); } - OpenAPI_list_add(af_eventsList, (void *)localEnum); + } + if (af_eventsList->count == 0) { + ogs_error("OpenAPI_af_event_exposure_data_parseFromJSON() failed: Expected af_eventsList to not be empty (after ignoring unsupported enum values)."); + goto end; } af_ids = cJSON_GetObjectItemCaseSensitive(af_event_exposure_dataJSON, "afIds");
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/am_requested_value_rep.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/am_requested_value_rep.c
Changed
@@ -259,10 +259,15 @@ } localEnum = OpenAPI_access_type_FromString(access_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_access_type_FromString(access_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"access_types\" is not supported. Ignoring it ...", + access_types_local->valuestring); + } else { + OpenAPI_list_add(access_typesList, (void *)localEnum); } - OpenAPI_list_add(access_typesList, (void *)localEnum); + } + if (access_typesList->count == 0) { + ogs_error("OpenAPI_am_requested_value_rep_parseFromJSON() failed: Expected access_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -284,10 +289,15 @@ } localEnum = OpenAPI_rat_type_FromString(rat_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(rat_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"rat_types\" is not supported. Ignoring it ...", + rat_types_local->valuestring); + } else { + OpenAPI_list_add(rat_typesList, (void *)localEnum); } - OpenAPI_list_add(rat_typesList, (void *)localEnum); + } + if (rat_typesList->count == 0) { + ogs_error("OpenAPI_am_requested_value_rep_parseFromJSON() failed: Expected rat_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/amf_event_mode.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/amf_event_mode.c
Changed
@@ -210,10 +210,15 @@ } localEnum = OpenAPI_partitioning_criteria_FromString(partitioning_criteria_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_partitioning_criteria_FromString(partitioning_criteria_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"partitioning_criteria\" is not supported. Ignoring it ...", + partitioning_criteria_local->valuestring); + } else { + OpenAPI_list_add(partitioning_criteriaList, (void *)localEnum); } - OpenAPI_list_add(partitioning_criteriaList, (void *)localEnum); + } + if (partitioning_criteriaList->count == 0) { + ogs_error("OpenAPI_amf_event_mode_parseFromJSON() failed: Expected partitioning_criteriaList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/bsf_subscription.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/bsf_subscription.c
Changed
@@ -212,10 +212,15 @@ } localEnum = OpenAPI_bsf_event_FromString(events_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_bsf_event_FromString(events_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"events\" is not supported. Ignoring it ...", + events_local->valuestring); + } else { + OpenAPI_list_add(eventsList, (void *)localEnum); } - OpenAPI_list_add(eventsList, (void *)localEnum); + } + if (eventsList->count == 0) { + ogs_error("OpenAPI_bsf_subscription_parseFromJSON() failed: Expected eventsList to not be empty (after ignoring unsupported enum values)."); + goto end; } notif_uri = cJSON_GetObjectItemCaseSensitive(bsf_subscriptionJSON, "notifUri");
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/bsf_subscription_resp.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/bsf_subscription_resp.c
Changed
@@ -280,10 +280,15 @@ } localEnum = OpenAPI_bsf_event_FromString(events_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_bsf_event_FromString(events_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"events\" is not supported. Ignoring it ...", + events_local->valuestring); + } else { + OpenAPI_list_add(eventsList, (void *)localEnum); } - OpenAPI_list_add(eventsList, (void *)localEnum); + } + if (eventsList->count == 0) { + ogs_error("OpenAPI_bsf_subscription_resp_parseFromJSON() failed: Expected eventsList to not be empty (after ignoring unsupported enum values)."); + goto end; } notif_uri = cJSON_GetObjectItemCaseSensitive(bsf_subscription_respJSON, "notifUri");
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/datalink_reporting_configuration.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/datalink_reporting_configuration.c
Changed
@@ -186,10 +186,15 @@ } localEnum = OpenAPI_dl_data_delivery_status_FromString(ddd_status_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_dl_data_delivery_status_FromString(ddd_status_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"ddd_status_list\" is not supported. Ignoring it ...", + ddd_status_list_local->valuestring); + } else { + OpenAPI_list_add(ddd_status_listList, (void *)localEnum); } - OpenAPI_list_add(ddd_status_listList, (void *)localEnum); + } + if (ddd_status_listList->count == 0) { + ogs_error("OpenAPI_datalink_reporting_configuration_parseFromJSON() failed: Expected ddd_status_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/datalink_reporting_configuration_1.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/datalink_reporting_configuration_1.c
Changed
@@ -186,10 +186,15 @@ } localEnum = OpenAPI_dl_data_delivery_status_FromString(ddd_status_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_dl_data_delivery_status_FromString(ddd_status_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"ddd_status_list\" is not supported. Ignoring it ...", + ddd_status_list_local->valuestring); + } else { + OpenAPI_list_add(ddd_status_listList, (void *)localEnum); } - OpenAPI_list_add(ddd_status_listList, (void *)localEnum); + } + if (ddd_status_listList->count == 0) { + ogs_error("OpenAPI_datalink_reporting_configuration_1_parseFromJSON() failed: Expected ddd_status_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/dccf_cond.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/dccf_cond.c
Changed
@@ -257,10 +257,15 @@ } localEnum = OpenAPI_nf_type_FromString(serving_nf_type_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_nf_type_FromString(serving_nf_type_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"serving_nf_type_list\" is not supported. Ignoring it ...", + serving_nf_type_list_local->valuestring); + } else { + OpenAPI_list_add(serving_nf_type_listList, (void *)localEnum); } - OpenAPI_list_add(serving_nf_type_listList, (void *)localEnum); + } + if (serving_nf_type_listList->count == 0) { + ogs_error("OpenAPI_dccf_cond_parseFromJSON() failed: Expected serving_nf_type_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/dccf_info.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/dccf_info.c
Changed
@@ -162,10 +162,15 @@ } localEnum = OpenAPI_nf_type_FromString(serving_nf_type_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_nf_type_FromString(serving_nf_type_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"serving_nf_type_list\" is not supported. Ignoring it ...", + serving_nf_type_list_local->valuestring); + } else { + OpenAPI_list_add(serving_nf_type_listList, (void *)localEnum); } - OpenAPI_list_add(serving_nf_type_listList, (void *)localEnum); + } + if (serving_nf_type_listList->count == 0) { + ogs_error("OpenAPI_dccf_info_parseFromJSON() failed: Expected serving_nf_type_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/dnn_route_selection_descriptor.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/dnn_route_selection_descriptor.c
Changed
@@ -143,10 +143,15 @@ } localEnum = OpenAPI_ssc_mode_FromString(ssc_modes_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_ssc_mode_FromString(ssc_modes_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"ssc_modes\" is not supported. Ignoring it ...", + ssc_modes_local->valuestring); + } else { + OpenAPI_list_add(ssc_modesList, (void *)localEnum); } - OpenAPI_list_add(ssc_modesList, (void *)localEnum); + } + if (ssc_modesList->count == 0) { + ogs_error("OpenAPI_dnn_route_selection_descriptor_parseFromJSON() failed: Expected ssc_modesList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -168,10 +173,15 @@ } localEnum = OpenAPI_pdu_session_type_FromString(pdu_sess_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_pdu_session_type_FromString(pdu_sess_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"pdu_sess_types\" is not supported. Ignoring it ...", + pdu_sess_types_local->valuestring); + } else { + OpenAPI_list_add(pdu_sess_typesList, (void *)localEnum); } - OpenAPI_list_add(pdu_sess_typesList, (void *)localEnum); + } + if (pdu_sess_typesList->count == 0) { + ogs_error("OpenAPI_dnn_route_selection_descriptor_parseFromJSON() failed: Expected pdu_sess_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/dnn_upf_info_item.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/dnn_upf_info_item.c
Changed
@@ -303,10 +303,15 @@ } localEnum = OpenAPI_pdu_session_type_FromString(pdu_session_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_pdu_session_type_FromString(pdu_session_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"pdu_session_types\" is not supported. Ignoring it ...", + pdu_session_types_local->valuestring); + } else { + OpenAPI_list_add(pdu_session_typesList, (void *)localEnum); } - OpenAPI_list_add(pdu_session_typesList, (void *)localEnum); + } + if (pdu_session_typesList->count == 0) { + ogs_error("OpenAPI_dnn_upf_info_item_parseFromJSON() failed: Expected pdu_session_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/downlink_data_notification_control.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/downlink_data_notification_control.c
Changed
@@ -105,10 +105,15 @@ } localEnum = OpenAPI_notification_control_indication_FromString(notif_ctrl_inds_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_notification_control_indication_FromString(notif_ctrl_inds_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"notif_ctrl_inds\" is not supported. Ignoring it ...", + notif_ctrl_inds_local->valuestring); + } else { + OpenAPI_list_add(notif_ctrl_indsList, (void *)localEnum); } - OpenAPI_list_add(notif_ctrl_indsList, (void *)localEnum); + } + if (notif_ctrl_indsList->count == 0) { + ogs_error("OpenAPI_downlink_data_notification_control_parseFromJSON() failed: Expected notif_ctrl_indsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -130,10 +135,15 @@ } localEnum = OpenAPI_dl_data_delivery_status_FromString(types_of_notif_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_dl_data_delivery_status_FromString(types_of_notif_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"types_of_notif\" is not supported. Ignoring it ...", + types_of_notif_local->valuestring); + } else { + OpenAPI_list_add(types_of_notifList, (void *)localEnum); } - OpenAPI_list_add(types_of_notifList, (void *)localEnum); + } + if (types_of_notifList->count == 0) { + ogs_error("OpenAPI_downlink_data_notification_control_parseFromJSON() failed: Expected types_of_notifList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/downlink_data_notification_control_rm.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/downlink_data_notification_control_rm.c
Changed
@@ -120,10 +120,15 @@ } localEnum = OpenAPI_notification_control_indication_FromString(notif_ctrl_inds_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_notification_control_indication_FromString(notif_ctrl_inds_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"notif_ctrl_inds\" is not supported. Ignoring it ...", + notif_ctrl_inds_local->valuestring); + } else { + OpenAPI_list_add(notif_ctrl_indsList, (void *)localEnum); } - OpenAPI_list_add(notif_ctrl_indsList, (void *)localEnum); + } + if (notif_ctrl_indsList->count == 0) { + ogs_error("OpenAPI_downlink_data_notification_control_rm_parseFromJSON() failed: Expected notif_ctrl_indsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } } @@ -147,10 +152,15 @@ } localEnum = OpenAPI_dl_data_delivery_status_FromString(types_of_notif_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_dl_data_delivery_status_FromString(types_of_notif_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"types_of_notif\" is not supported. Ignoring it ...", + types_of_notif_local->valuestring); + } else { + OpenAPI_list_add(types_of_notifList, (void *)localEnum); } - OpenAPI_list_add(types_of_notifList, (void *)localEnum); + } + if (types_of_notifList->count == 0) { + ogs_error("OpenAPI_downlink_data_notification_control_rm_parseFromJSON() failed: Expected types_of_notifList to not be empty (after ignoring unsupported enum values)."); + goto end; } } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/error_report.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/error_report.c
Changed
@@ -242,10 +242,15 @@ } localEnum = OpenAPI_policy_decision_failure_code_FromString(pol_dec_failure_reports_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_policy_decision_failure_code_FromString(pol_dec_failure_reports_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"pol_dec_failure_reports\" is not supported. Ignoring it ...", + pol_dec_failure_reports_local->valuestring); + } else { + OpenAPI_list_add(pol_dec_failure_reportsList, (void *)localEnum); } - OpenAPI_list_add(pol_dec_failure_reportsList, (void *)localEnum); + } + if (pol_dec_failure_reportsList->count == 0) { + ogs_error("OpenAPI_error_report_parseFromJSON() failed: Expected pol_dec_failure_reportsList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/event_subscription.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/event_subscription.c
Changed
@@ -1195,10 +1195,15 @@ } localEnum = OpenAPI_nf_type_FromString(nf_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_nf_type_FromString(nf_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"nf_types\" is not supported. Ignoring it ...", + nf_types_local->valuestring); + } else { + OpenAPI_list_add(nf_typesList, (void *)localEnum); } - OpenAPI_list_add(nf_typesList, (void *)localEnum); + } + if (nf_typesList->count == 0) { + ogs_error("OpenAPI_event_subscription_parseFromJSON() failed: Expected nf_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/events_subsc_put_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/events_subsc_put_data.c
Changed
@@ -824,10 +824,15 @@ } localEnum = OpenAPI_requested_qos_monitoring_parameter_FromString(req_qos_mon_params_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_requested_qos_monitoring_parameter_FromString(req_qos_mon_params_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"req_qos_mon_params\" is not supported. Ignoring it ...", + req_qos_mon_params_local->valuestring); + } else { + OpenAPI_list_add(req_qos_mon_paramsList, (void *)localEnum); } - OpenAPI_list_add(req_qos_mon_paramsList, (void *)localEnum); + } + if (req_qos_mon_paramsList->count == 0) { + ogs_error("OpenAPI_events_subsc_put_data_parseFromJSON() failed: Expected req_qos_mon_paramsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -858,10 +863,15 @@ } localEnum = OpenAPI_required_access_info_FromString(req_anis_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_required_access_info_FromString(req_anis_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"req_anis\" is not supported. Ignoring it ...", + req_anis_local->valuestring); + } else { + OpenAPI_list_add(req_anisList, (void *)localEnum); } - OpenAPI_list_add(req_anisList, (void *)localEnum); + } + if (req_anisList->count == 0) { + ogs_error("OpenAPI_events_subsc_put_data_parseFromJSON() failed: Expected req_anisList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/events_subsc_req_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/events_subsc_req_data.c
Changed
@@ -275,10 +275,15 @@ } localEnum = OpenAPI_requested_qos_monitoring_parameter_FromString(req_qos_mon_params_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_requested_qos_monitoring_parameter_FromString(req_qos_mon_params_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"req_qos_mon_params\" is not supported. Ignoring it ...", + req_qos_mon_params_local->valuestring); + } else { + OpenAPI_list_add(req_qos_mon_paramsList, (void *)localEnum); } - OpenAPI_list_add(req_qos_mon_paramsList, (void *)localEnum); + } + if (req_qos_mon_paramsList->count == 0) { + ogs_error("OpenAPI_events_subsc_req_data_parseFromJSON() failed: Expected req_qos_mon_paramsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -309,10 +314,15 @@ } localEnum = OpenAPI_required_access_info_FromString(req_anis_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_required_access_info_FromString(req_anis_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"req_anis\" is not supported. Ignoring it ...", + req_anis_local->valuestring); + } else { + OpenAPI_list_add(req_anisList, (void *)localEnum); } - OpenAPI_list_add(req_anisList, (void *)localEnum); + } + if (req_anisList->count == 0) { + ogs_error("OpenAPI_events_subsc_req_data_parseFromJSON() failed: Expected req_anisList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/events_subsc_req_data_rm.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/events_subsc_req_data_rm.c
Changed
@@ -271,10 +271,15 @@ } localEnum = OpenAPI_requested_qos_monitoring_parameter_FromString(req_qos_mon_params_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_requested_qos_monitoring_parameter_FromString(req_qos_mon_params_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"req_qos_mon_params\" is not supported. Ignoring it ...", + req_qos_mon_params_local->valuestring); + } else { + OpenAPI_list_add(req_qos_mon_paramsList, (void *)localEnum); } - OpenAPI_list_add(req_qos_mon_paramsList, (void *)localEnum); + } + if (req_qos_mon_paramsList->count == 0) { + ogs_error("OpenAPI_events_subsc_req_data_rm_parseFromJSON() failed: Expected req_qos_mon_paramsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -307,10 +312,15 @@ } localEnum = OpenAPI_required_access_info_FromString(req_anis_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_required_access_info_FromString(req_anis_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"req_anis\" is not supported. Ignoring it ...", + req_anis_local->valuestring); + } else { + OpenAPI_list_add(req_anisList, (void *)localEnum); } - OpenAPI_list_add(req_anisList, (void *)localEnum); + } + if (req_anisList->count == 0) { + ogs_error("OpenAPI_events_subsc_req_data_rm_parseFromJSON() failed: Expected req_anisList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/immediate_mdt_conf.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/immediate_mdt_conf.c
Changed
@@ -368,10 +368,15 @@ } localEnum = OpenAPI_measurement_lte_for_mdt_FromString(measurement_lte_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_measurement_lte_for_mdt_FromString(measurement_lte_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"measurement_lte_list\" is not supported. Ignoring it ...", + measurement_lte_list_local->valuestring); + } else { + OpenAPI_list_add(measurement_lte_listList, (void *)localEnum); } - OpenAPI_list_add(measurement_lte_listList, (void *)localEnum); + } + if (measurement_lte_listList->count == 0) { + ogs_error("OpenAPI_immediate_mdt_conf_parseFromJSON() failed: Expected measurement_lte_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -393,10 +398,15 @@ } localEnum = OpenAPI_measurement_nr_for_mdt_FromString(measurement_nr_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_measurement_nr_for_mdt_FromString(measurement_nr_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"measurement_nr_list\" is not supported. Ignoring it ...", + measurement_nr_list_local->valuestring); + } else { + OpenAPI_list_add(measurement_nr_listList, (void *)localEnum); } - OpenAPI_list_add(measurement_nr_listList, (void *)localEnum); + } + if (measurement_nr_listList->count == 0) { + ogs_error("OpenAPI_immediate_mdt_conf_parseFromJSON() failed: Expected measurement_nr_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -418,10 +428,15 @@ } localEnum = OpenAPI_reporting_trigger_FromString(reporting_trigger_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_reporting_trigger_FromString(reporting_trigger_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"reporting_trigger_list\" is not supported. Ignoring it ...", + reporting_trigger_list_local->valuestring); + } else { + OpenAPI_list_add(reporting_trigger_listList, (void *)localEnum); } - OpenAPI_list_add(reporting_trigger_listList, (void *)localEnum); + } + if (reporting_trigger_listList->count == 0) { + ogs_error("OpenAPI_immediate_mdt_conf_parseFromJSON() failed: Expected reporting_trigger_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -547,10 +562,15 @@ } localEnum = OpenAPI_positioning_method_mdt_FromString(add_positioning_method_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_positioning_method_mdt_FromString(add_positioning_method_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"add_positioning_method_list\" is not supported. Ignoring it ...", + add_positioning_method_list_local->valuestring); + } else { + OpenAPI_list_add(add_positioning_method_listList, (void *)localEnum); } - OpenAPI_list_add(add_positioning_method_listList, (void *)localEnum); + } + if (add_positioning_method_listList->count == 0) { + ogs_error("OpenAPI_immediate_mdt_conf_parseFromJSON() failed: Expected add_positioning_method_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -596,10 +616,15 @@ } localEnum = OpenAPI_sensor_measurement_FromString(sensor_measurement_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_sensor_measurement_FromString(sensor_measurement_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"sensor_measurement_list\" is not supported. Ignoring it ...", + sensor_measurement_list_local->valuestring); + } else { + OpenAPI_list_add(sensor_measurement_listList, (void *)localEnum); } - OpenAPI_list_add(sensor_measurement_listList, (void *)localEnum); + } + if (sensor_measurement_listList->count == 0) { + ogs_error("OpenAPI_immediate_mdt_conf_parseFromJSON() failed: Expected sensor_measurement_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/lcs_mo_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/lcs_mo_data.c
Changed
@@ -109,10 +109,15 @@ } localEnum = OpenAPI_lcs_mo_service_class_FromString(allowed_service_classes_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_lcs_mo_service_class_FromString(allowed_service_classes_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"allowed_service_classes\" is not supported. Ignoring it ...", + allowed_service_classes_local->valuestring); + } else { + OpenAPI_list_add(allowed_service_classesList, (void *)localEnum); } - OpenAPI_list_add(allowed_service_classesList, (void *)localEnum); + } + if (allowed_service_classesList->count == 0) { + ogs_error("OpenAPI_lcs_mo_data_parseFromJSON() failed: Expected allowed_service_classesList to not be empty (after ignoring unsupported enum values)."); + goto end; } mo_assistance_data_types = cJSON_GetObjectItemCaseSensitive(lcs_mo_dataJSON, "moAssistanceDataTypes");
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/lmf_info.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/lmf_info.c
Changed
@@ -281,10 +281,15 @@ } localEnum = OpenAPI_access_type_FromString(serving_access_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_access_type_FromString(serving_access_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"serving_access_types\" is not supported. Ignoring it ...", + serving_access_types_local->valuestring); + } else { + OpenAPI_list_add(serving_access_typesList, (void *)localEnum); } - OpenAPI_list_add(serving_access_typesList, (void *)localEnum); + } + if (serving_access_typesList->count == 0) { + ogs_error("OpenAPI_lmf_info_parseFromJSON() failed: Expected serving_access_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -306,10 +311,15 @@ } localEnum = OpenAPI_an_node_type_FromString(serving_an_node_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_an_node_type_FromString(serving_an_node_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"serving_an_node_types\" is not supported. Ignoring it ...", + serving_an_node_types_local->valuestring); + } else { + OpenAPI_list_add(serving_an_node_typesList, (void *)localEnum); } - OpenAPI_list_add(serving_an_node_typesList, (void *)localEnum); + } + if (serving_an_node_typesList->count == 0) { + ogs_error("OpenAPI_lmf_info_parseFromJSON() failed: Expected serving_an_node_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -331,10 +341,15 @@ } localEnum = OpenAPI_rat_type_FromString(serving_rat_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(serving_rat_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"serving_rat_types\" is not supported. Ignoring it ...", + serving_rat_types_local->valuestring); + } else { + OpenAPI_list_add(serving_rat_typesList, (void *)localEnum); } - OpenAPI_list_add(serving_rat_typesList, (void *)localEnum); + } + if (serving_rat_typesList->count == 0) { + ogs_error("OpenAPI_lmf_info_parseFromJSON() failed: Expected serving_rat_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/mdt_configuration.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/mdt_configuration.c
Changed
@@ -517,10 +517,15 @@ } localEnum = OpenAPI_measurement_lte_for_mdt_FromString(measurement_lte_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_measurement_lte_for_mdt_FromString(measurement_lte_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"measurement_lte_list\" is not supported. Ignoring it ...", + measurement_lte_list_local->valuestring); + } else { + OpenAPI_list_add(measurement_lte_listList, (void *)localEnum); } - OpenAPI_list_add(measurement_lte_listList, (void *)localEnum); + } + if (measurement_lte_listList->count == 0) { + ogs_error("OpenAPI_mdt_configuration_parseFromJSON() failed: Expected measurement_lte_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -542,10 +547,15 @@ } localEnum = OpenAPI_measurement_nr_for_mdt_FromString(measurement_nr_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_measurement_nr_for_mdt_FromString(measurement_nr_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"measurement_nr_list\" is not supported. Ignoring it ...", + measurement_nr_list_local->valuestring); + } else { + OpenAPI_list_add(measurement_nr_listList, (void *)localEnum); } - OpenAPI_list_add(measurement_nr_listList, (void *)localEnum); + } + if (measurement_nr_listList->count == 0) { + ogs_error("OpenAPI_mdt_configuration_parseFromJSON() failed: Expected measurement_nr_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -567,10 +577,15 @@ } localEnum = OpenAPI_sensor_measurement_FromString(sensor_measurement_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_sensor_measurement_FromString(sensor_measurement_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"sensor_measurement_list\" is not supported. Ignoring it ...", + sensor_measurement_list_local->valuestring); + } else { + OpenAPI_list_add(sensor_measurement_listList, (void *)localEnum); } - OpenAPI_list_add(sensor_measurement_listList, (void *)localEnum); + } + if (sensor_measurement_listList->count == 0) { + ogs_error("OpenAPI_mdt_configuration_parseFromJSON() failed: Expected sensor_measurement_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -592,10 +607,15 @@ } localEnum = OpenAPI_reporting_trigger_FromString(reporting_trigger_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_reporting_trigger_FromString(reporting_trigger_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"reporting_trigger_list\" is not supported. Ignoring it ...", + reporting_trigger_list_local->valuestring); + } else { + OpenAPI_list_add(reporting_trigger_listList, (void *)localEnum); } - OpenAPI_list_add(reporting_trigger_listList, (void *)localEnum); + } + if (reporting_trigger_listList->count == 0) { + ogs_error("OpenAPI_mdt_configuration_parseFromJSON() failed: Expected reporting_trigger_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -676,10 +696,15 @@ } localEnum = OpenAPI_event_for_mdt_FromString(event_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_event_for_mdt_FromString(event_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"event_list\" is not supported. Ignoring it ...", + event_list_local->valuestring); + } else { + OpenAPI_list_add(event_listList, (void *)localEnum); } - OpenAPI_list_add(event_listList, (void *)localEnum); + } + if (event_listList->count == 0) { + ogs_error("OpenAPI_mdt_configuration_parseFromJSON() failed: Expected event_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -746,10 +771,15 @@ } localEnum = OpenAPI_positioning_method_mdt_FromString(add_positioning_method_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_positioning_method_mdt_FromString(add_positioning_method_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"add_positioning_method_list\" is not supported. Ignoring it ...", + add_positioning_method_list_local->valuestring); + } else { + OpenAPI_list_add(add_positioning_method_listList, (void *)localEnum); } - OpenAPI_list_add(add_positioning_method_listList, (void *)localEnum); + } + if (add_positioning_method_listList->count == 0) { + ogs_error("OpenAPI_mdt_configuration_parseFromJSON() failed: Expected add_positioning_method_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/mdt_configuration_1.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/mdt_configuration_1.c
Changed
@@ -517,10 +517,15 @@ } localEnum = OpenAPI_measurement_lte_for_mdt_FromString(measurement_lte_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_measurement_lte_for_mdt_FromString(measurement_lte_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"measurement_lte_list\" is not supported. Ignoring it ...", + measurement_lte_list_local->valuestring); + } else { + OpenAPI_list_add(measurement_lte_listList, (void *)localEnum); } - OpenAPI_list_add(measurement_lte_listList, (void *)localEnum); + } + if (measurement_lte_listList->count == 0) { + ogs_error("OpenAPI_mdt_configuration_1_parseFromJSON() failed: Expected measurement_lte_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -542,10 +547,15 @@ } localEnum = OpenAPI_measurement_nr_for_mdt_FromString(measurement_nr_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_measurement_nr_for_mdt_FromString(measurement_nr_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"measurement_nr_list\" is not supported. Ignoring it ...", + measurement_nr_list_local->valuestring); + } else { + OpenAPI_list_add(measurement_nr_listList, (void *)localEnum); } - OpenAPI_list_add(measurement_nr_listList, (void *)localEnum); + } + if (measurement_nr_listList->count == 0) { + ogs_error("OpenAPI_mdt_configuration_1_parseFromJSON() failed: Expected measurement_nr_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -567,10 +577,15 @@ } localEnum = OpenAPI_sensor_measurement_FromString(sensor_measurement_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_sensor_measurement_FromString(sensor_measurement_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"sensor_measurement_list\" is not supported. Ignoring it ...", + sensor_measurement_list_local->valuestring); + } else { + OpenAPI_list_add(sensor_measurement_listList, (void *)localEnum); } - OpenAPI_list_add(sensor_measurement_listList, (void *)localEnum); + } + if (sensor_measurement_listList->count == 0) { + ogs_error("OpenAPI_mdt_configuration_1_parseFromJSON() failed: Expected sensor_measurement_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -592,10 +607,15 @@ } localEnum = OpenAPI_reporting_trigger_FromString(reporting_trigger_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_reporting_trigger_FromString(reporting_trigger_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"reporting_trigger_list\" is not supported. Ignoring it ...", + reporting_trigger_list_local->valuestring); + } else { + OpenAPI_list_add(reporting_trigger_listList, (void *)localEnum); } - OpenAPI_list_add(reporting_trigger_listList, (void *)localEnum); + } + if (reporting_trigger_listList->count == 0) { + ogs_error("OpenAPI_mdt_configuration_1_parseFromJSON() failed: Expected reporting_trigger_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -676,10 +696,15 @@ } localEnum = OpenAPI_event_for_mdt_FromString(event_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_event_for_mdt_FromString(event_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"event_list\" is not supported. Ignoring it ...", + event_list_local->valuestring); + } else { + OpenAPI_list_add(event_listList, (void *)localEnum); } - OpenAPI_list_add(event_listList, (void *)localEnum); + } + if (event_listList->count == 0) { + ogs_error("OpenAPI_mdt_configuration_1_parseFromJSON() failed: Expected event_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -746,10 +771,15 @@ } localEnum = OpenAPI_positioning_method_mdt_FromString(add_positioning_method_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_positioning_method_mdt_FromString(add_positioning_method_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"add_positioning_method_list\" is not supported. Ignoring it ...", + add_positioning_method_list_local->valuestring); + } else { + OpenAPI_list_add(add_positioning_method_listList, (void *)localEnum); } - OpenAPI_list_add(add_positioning_method_listList, (void *)localEnum); + } + if (add_positioning_method_listList->count == 0) { + ogs_error("OpenAPI_mdt_configuration_1_parseFromJSON() failed: Expected add_positioning_method_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/mfaf_info.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/mfaf_info.c
Changed
@@ -162,10 +162,15 @@ } localEnum = OpenAPI_nf_type_FromString(serving_nf_type_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_nf_type_FromString(serving_nf_type_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"serving_nf_type_list\" is not supported. Ignoring it ...", + serving_nf_type_list_local->valuestring); + } else { + OpenAPI_list_add(serving_nf_type_listList, (void *)localEnum); } - OpenAPI_list_add(serving_nf_type_listList, (void *)localEnum); + } + if (serving_nf_type_listList->count == 0) { + ogs_error("OpenAPI_mfaf_info_parseFromJSON() failed: Expected serving_nf_type_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/model_5_gvn_group_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/model_5_gvn_group_data.c
Changed
@@ -256,10 +256,15 @@ } localEnum = OpenAPI_pdu_session_type_FromString(pdu_session_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_pdu_session_type_FromString(pdu_session_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"pdu_session_types\" is not supported. Ignoring it ...", + pdu_session_types_local->valuestring); + } else { + OpenAPI_list_add(pdu_session_typesList, (void *)localEnum); } - OpenAPI_list_add(pdu_session_typesList, (void *)localEnum); + } + if (pdu_session_typesList->count == 0) { + ogs_error("OpenAPI_model_5_gvn_group_data_parseFromJSON() failed: Expected pdu_session_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/nef_cond.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/nef_cond.c
Changed
@@ -257,10 +257,15 @@ } localEnum = OpenAPI_af_event_FromString(af_events_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_af_event_FromString(af_events_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"af_events\" is not supported. Ignoring it ...", + af_events_local->valuestring); + } else { + OpenAPI_list_add(af_eventsList, (void *)localEnum); } - OpenAPI_list_add(af_eventsList, (void *)localEnum); + } + if (af_eventsList->count == 0) { + ogs_error("OpenAPI_nef_cond_parseFromJSON() failed: Expected af_eventsList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/nf_profile.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/nf_profile.c
Changed
@@ -2617,10 +2617,15 @@ } localEnum = OpenAPI_nf_type_FromString(allowed_nf_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_nf_type_FromString(allowed_nf_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"allowed_nf_types\" is not supported. Ignoring it ...", + allowed_nf_types_local->valuestring); + } else { + OpenAPI_list_add(allowed_nf_typesList, (void *)localEnum); } - OpenAPI_list_add(allowed_nf_typesList, (void *)localEnum); + } + if (allowed_nf_typesList->count == 0) { + ogs_error("OpenAPI_nf_profile_parseFromJSON() failed: Expected allowed_nf_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/nf_service.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/nf_service.c
Changed
@@ -880,10 +880,15 @@ } localEnum = OpenAPI_nf_type_FromString(allowed_nf_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_nf_type_FromString(allowed_nf_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"allowed_nf_types\" is not supported. Ignoring it ...", + allowed_nf_types_local->valuestring); + } else { + OpenAPI_list_add(allowed_nf_typesList, (void *)localEnum); } - OpenAPI_list_add(allowed_nf_typesList, (void *)localEnum); + } + if (allowed_nf_typesList->count == 0) { + ogs_error("OpenAPI_nf_service_parseFromJSON() failed: Expected allowed_nf_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/non_ue_n2_info_subscription_create_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/non_ue_n2_info_subscription_create_data.c
Changed
@@ -191,10 +191,15 @@ } localEnum = OpenAPI_access_type_FromString(an_type_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_access_type_FromString(an_type_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"an_type_list\" is not supported. Ignoring it ...", + an_type_list_local->valuestring); + } else { + OpenAPI_list_add(an_type_listList, (void *)localEnum); } - OpenAPI_list_add(an_type_listList, (void *)localEnum); + } + if (an_type_listList->count == 0) { + ogs_error("OpenAPI_non_ue_n2_info_subscription_create_data_parseFromJSON() failed: Expected an_type_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/nrf_info_served_lmf_info_value.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/nrf_info_served_lmf_info_value.c
Changed
@@ -281,10 +281,15 @@ } localEnum = OpenAPI_access_type_FromString(serving_access_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_access_type_FromString(serving_access_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"serving_access_types\" is not supported. Ignoring it ...", + serving_access_types_local->valuestring); + } else { + OpenAPI_list_add(serving_access_typesList, (void *)localEnum); } - OpenAPI_list_add(serving_access_typesList, (void *)localEnum); + } + if (serving_access_typesList->count == 0) { + ogs_error("OpenAPI_nrf_info_served_lmf_info_value_parseFromJSON() failed: Expected serving_access_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -306,10 +311,15 @@ } localEnum = OpenAPI_an_node_type_FromString(serving_an_node_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_an_node_type_FromString(serving_an_node_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"serving_an_node_types\" is not supported. Ignoring it ...", + serving_an_node_types_local->valuestring); + } else { + OpenAPI_list_add(serving_an_node_typesList, (void *)localEnum); } - OpenAPI_list_add(serving_an_node_typesList, (void *)localEnum); + } + if (serving_an_node_typesList->count == 0) { + ogs_error("OpenAPI_nrf_info_served_lmf_info_value_parseFromJSON() failed: Expected serving_an_node_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -331,10 +341,15 @@ } localEnum = OpenAPI_rat_type_FromString(serving_rat_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(serving_rat_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"serving_rat_types\" is not supported. Ignoring it ...", + serving_rat_types_local->valuestring); + } else { + OpenAPI_list_add(serving_rat_typesList, (void *)localEnum); } - OpenAPI_list_add(serving_rat_typesList, (void *)localEnum); + } + if (serving_rat_typesList->count == 0) { + ogs_error("OpenAPI_nrf_info_served_lmf_info_value_parseFromJSON() failed: Expected serving_rat_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/nrf_info_served_nwdaf_info_value.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/nrf_info_served_nwdaf_info_value.c
Changed
@@ -410,10 +410,15 @@ } localEnum = OpenAPI_nf_type_FromString(serving_nf_type_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_nf_type_FromString(serving_nf_type_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"serving_nf_type_list\" is not supported. Ignoring it ...", + serving_nf_type_list_local->valuestring); + } else { + OpenAPI_list_add(serving_nf_type_listList, (void *)localEnum); } - OpenAPI_list_add(serving_nf_type_listList, (void *)localEnum); + } + if (serving_nf_type_listList->count == 0) { + ogs_error("OpenAPI_nrf_info_served_nwdaf_info_value_parseFromJSON() failed: Expected serving_nf_type_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/nrf_info_served_pcscf_info_list_value_value.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/nrf_info_served_pcscf_info_list_value_value.c
Changed
@@ -290,10 +290,15 @@ } localEnum = OpenAPI_access_type_FromString(access_type_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_access_type_FromString(access_type_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"access_type\" is not supported. Ignoring it ...", + access_type_local->valuestring); + } else { + OpenAPI_list_add(access_typeList, (void *)localEnum); } - OpenAPI_list_add(access_typeList, (void *)localEnum); + } + if (access_typeList->count == 0) { + ogs_error("OpenAPI_nrf_info_served_pcscf_info_list_value_value_parseFromJSON() failed: Expected access_typeList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/nrf_info_served_scp_info_list_value.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/nrf_info_served_scp_info_list_value.c
Changed
@@ -657,10 +657,15 @@ } localEnum = OpenAPI_scp_capability_FromString(scp_capabilities_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_scp_capability_FromString(scp_capabilities_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"scp_capabilities\" is not supported. Ignoring it ...", + scp_capabilities_local->valuestring); + } else { + OpenAPI_list_add(scp_capabilitiesList, (void *)localEnum); } - OpenAPI_list_add(scp_capabilitiesList, (void *)localEnum); + } + if (scp_capabilitiesList->count == 0) { + ogs_error("OpenAPI_nrf_info_served_scp_info_list_value_parseFromJSON() failed: Expected scp_capabilitiesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/nrf_info_served_smf_info_value.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/nrf_info_served_smf_info_value.c
Changed
@@ -398,10 +398,15 @@ } localEnum = OpenAPI_access_type_FromString(access_type_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_access_type_FromString(access_type_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"access_type\" is not supported. Ignoring it ...", + access_type_local->valuestring); + } else { + OpenAPI_list_add(access_typeList, (void *)localEnum); } - OpenAPI_list_add(access_typeList, (void *)localEnum); + } + if (access_typeList->count == 0) { + ogs_error("OpenAPI_nrf_info_served_smf_info_value_parseFromJSON() failed: Expected access_typeList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/nrf_info_served_udr_info_value.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/nrf_info_served_udr_info_value.c
Changed
@@ -285,10 +285,15 @@ } localEnum = OpenAPI_data_set_id_FromString(supported_data_sets_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_data_set_id_FromString(supported_data_sets_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"supported_data_sets\" is not supported. Ignoring it ...", + supported_data_sets_local->valuestring); + } else { + OpenAPI_list_add(supported_data_setsList, (void *)localEnum); } - OpenAPI_list_add(supported_data_setsList, (void *)localEnum); + } + if (supported_data_setsList->count == 0) { + ogs_error("OpenAPI_nrf_info_served_udr_info_value_parseFromJSON() failed: Expected supported_data_setsList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/nrf_info_served_upf_info_value.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/nrf_info_served_upf_info_value.c
Changed
@@ -467,10 +467,15 @@ } localEnum = OpenAPI_pdu_session_type_FromString(pdu_session_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_pdu_session_type_FromString(pdu_session_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"pdu_session_types\" is not supported. Ignoring it ...", + pdu_session_types_local->valuestring); + } else { + OpenAPI_list_add(pdu_session_typesList, (void *)localEnum); } - OpenAPI_list_add(pdu_session_typesList, (void *)localEnum); + } + if (pdu_session_typesList->count == 0) { + ogs_error("OpenAPI_nrf_info_served_upf_info_value_parseFromJSON() failed: Expected pdu_session_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/nwdaf_cond.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/nwdaf_cond.c
Changed
@@ -381,10 +381,15 @@ } localEnum = OpenAPI_nf_type_FromString(serving_nf_type_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_nf_type_FromString(serving_nf_type_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"serving_nf_type_list\" is not supported. Ignoring it ...", + serving_nf_type_list_local->valuestring); + } else { + OpenAPI_list_add(serving_nf_type_listList, (void *)localEnum); } - OpenAPI_list_add(serving_nf_type_listList, (void *)localEnum); + } + if (serving_nf_type_listList->count == 0) { + ogs_error("OpenAPI_nwdaf_cond_parseFromJSON() failed: Expected serving_nf_type_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/nwdaf_info.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/nwdaf_info.c
Changed
@@ -410,10 +410,15 @@ } localEnum = OpenAPI_nf_type_FromString(serving_nf_type_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_nf_type_FromString(serving_nf_type_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"serving_nf_type_list\" is not supported. Ignoring it ...", + serving_nf_type_list_local->valuestring); + } else { + OpenAPI_list_add(serving_nf_type_listList, (void *)localEnum); } - OpenAPI_list_add(serving_nf_type_listList, (void *)localEnum); + } + if (serving_nf_type_listList->count == 0) { + ogs_error("OpenAPI_nwdaf_info_parseFromJSON() failed: Expected serving_nf_type_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/partial_success_report.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/partial_success_report.c
Changed
@@ -266,10 +266,15 @@ } localEnum = OpenAPI_policy_decision_failure_code_FromString(policy_dec_failure_reports_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_policy_decision_failure_code_FromString(policy_dec_failure_reports_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"policy_dec_failure_reports\" is not supported. Ignoring it ...", + policy_dec_failure_reports_local->valuestring); + } else { + OpenAPI_list_add(policy_dec_failure_reportsList, (void *)localEnum); } - OpenAPI_list_add(policy_dec_failure_reportsList, (void *)localEnum); + } + if (policy_dec_failure_reportsList->count == 0) { + ogs_error("OpenAPI_partial_success_report_parseFromJSON() failed: Expected policy_dec_failure_reportsList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/pcscf_info.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/pcscf_info.c
Changed
@@ -290,10 +290,15 @@ } localEnum = OpenAPI_access_type_FromString(access_type_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_access_type_FromString(access_type_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"access_type\" is not supported. Ignoring it ...", + access_type_local->valuestring); + } else { + OpenAPI_list_add(access_typeList, (void *)localEnum); } - OpenAPI_list_add(access_typeList, (void *)localEnum); + } + if (access_typeList->count == 0) { + ogs_error("OpenAPI_pcscf_info_parseFromJSON() failed: Expected access_typeList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/pdu_session_types.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/pdu_session_types.c
Changed
@@ -103,10 +103,15 @@ } localEnum = OpenAPI_pdu_session_type_FromString(allowed_session_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_pdu_session_type_FromString(allowed_session_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"allowed_session_types\" is not supported. Ignoring it ...", + allowed_session_types_local->valuestring); + } else { + OpenAPI_list_add(allowed_session_typesList, (void *)localEnum); } - OpenAPI_list_add(allowed_session_typesList, (void *)localEnum); + } + if (allowed_session_typesList->count == 0) { + ogs_error("OpenAPI_pdu_session_types_parseFromJSON() failed: Expected allowed_session_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/pdu_session_types_1.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/pdu_session_types_1.c
Changed
@@ -103,10 +103,15 @@ } localEnum = OpenAPI_pdu_session_type_FromString(allowed_session_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_pdu_session_type_FromString(allowed_session_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"allowed_session_types\" is not supported. Ignoring it ...", + allowed_session_types_local->valuestring); + } else { + OpenAPI_list_add(allowed_session_typesList, (void *)localEnum); } - OpenAPI_list_add(allowed_session_typesList, (void *)localEnum); + } + if (allowed_session_typesList->count == 0) { + ogs_error("OpenAPI_pdu_session_types_1_parseFromJSON() failed: Expected allowed_session_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/plmn_restriction.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/plmn_restriction.c
Changed
@@ -197,10 +197,15 @@ } localEnum = OpenAPI_rat_type_FromString(rat_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(rat_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"rat_restrictions\" is not supported. Ignoring it ...", + rat_restrictions_local->valuestring); + } else { + OpenAPI_list_add(rat_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(rat_restrictionsList, (void *)localEnum); + } + if (rat_restrictionsList->count == 0) { + ogs_error("OpenAPI_plmn_restriction_parseFromJSON() failed: Expected rat_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -255,10 +260,15 @@ } localEnum = OpenAPI_core_network_type_FromString(core_network_type_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_core_network_type_FromString(core_network_type_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"core_network_type_restrictions\" is not supported. Ignoring it ...", + core_network_type_restrictions_local->valuestring); + } else { + OpenAPI_list_add(core_network_type_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(core_network_type_restrictionsList, (void *)localEnum); + } + if (core_network_type_restrictionsList->count == 0) { + ogs_error("OpenAPI_plmn_restriction_parseFromJSON() failed: Expected core_network_type_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -280,10 +290,15 @@ } localEnum = OpenAPI_rat_type_FromString(primary_rat_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(primary_rat_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"primary_rat_restrictions\" is not supported. Ignoring it ...", + primary_rat_restrictions_local->valuestring); + } else { + OpenAPI_list_add(primary_rat_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(primary_rat_restrictionsList, (void *)localEnum); + } + if (primary_rat_restrictionsList->count == 0) { + ogs_error("OpenAPI_plmn_restriction_parseFromJSON() failed: Expected primary_rat_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -305,10 +320,15 @@ } localEnum = OpenAPI_rat_type_FromString(secondary_rat_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(secondary_rat_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"secondary_rat_restrictions\" is not supported. Ignoring it ...", + secondary_rat_restrictions_local->valuestring); + } else { + OpenAPI_list_add(secondary_rat_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(secondary_rat_restrictionsList, (void *)localEnum); + } + if (secondary_rat_restrictionsList->count == 0) { + ogs_error("OpenAPI_plmn_restriction_parseFromJSON() failed: Expected secondary_rat_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/plmn_restriction_1.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/plmn_restriction_1.c
Changed
@@ -197,10 +197,15 @@ } localEnum = OpenAPI_rat_type_FromString(rat_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(rat_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"rat_restrictions\" is not supported. Ignoring it ...", + rat_restrictions_local->valuestring); + } else { + OpenAPI_list_add(rat_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(rat_restrictionsList, (void *)localEnum); + } + if (rat_restrictionsList->count == 0) { + ogs_error("OpenAPI_plmn_restriction_1_parseFromJSON() failed: Expected rat_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -255,10 +260,15 @@ } localEnum = OpenAPI_core_network_type_FromString(core_network_type_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_core_network_type_FromString(core_network_type_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"core_network_type_restrictions\" is not supported. Ignoring it ...", + core_network_type_restrictions_local->valuestring); + } else { + OpenAPI_list_add(core_network_type_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(core_network_type_restrictionsList, (void *)localEnum); + } + if (core_network_type_restrictionsList->count == 0) { + ogs_error("OpenAPI_plmn_restriction_1_parseFromJSON() failed: Expected core_network_type_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -280,10 +290,15 @@ } localEnum = OpenAPI_rat_type_FromString(primary_rat_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(primary_rat_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"primary_rat_restrictions\" is not supported. Ignoring it ...", + primary_rat_restrictions_local->valuestring); + } else { + OpenAPI_list_add(primary_rat_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(primary_rat_restrictionsList, (void *)localEnum); + } + if (primary_rat_restrictionsList->count == 0) { + ogs_error("OpenAPI_plmn_restriction_1_parseFromJSON() failed: Expected primary_rat_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -305,10 +320,15 @@ } localEnum = OpenAPI_rat_type_FromString(secondary_rat_restrictions_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(secondary_rat_restrictions_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"secondary_rat_restrictions\" is not supported. Ignoring it ...", + secondary_rat_restrictions_local->valuestring); + } else { + OpenAPI_list_add(secondary_rat_restrictionsList, (void *)localEnum); } - OpenAPI_list_add(secondary_rat_restrictionsList, (void *)localEnum); + } + if (secondary_rat_restrictionsList->count == 0) { + ogs_error("OpenAPI_plmn_restriction_1_parseFromJSON() failed: Expected secondary_rat_restrictionsList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/policy_association.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/policy_association.c
Changed
@@ -405,10 +405,15 @@ } localEnum = OpenAPI_request_trigger_FromString(triggers_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_request_trigger_FromString(triggers_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"triggers\" is not supported. Ignoring it ...", + triggers_local->valuestring); + } else { + OpenAPI_list_add(triggersList, (void *)localEnum); } - OpenAPI_list_add(triggersList, (void *)localEnum); + } + if (triggersList->count == 0) { + ogs_error("OpenAPI_policy_association_parseFromJSON() failed: Expected triggersList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/policy_association_request.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/policy_association_request.c
Changed
@@ -759,10 +759,15 @@ } localEnum = OpenAPI_access_type_FromString(access_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_access_type_FromString(access_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"access_types\" is not supported. Ignoring it ...", + access_types_local->valuestring); + } else { + OpenAPI_list_add(access_typesList, (void *)localEnum); } - OpenAPI_list_add(access_typesList, (void *)localEnum); + } + if (access_typesList->count == 0) { + ogs_error("OpenAPI_policy_association_request_parseFromJSON() failed: Expected access_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -827,10 +832,15 @@ } localEnum = OpenAPI_rat_type_FromString(rat_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(rat_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"rat_types\" is not supported. Ignoring it ...", + rat_types_local->valuestring); + } else { + OpenAPI_list_add(rat_typesList, (void *)localEnum); } - OpenAPI_list_add(rat_typesList, (void *)localEnum); + } + if (rat_typesList->count == 0) { + ogs_error("OpenAPI_policy_association_request_parseFromJSON() failed: Expected rat_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/policy_association_update_request.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/policy_association_update_request.c
Changed
@@ -673,10 +673,15 @@ } localEnum = OpenAPI_request_trigger_FromString(triggers_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_request_trigger_FromString(triggers_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"triggers\" is not supported. Ignoring it ...", + triggers_local->valuestring); + } else { + OpenAPI_list_add(triggersList, (void *)localEnum); } - OpenAPI_list_add(triggersList, (void *)localEnum); + } + if (triggersList->count == 0) { + ogs_error("OpenAPI_policy_association_update_request_parseFromJSON() failed: Expected triggersList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -875,10 +880,15 @@ } localEnum = OpenAPI_access_type_FromString(access_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_access_type_FromString(access_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"access_types\" is not supported. Ignoring it ...", + access_types_local->valuestring); + } else { + OpenAPI_list_add(access_typesList, (void *)localEnum); } - OpenAPI_list_add(access_typesList, (void *)localEnum); + } + if (access_typesList->count == 0) { + ogs_error("OpenAPI_policy_association_update_request_parseFromJSON() failed: Expected access_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -900,10 +910,15 @@ } localEnum = OpenAPI_rat_type_FromString(rat_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(rat_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"rat_types\" is not supported. Ignoring it ...", + rat_types_local->valuestring); + } else { + OpenAPI_list_add(rat_typesList, (void *)localEnum); } - OpenAPI_list_add(rat_typesList, (void *)localEnum); + } + if (rat_typesList->count == 0) { + ogs_error("OpenAPI_policy_association_update_request_parseFromJSON() failed: Expected rat_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/policy_update.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/policy_update.c
Changed
@@ -400,10 +400,15 @@ } localEnum = OpenAPI_request_trigger_FromString(triggers_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_request_trigger_FromString(triggers_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"triggers\" is not supported. Ignoring it ...", + triggers_local->valuestring); + } else { + OpenAPI_list_add(triggersList, (void *)localEnum); } - OpenAPI_list_add(triggersList, (void *)localEnum); + } + if (triggersList->count == 0) { + ogs_error("OpenAPI_policy_update_parseFromJSON() failed: Expected triggersList to not be empty (after ignoring unsupported enum values)."); + goto end; } } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/pro_se_allowed_plmn.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/pro_se_allowed_plmn.c
Changed
@@ -117,10 +117,15 @@ } localEnum = OpenAPI_prose_direct_allowed_FromString(prose_direct_allowed_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_prose_direct_allowed_FromString(prose_direct_allowed_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"prose_direct_allowed\" is not supported. Ignoring it ...", + prose_direct_allowed_local->valuestring); + } else { + OpenAPI_list_add(prose_direct_allowedList, (void *)localEnum); } - OpenAPI_list_add(prose_direct_allowedList, (void *)localEnum); + } + if (prose_direct_allowedList->count == 0) { + ogs_error("OpenAPI_pro_se_allowed_plmn_parseFromJSON() failed: Expected prose_direct_allowedList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/protection_policy.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/protection_policy.c
Changed
@@ -138,10 +138,15 @@ } localEnum = OpenAPI_ie_type_FromString(data_type_enc_policy_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_ie_type_FromString(data_type_enc_policy_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"data_type_enc_policy\" is not supported. Ignoring it ...", + data_type_enc_policy_local->valuestring); + } else { + OpenAPI_list_add(data_type_enc_policyList, (void *)localEnum); } - OpenAPI_list_add(data_type_enc_policyList, (void *)localEnum); + } + if (data_type_enc_policyList->count == 0) { + ogs_error("OpenAPI_protection_policy_parseFromJSON() failed: Expected data_type_enc_policyList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/qos_monitoring_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/qos_monitoring_data.c
Changed
@@ -287,10 +287,15 @@ } localEnum = OpenAPI_requested_qos_monitoring_parameter_FromString(req_qos_mon_params_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_requested_qos_monitoring_parameter_FromString(req_qos_mon_params_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"req_qos_mon_params\" is not supported. Ignoring it ...", + req_qos_mon_params_local->valuestring); + } else { + OpenAPI_list_add(req_qos_mon_paramsList, (void *)localEnum); } - OpenAPI_list_add(req_qos_mon_paramsList, (void *)localEnum); + } + if (req_qos_mon_paramsList->count == 0) { + ogs_error("OpenAPI_qos_monitoring_data_parseFromJSON() failed: Expected req_qos_mon_paramsList to not be empty (after ignoring unsupported enum values)."); + goto end; } rep_freqs = cJSON_GetObjectItemCaseSensitive(qos_monitoring_dataJSON, "repFreqs"); @@ -314,10 +319,15 @@ } localEnum = OpenAPI_reporting_frequency_FromString(rep_freqs_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_reporting_frequency_FromString(rep_freqs_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"rep_freqs\" is not supported. Ignoring it ...", + rep_freqs_local->valuestring); + } else { + OpenAPI_list_add(rep_freqsList, (void *)localEnum); } - OpenAPI_list_add(rep_freqsList, (void *)localEnum); + } + if (rep_freqsList->count == 0) { + ogs_error("OpenAPI_qos_monitoring_data_parseFromJSON() failed: Expected rep_freqsList to not be empty (after ignoring unsupported enum values)."); + goto end; } rep_thresh_dl = cJSON_GetObjectItemCaseSensitive(qos_monitoring_dataJSON, "repThreshDl");
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/registration_location_info.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/registration_location_info.c
Changed
@@ -204,10 +204,15 @@ } localEnum = OpenAPI_access_type_FromString(access_type_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_access_type_FromString(access_type_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"access_type_list\" is not supported. Ignoring it ...", + access_type_list_local->valuestring); + } else { + OpenAPI_list_add(access_type_listList, (void *)localEnum); } - OpenAPI_list_add(access_type_listList, (void *)localEnum); + } + if (access_type_listList->count == 0) { + ogs_error("OpenAPI_registration_location_info_parseFromJSON() failed: Expected access_type_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } registration_location_info_local_var = OpenAPI_registration_location_info_create (
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/reporting_information.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/reporting_information.c
Changed
@@ -238,10 +238,15 @@ } localEnum = OpenAPI_partitioning_criteria_FromString(partition_criteria_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_partitioning_criteria_FromString(partition_criteria_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"partition_criteria\" is not supported. Ignoring it ...", + partition_criteria_local->valuestring); + } else { + OpenAPI_list_add(partition_criteriaList, (void *)localEnum); } - OpenAPI_list_add(partition_criteriaList, (void *)localEnum); + } + if (partition_criteriaList->count == 0) { + ogs_error("OpenAPI_reporting_information_parseFromJSON() failed: Expected partition_criteriaList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/requested_rule_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/requested_rule_data.c
Changed
@@ -138,10 +138,15 @@ } localEnum = OpenAPI_requested_rule_data_type_FromString(req_data_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_requested_rule_data_type_FromString(req_data_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"req_data\" is not supported. Ignoring it ...", + req_data_local->valuestring); + } else { + OpenAPI_list_add(req_dataList, (void *)localEnum); } - OpenAPI_list_add(req_dataList, (void *)localEnum); + } + if (req_dataList->count == 0) { + ogs_error("OpenAPI_requested_rule_data_parseFromJSON() failed: Expected req_dataList to not be empty (after ignoring unsupported enum values)."); + goto end; } requested_rule_data_local_var = OpenAPI_requested_rule_data_create (
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/scp_domain_cond.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/scp_domain_cond.c
Changed
@@ -133,10 +133,15 @@ } localEnum = OpenAPI_nf_type_FromString(nf_type_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_nf_type_FromString(nf_type_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"nf_type_list\" is not supported. Ignoring it ...", + nf_type_list_local->valuestring); + } else { + OpenAPI_list_add(nf_type_listList, (void *)localEnum); } - OpenAPI_list_add(nf_type_listList, (void *)localEnum); + } + if (nf_type_listList->count == 0) { + ogs_error("OpenAPI_scp_domain_cond_parseFromJSON() failed: Expected nf_type_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/scp_info.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/scp_info.c
Changed
@@ -657,10 +657,15 @@ } localEnum = OpenAPI_scp_capability_FromString(scp_capabilities_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_scp_capability_FromString(scp_capabilities_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"scp_capabilities\" is not supported. Ignoring it ...", + scp_capabilities_local->valuestring); + } else { + OpenAPI_list_add(scp_capabilitiesList, (void *)localEnum); } - OpenAPI_list_add(scp_capabilitiesList, (void *)localEnum); + } + if (scp_capabilitiesList->count == 0) { + ogs_error("OpenAPI_scp_info_parseFromJSON() failed: Expected scp_capabilitiesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/sec_negotiate_req_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/sec_negotiate_req_data.c
Changed
@@ -263,10 +263,15 @@ } localEnum = OpenAPI_security_capability_FromString(supported_sec_capability_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_security_capability_FromString(supported_sec_capability_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"supported_sec_capability_list\" is not supported. Ignoring it ...", + supported_sec_capability_list_local->valuestring); + } else { + OpenAPI_list_add(supported_sec_capability_listList, (void *)localEnum); } - OpenAPI_list_add(supported_sec_capability_listList, (void *)localEnum); + } + if (supported_sec_capability_listList->count == 0) { + ogs_error("OpenAPI_sec_negotiate_req_data_parseFromJSON() failed: Expected supported_sec_capability_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } _3_gpp_sbi_target_api_root_supported = cJSON_GetObjectItemCaseSensitive(sec_negotiate_req_dataJSON, "3GppSbiTargetApiRootSupported");
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/session_rule_report.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/session_rule_report.c
Changed
@@ -177,10 +177,15 @@ } localEnum = OpenAPI_policy_decision_failure_code_FromString(policy_dec_failure_reports_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_policy_decision_failure_code_FromString(policy_dec_failure_reports_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"policy_dec_failure_reports\" is not supported. Ignoring it ...", + policy_dec_failure_reports_local->valuestring); + } else { + OpenAPI_list_add(policy_dec_failure_reportsList, (void *)localEnum); } - OpenAPI_list_add(policy_dec_failure_reportsList, (void *)localEnum); + } + if (policy_dec_failure_reportsList->count == 0) { + ogs_error("OpenAPI_session_rule_report_parseFromJSON() failed: Expected policy_dec_failure_reportsList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/sm_policy_decision.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/sm_policy_decision.c
Changed
@@ -1158,10 +1158,15 @@ } localEnum = OpenAPI_policy_control_request_trigger_FromString(policy_ctrl_req_triggers_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_policy_control_request_trigger_FromString(policy_ctrl_req_triggers_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"policy_ctrl_req_triggers\" is not supported. Ignoring it ...", + policy_ctrl_req_triggers_local->valuestring); + } else { + OpenAPI_list_add(policy_ctrl_req_triggersList, (void *)localEnum); } - OpenAPI_list_add(policy_ctrl_req_triggersList, (void *)localEnum); + } + if (policy_ctrl_req_triggersList->count == 0) { + ogs_error("OpenAPI_sm_policy_decision_parseFromJSON() failed: Expected policy_ctrl_req_triggersList to not be empty (after ignoring unsupported enum values)."); + goto end; } } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/sm_policy_update_context_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/sm_policy_update_context_data.c
Changed
@@ -1154,10 +1154,15 @@ } localEnum = OpenAPI_policy_control_request_trigger_FromString(rep_policy_ctrl_req_triggers_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_policy_control_request_trigger_FromString(rep_policy_ctrl_req_triggers_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"rep_policy_ctrl_req_triggers\" is not supported. Ignoring it ...", + rep_policy_ctrl_req_triggers_local->valuestring); + } else { + OpenAPI_list_add(rep_policy_ctrl_req_triggersList, (void *)localEnum); } - OpenAPI_list_add(rep_policy_ctrl_req_triggersList, (void *)localEnum); + } + if (rep_policy_ctrl_req_triggersList->count == 0) { + ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed: Expected rep_policy_ctrl_req_triggersList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1722,10 +1727,15 @@ } localEnum = OpenAPI_policy_decision_failure_code_FromString(policy_dec_failure_reports_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_policy_decision_failure_code_FromString(policy_dec_failure_reports_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"policy_dec_failure_reports\" is not supported. Ignoring it ...", + policy_dec_failure_reports_local->valuestring); + } else { + OpenAPI_list_add(policy_dec_failure_reportsList, (void *)localEnum); } - OpenAPI_list_add(policy_dec_failure_reportsList, (void *)localEnum); + } + if (policy_dec_failure_reportsList->count == 0) { + ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed: Expected policy_dec_failure_reportsList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1803,10 +1813,15 @@ } localEnum = OpenAPI_dl_data_delivery_status_FromString(types_of_notif_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_dl_data_delivery_status_FromString(types_of_notif_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"types_of_notif\" is not supported. Ignoring it ...", + types_of_notif_local->valuestring); + } else { + OpenAPI_list_add(types_of_notifList, (void *)localEnum); } - OpenAPI_list_add(types_of_notifList, (void *)localEnum); + } + if (types_of_notifList->count == 0) { + ogs_error("OpenAPI_sm_policy_update_context_data_parseFromJSON() failed: Expected types_of_notifList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/smf_info.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/smf_info.c
Changed
@@ -398,10 +398,15 @@ } localEnum = OpenAPI_access_type_FromString(access_type_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_access_type_FromString(access_type_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"access_type\" is not supported. Ignoring it ...", + access_type_local->valuestring); + } else { + OpenAPI_list_add(access_typeList, (void *)localEnum); } - OpenAPI_list_add(access_typeList, (void *)localEnum); + } + if (access_typeList->count == 0) { + ogs_error("OpenAPI_smf_info_parseFromJSON() failed: Expected access_typeList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/ssc_modes.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/ssc_modes.c
Changed
@@ -107,10 +107,15 @@ } localEnum = OpenAPI_ssc_mode_FromString(allowed_ssc_modes_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_ssc_mode_FromString(allowed_ssc_modes_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"allowed_ssc_modes\" is not supported. Ignoring it ...", + allowed_ssc_modes_local->valuestring); + } else { + OpenAPI_list_add(allowed_ssc_modesList, (void *)localEnum); } - OpenAPI_list_add(allowed_ssc_modesList, (void *)localEnum); + } + if (allowed_ssc_modesList->count == 0) { + ogs_error("OpenAPI_ssc_modes_parseFromJSON() failed: Expected allowed_ssc_modesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/ssc_modes_1.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/ssc_modes_1.c
Changed
@@ -107,10 +107,15 @@ } localEnum = OpenAPI_ssc_mode_FromString(allowed_ssc_modes_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_ssc_mode_FromString(allowed_ssc_modes_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"allowed_ssc_modes\" is not supported. Ignoring it ...", + allowed_ssc_modes_local->valuestring); + } else { + OpenAPI_list_add(allowed_ssc_modesList, (void *)localEnum); } - OpenAPI_list_add(allowed_ssc_modesList, (void *)localEnum); + } + if (allowed_ssc_modesList->count == 0) { + ogs_error("OpenAPI_ssc_modes_1_parseFromJSON() failed: Expected allowed_ssc_modesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/subscription_data.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/subscription_data.c
Changed
@@ -501,10 +501,15 @@ } localEnum = OpenAPI_notification_event_type_FromString(req_notif_events_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_notification_event_type_FromString(req_notif_events_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"req_notif_events\" is not supported. Ignoring it ...", + req_notif_events_local->valuestring); + } else { + OpenAPI_list_add(req_notif_eventsList, (void *)localEnum); } - OpenAPI_list_add(req_notif_eventsList, (void *)localEnum); + } + if (req_notif_eventsList->count == 0) { + ogs_error("OpenAPI_subscription_data_parseFromJSON() failed: Expected req_notif_eventsList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/trust_af_info.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/trust_af_info.c
Changed
@@ -196,10 +196,15 @@ } localEnum = OpenAPI_af_event_FromString(af_events_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_af_event_FromString(af_events_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"af_events\" is not supported. Ignoring it ...", + af_events_local->valuestring); + } else { + OpenAPI_list_add(af_eventsList, (void *)localEnum); } - OpenAPI_list_add(af_eventsList, (void *)localEnum); + } + if (af_eventsList->count == 0) { + ogs_error("OpenAPI_trust_af_info_parseFromJSON() failed: Expected af_eventsList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/udr_info.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/udr_info.c
Changed
@@ -285,10 +285,15 @@ } localEnum = OpenAPI_data_set_id_FromString(supported_data_sets_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_data_set_id_FromString(supported_data_sets_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"supported_data_sets\" is not supported. Ignoring it ...", + supported_data_sets_local->valuestring); + } else { + OpenAPI_list_add(supported_data_setsList, (void *)localEnum); } - OpenAPI_list_add(supported_data_setsList, (void *)localEnum); + } + if (supported_data_setsList->count == 0) { + ogs_error("OpenAPI_udr_info_parseFromJSON() failed: Expected supported_data_setsList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/ue_context.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/ue_context.c
Changed
@@ -1774,10 +1774,15 @@ } localEnum = OpenAPI_policy_req_trigger_FromString(am_policy_req_trigger_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_policy_req_trigger_FromString(am_policy_req_trigger_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"am_policy_req_trigger_list\" is not supported. Ignoring it ...", + am_policy_req_trigger_list_local->valuestring); + } else { + OpenAPI_list_add(am_policy_req_trigger_listList, (void *)localEnum); } - OpenAPI_list_add(am_policy_req_trigger_listList, (void *)localEnum); + } + if (am_policy_req_trigger_listList->count == 0) { + ogs_error("OpenAPI_ue_context_parseFromJSON() failed: Expected am_policy_req_trigger_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1807,10 +1812,15 @@ } localEnum = OpenAPI_policy_req_trigger_FromString(ue_policy_req_trigger_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_policy_req_trigger_FromString(ue_policy_req_trigger_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"ue_policy_req_trigger_list\" is not supported. Ignoring it ...", + ue_policy_req_trigger_list_local->valuestring); + } else { + OpenAPI_list_add(ue_policy_req_trigger_listList, (void *)localEnum); } - OpenAPI_list_add(ue_policy_req_trigger_listList, (void *)localEnum); + } + if (ue_policy_req_trigger_listList->count == 0) { + ogs_error("OpenAPI_ue_context_parseFromJSON() failed: Expected ue_policy_req_trigger_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1848,10 +1858,15 @@ } localEnum = OpenAPI_rat_type_FromString(restricted_rat_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(restricted_rat_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"restricted_rat_list\" is not supported. Ignoring it ...", + restricted_rat_list_local->valuestring); + } else { + OpenAPI_list_add(restricted_rat_listList, (void *)localEnum); } - OpenAPI_list_add(restricted_rat_listList, (void *)localEnum); + } + if (restricted_rat_listList->count == 0) { + ogs_error("OpenAPI_ue_context_parseFromJSON() failed: Expected restricted_rat_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -1906,10 +1921,15 @@ } localEnum = OpenAPI_core_network_type_FromString(restricted_core_nw_type_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_core_network_type_FromString(restricted_core_nw_type_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"restricted_core_nw_type_list\" is not supported. Ignoring it ...", + restricted_core_nw_type_list_local->valuestring); + } else { + OpenAPI_list_add(restricted_core_nw_type_listList, (void *)localEnum); } - OpenAPI_list_add(restricted_core_nw_type_listList, (void *)localEnum); + } + if (restricted_core_nw_type_listList->count == 0) { + ogs_error("OpenAPI_ue_context_parseFromJSON() failed: Expected restricted_core_nw_type_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -2100,10 +2120,15 @@ } localEnum = OpenAPI_rat_type_FromString(restricted_primary_rat_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(restricted_primary_rat_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"restricted_primary_rat_list\" is not supported. Ignoring it ...", + restricted_primary_rat_list_local->valuestring); + } else { + OpenAPI_list_add(restricted_primary_rat_listList, (void *)localEnum); } - OpenAPI_list_add(restricted_primary_rat_listList, (void *)localEnum); + } + if (restricted_primary_rat_listList->count == 0) { + ogs_error("OpenAPI_ue_context_parseFromJSON() failed: Expected restricted_primary_rat_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } } @@ -2125,10 +2150,15 @@ } localEnum = OpenAPI_rat_type_FromString(restricted_secondary_rat_list_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_rat_type_FromString(restricted_secondary_rat_list_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"restricted_secondary_rat_list\" is not supported. Ignoring it ...", + restricted_secondary_rat_list_local->valuestring); + } else { + OpenAPI_list_add(restricted_secondary_rat_listList, (void *)localEnum); } - OpenAPI_list_add(restricted_secondary_rat_listList, (void *)localEnum); + } + if (restricted_secondary_rat_listList->count == 0) { + ogs_error("OpenAPI_ue_context_parseFromJSON() failed: Expected restricted_secondary_rat_listList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/openapi/model/upf_info.c -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/openapi/model/upf_info.c
Changed
@@ -467,10 +467,15 @@ } localEnum = OpenAPI_pdu_session_type_FromString(pdu_session_types_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_pdu_session_type_FromString(pdu_session_types_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"pdu_session_types\" is not supported. Ignoring it ...", + pdu_session_types_local->valuestring); + } else { + OpenAPI_list_add(pdu_session_typesList, (void *)localEnum); } - OpenAPI_list_add(pdu_session_typesList, (void *)localEnum); + } + if (pdu_session_typesList->count == 0) { + ogs_error("OpenAPI_upf_info_parseFromJSON() failed: Expected pdu_session_typesList to not be empty (after ignoring unsupported enum values)."); + goto end; } }
View file
open5gs_2.6.6.18.e3c2.202310252026.tar.xz/lib/sbi/support/r17-20230301-openapitools-6.4.0/openapi-generator/templates/model-body.mustache -> open5gs_2.6.6.19.3c681.202310262026.tar.xz/lib/sbi/support/r17-20230301-openapitools-6.4.0/openapi-generator/templates/model-body.mustache
Changed
@@ -789,10 +789,11 @@ } localEnum = OpenAPI_{{{complexType}}}_FromString({{{name}}}_local->valuestring); if (!localEnum) { - ogs_error("OpenAPI_{{{complexType}}}_FromString({{{name}}}_local->valuestring) failed"); - goto end; + ogs_info("Enum value \"%s\" for field \"{{{name}}}\" is not supported. Ignoring it ...", + {{{name}}}_local->valuestring); + } else { + OpenAPI_list_add({{{name}}}List, (void *)localEnum); } - OpenAPI_list_add({{{name}}}List, (void *)localEnum); {{/isEnum}} {{^isEnum}} {{#isPrimitiveType}} @@ -857,6 +858,12 @@ {{/items}} {{/isEnum}} } + {{#isEnum}} + if ({{{name}}}List->count == 0) { + ogs_error("OpenAPI_{{classname}}_parseFromJSON() failed: Expected {{{name}}}List to not be empty (after ignoring unsupported enum values)."); + goto end; + } + {{/isEnum}} {{/isArray}} {{#isMap}} cJSON *{{{name}}}_local_map = NULL;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.