mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 15:24:14 +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_notify_item_t *OpenAPI_notify_item_create(
|
||||
char *resource_id,
|
||||
OpenAPI_list_t *changes
|
||||
)
|
||||
)
|
||||
{
|
||||
OpenAPI_notify_item_t *notify_item_local_var = OpenAPI_malloc(sizeof(OpenAPI_notify_item_t));
|
||||
if (!notify_item_local_var) {
|
||||
|
|
@ -79,7 +79,7 @@ OpenAPI_notify_item_t *OpenAPI_notify_item_parseFromJSON(cJSON *notify_itemJSON)
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!cJSON_IsString(resource_id)) {
|
||||
ogs_error("OpenAPI_notify_item_parseFromJSON() failed [resource_id]");
|
||||
goto end;
|
||||
|
|
@ -92,9 +92,9 @@ OpenAPI_notify_item_t *OpenAPI_notify_item_parseFromJSON(cJSON *notify_itemJSON)
|
|||
}
|
||||
|
||||
OpenAPI_list_t *changesList;
|
||||
|
||||
|
||||
cJSON *changes_local_nonprimitive;
|
||||
if (!cJSON_IsArray(changes)) {
|
||||
if (!cJSON_IsArray(changes)){
|
||||
ogs_error("OpenAPI_notify_item_parseFromJSON() failed [changes]");
|
||||
goto end;
|
||||
}
|
||||
|
|
@ -114,7 +114,7 @@ OpenAPI_notify_item_t *OpenAPI_notify_item_parseFromJSON(cJSON *notify_itemJSON)
|
|||
notify_item_local_var = OpenAPI_notify_item_create (
|
||||
ogs_strdup_or_assert(resource_id->valuestring),
|
||||
changesList
|
||||
);
|
||||
);
|
||||
|
||||
return notify_item_local_var;
|
||||
end:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue