mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 07:08:11 +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_eps_iwk_pgw_t *OpenAPI_eps_iwk_pgw_create(
|
||||
char *pgw_fqdn,
|
||||
char *smf_instance_id
|
||||
)
|
||||
)
|
||||
{
|
||||
OpenAPI_eps_iwk_pgw_t *eps_iwk_pgw_local_var = OpenAPI_malloc(sizeof(OpenAPI_eps_iwk_pgw_t));
|
||||
if (!eps_iwk_pgw_local_var) {
|
||||
|
|
@ -63,7 +63,7 @@ OpenAPI_eps_iwk_pgw_t *OpenAPI_eps_iwk_pgw_parseFromJSON(cJSON *eps_iwk_pgwJSON)
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!cJSON_IsString(pgw_fqdn)) {
|
||||
ogs_error("OpenAPI_eps_iwk_pgw_parseFromJSON() failed [pgw_fqdn]");
|
||||
goto end;
|
||||
|
|
@ -75,7 +75,7 @@ OpenAPI_eps_iwk_pgw_t *OpenAPI_eps_iwk_pgw_parseFromJSON(cJSON *eps_iwk_pgwJSON)
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!cJSON_IsString(smf_instance_id)) {
|
||||
ogs_error("OpenAPI_eps_iwk_pgw_parseFromJSON() failed [smf_instance_id]");
|
||||
goto end;
|
||||
|
|
@ -84,7 +84,7 @@ OpenAPI_eps_iwk_pgw_t *OpenAPI_eps_iwk_pgw_parseFromJSON(cJSON *eps_iwk_pgwJSON)
|
|||
eps_iwk_pgw_local_var = OpenAPI_eps_iwk_pgw_create (
|
||||
ogs_strdup_or_assert(pgw_fqdn->valuestring),
|
||||
ogs_strdup_or_assert(smf_instance_id->valuestring)
|
||||
);
|
||||
);
|
||||
|
||||
return eps_iwk_pgw_local_var;
|
||||
end:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue