mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
Upgrade SBI(Service-based Interface)
* OpenAPI Generator version: 4.3.1 ==> 5.5.1 * Specification : r16.8.0 (20210629)
This commit is contained in:
parent
2aaa8200c2
commit
f278d58a69
1914 changed files with 91329 additions and 57361 deletions
|
|
@ -7,7 +7,7 @@
|
|||
OpenAPI_smsf_info_t *OpenAPI_smsf_info_create(
|
||||
char *smsf_instance_id,
|
||||
OpenAPI_plmn_id_t *plmn_id
|
||||
)
|
||||
)
|
||||
{
|
||||
OpenAPI_smsf_info_t *smsf_info_local_var = OpenAPI_malloc(sizeof(OpenAPI_smsf_info_t));
|
||||
if (!smsf_info_local_var) {
|
||||
|
|
@ -69,7 +69,7 @@ OpenAPI_smsf_info_t *OpenAPI_smsf_info_parseFromJSON(cJSON *smsf_infoJSON)
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!cJSON_IsString(smsf_instance_id)) {
|
||||
ogs_error("OpenAPI_smsf_info_parseFromJSON() failed [smsf_instance_id]");
|
||||
goto end;
|
||||
|
|
@ -82,13 +82,13 @@ OpenAPI_smsf_info_t *OpenAPI_smsf_info_parseFromJSON(cJSON *smsf_infoJSON)
|
|||
}
|
||||
|
||||
OpenAPI_plmn_id_t *plmn_id_local_nonprim = NULL;
|
||||
|
||||
|
||||
plmn_id_local_nonprim = OpenAPI_plmn_id_parseFromJSON(plmn_id);
|
||||
|
||||
smsf_info_local_var = OpenAPI_smsf_info_create (
|
||||
ogs_strdup_or_assert(smsf_instance_id->valuestring),
|
||||
plmn_id_local_nonprim
|
||||
);
|
||||
);
|
||||
|
||||
return smsf_info_local_var;
|
||||
end:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue