mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 14:20:09 +00:00
SBI updated
- openapi-generator version 5.2.0 - add priority/capacity/load in NFProfile/NFService - add AllowedNfTypes in NFProfile/NFService
This commit is contained in:
parent
1326fc85dc
commit
039b9d0aaa
930 changed files with 7387 additions and 5434 deletions
|
|
@ -122,27 +122,26 @@ OpenAPI_sm_context_update_error_t *OpenAPI_sm_context_update_error_parseFromJSON
|
|||
}
|
||||
|
||||
OpenAPI_ext_problem_details_t *error_local_nonprim = NULL;
|
||||
|
||||
error_local_nonprim = OpenAPI_ext_problem_details_parseFromJSON(error);
|
||||
|
||||
cJSON *n1_sm_msg = cJSON_GetObjectItemCaseSensitive(sm_context_update_errorJSON, "n1SmMsg");
|
||||
|
||||
OpenAPI_ref_to_binary_data_t *n1_sm_msg_local_nonprim = NULL;
|
||||
if (n1_sm_msg) {
|
||||
if (n1_sm_msg) {
|
||||
n1_sm_msg_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n1_sm_msg);
|
||||
}
|
||||
|
||||
cJSON *n2_sm_info = cJSON_GetObjectItemCaseSensitive(sm_context_update_errorJSON, "n2SmInfo");
|
||||
|
||||
OpenAPI_ref_to_binary_data_t *n2_sm_info_local_nonprim = NULL;
|
||||
if (n2_sm_info) {
|
||||
if (n2_sm_info) {
|
||||
n2_sm_info_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(n2_sm_info);
|
||||
}
|
||||
|
||||
cJSON *n2_sm_info_type = cJSON_GetObjectItemCaseSensitive(sm_context_update_errorJSON, "n2SmInfoType");
|
||||
|
||||
OpenAPI_n2_sm_info_type_e n2_sm_info_typeVariable;
|
||||
if (n2_sm_info_type) {
|
||||
if (n2_sm_info_type) {
|
||||
if (!cJSON_IsString(n2_sm_info_type)) {
|
||||
ogs_error("OpenAPI_sm_context_update_error_parseFromJSON() failed [n2_sm_info_type]");
|
||||
goto end;
|
||||
|
|
@ -153,7 +152,7 @@ OpenAPI_sm_context_update_error_t *OpenAPI_sm_context_update_error_parseFromJSON
|
|||
cJSON *up_cnx_state = cJSON_GetObjectItemCaseSensitive(sm_context_update_errorJSON, "upCnxState");
|
||||
|
||||
OpenAPI_up_cnx_state_e up_cnx_stateVariable;
|
||||
if (up_cnx_state) {
|
||||
if (up_cnx_state) {
|
||||
if (!cJSON_IsString(up_cnx_state)) {
|
||||
ogs_error("OpenAPI_sm_context_update_error_parseFromJSON() failed [up_cnx_state]");
|
||||
goto end;
|
||||
|
|
@ -163,7 +162,7 @@ OpenAPI_sm_context_update_error_t *OpenAPI_sm_context_update_error_parseFromJSON
|
|||
|
||||
cJSON *recovery_time = cJSON_GetObjectItemCaseSensitive(sm_context_update_errorJSON, "recoveryTime");
|
||||
|
||||
if (recovery_time) {
|
||||
if (recovery_time) {
|
||||
if (!cJSON_IsString(recovery_time)) {
|
||||
ogs_error("OpenAPI_sm_context_update_error_parseFromJSON() failed [recovery_time]");
|
||||
goto end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue