Upgrade SBI(Service-based Interface)

* OpenAPI Generator version: 4.3.1 ==> 5.5.1
* Specification : r16.8.0 (20210629)
This commit is contained in:
Sukchan Lee 2021-07-07 17:32:55 +09:00
parent 2aaa8200c2
commit f278d58a69
1914 changed files with 91329 additions and 57361 deletions

View file

@ -7,7 +7,7 @@
OpenAPI_ue_context_in_smsf_data_t *OpenAPI_ue_context_in_smsf_data_create(
OpenAPI_smsf_info_t *smsf_info3_gpp_access,
OpenAPI_smsf_info_t *smsf_info_non3_gpp_access
)
)
{
OpenAPI_ue_context_in_smsf_data_t *ue_context_in_smsf_data_local_var = OpenAPI_malloc(sizeof(OpenAPI_ue_context_in_smsf_data_t));
if (!ue_context_in_smsf_data_local_var) {
@ -41,29 +41,29 @@ cJSON *OpenAPI_ue_context_in_smsf_data_convertToJSON(OpenAPI_ue_context_in_smsf_
item = cJSON_CreateObject();
if (ue_context_in_smsf_data->smsf_info3_gpp_access) {
cJSON *smsf_info3_gpp_access_local_JSON = OpenAPI_smsf_info_convertToJSON(ue_context_in_smsf_data->smsf_info3_gpp_access);
if (smsf_info3_gpp_access_local_JSON == NULL) {
ogs_error("OpenAPI_ue_context_in_smsf_data_convertToJSON() failed [smsf_info3_gpp_access]");
goto end;
}
cJSON_AddItemToObject(item, "smsfInfo3GppAccess", smsf_info3_gpp_access_local_JSON);
if (item->child == NULL) {
ogs_error("OpenAPI_ue_context_in_smsf_data_convertToJSON() failed [smsf_info3_gpp_access]");
goto end;
}
cJSON *smsf_info3_gpp_access_local_JSON = OpenAPI_smsf_info_convertToJSON(ue_context_in_smsf_data->smsf_info3_gpp_access);
if (smsf_info3_gpp_access_local_JSON == NULL) {
ogs_error("OpenAPI_ue_context_in_smsf_data_convertToJSON() failed [smsf_info3_gpp_access]");
goto end;
}
cJSON_AddItemToObject(item, "smsfInfo3GppAccess", smsf_info3_gpp_access_local_JSON);
if (item->child == NULL) {
ogs_error("OpenAPI_ue_context_in_smsf_data_convertToJSON() failed [smsf_info3_gpp_access]");
goto end;
}
}
if (ue_context_in_smsf_data->smsf_info_non3_gpp_access) {
cJSON *smsf_info_non3_gpp_access_local_JSON = OpenAPI_smsf_info_convertToJSON(ue_context_in_smsf_data->smsf_info_non3_gpp_access);
if (smsf_info_non3_gpp_access_local_JSON == NULL) {
ogs_error("OpenAPI_ue_context_in_smsf_data_convertToJSON() failed [smsf_info_non3_gpp_access]");
goto end;
}
cJSON_AddItemToObject(item, "smsfInfoNon3GppAccess", smsf_info_non3_gpp_access_local_JSON);
if (item->child == NULL) {
ogs_error("OpenAPI_ue_context_in_smsf_data_convertToJSON() failed [smsf_info_non3_gpp_access]");
goto end;
}
cJSON *smsf_info_non3_gpp_access_local_JSON = OpenAPI_smsf_info_convertToJSON(ue_context_in_smsf_data->smsf_info_non3_gpp_access);
if (smsf_info_non3_gpp_access_local_JSON == NULL) {
ogs_error("OpenAPI_ue_context_in_smsf_data_convertToJSON() failed [smsf_info_non3_gpp_access]");
goto end;
}
cJSON_AddItemToObject(item, "smsfInfoNon3GppAccess", smsf_info_non3_gpp_access_local_JSON);
if (item->child == NULL) {
ogs_error("OpenAPI_ue_context_in_smsf_data_convertToJSON() failed [smsf_info_non3_gpp_access]");
goto end;
}
}
end:
@ -76,21 +76,21 @@ OpenAPI_ue_context_in_smsf_data_t *OpenAPI_ue_context_in_smsf_data_parseFromJSON
cJSON *smsf_info3_gpp_access = cJSON_GetObjectItemCaseSensitive(ue_context_in_smsf_dataJSON, "smsfInfo3GppAccess");
OpenAPI_smsf_info_t *smsf_info3_gpp_access_local_nonprim = NULL;
if (smsf_info3_gpp_access) {
smsf_info3_gpp_access_local_nonprim = OpenAPI_smsf_info_parseFromJSON(smsf_info3_gpp_access);
}
if (smsf_info3_gpp_access) {
smsf_info3_gpp_access_local_nonprim = OpenAPI_smsf_info_parseFromJSON(smsf_info3_gpp_access);
}
cJSON *smsf_info_non3_gpp_access = cJSON_GetObjectItemCaseSensitive(ue_context_in_smsf_dataJSON, "smsfInfoNon3GppAccess");
OpenAPI_smsf_info_t *smsf_info_non3_gpp_access_local_nonprim = NULL;
if (smsf_info_non3_gpp_access) {
smsf_info_non3_gpp_access_local_nonprim = OpenAPI_smsf_info_parseFromJSON(smsf_info_non3_gpp_access);
}
if (smsf_info_non3_gpp_access) {
smsf_info_non3_gpp_access_local_nonprim = OpenAPI_smsf_info_parseFromJSON(smsf_info_non3_gpp_access);
}
ue_context_in_smsf_data_local_var = OpenAPI_ue_context_in_smsf_data_create (
smsf_info3_gpp_access ? smsf_info3_gpp_access_local_nonprim : NULL,
smsf_info_non3_gpp_access ? smsf_info_non3_gpp_access_local_nonprim : NULL
);
);
return ue_context_in_smsf_data_local_var;
end: