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_notification_item_t *OpenAPI_notification_item_create(
|
||||
char *resource_id,
|
||||
OpenAPI_list_t *notif_items
|
||||
)
|
||||
)
|
||||
{
|
||||
OpenAPI_notification_item_t *notification_item_local_var = OpenAPI_malloc(sizeof(OpenAPI_notification_item_t));
|
||||
if (!notification_item_local_var) {
|
||||
|
|
@ -79,7 +79,7 @@ OpenAPI_notification_item_t *OpenAPI_notification_item_parseFromJSON(cJSON *noti
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!cJSON_IsString(resource_id)) {
|
||||
ogs_error("OpenAPI_notification_item_parseFromJSON() failed [resource_id]");
|
||||
goto end;
|
||||
|
|
@ -92,9 +92,9 @@ OpenAPI_notification_item_t *OpenAPI_notification_item_parseFromJSON(cJSON *noti
|
|||
}
|
||||
|
||||
OpenAPI_list_t *notif_itemsList;
|
||||
|
||||
|
||||
cJSON *notif_items_local_nonprimitive;
|
||||
if (!cJSON_IsArray(notif_items)) {
|
||||
if (!cJSON_IsArray(notif_items)){
|
||||
ogs_error("OpenAPI_notification_item_parseFromJSON() failed [notif_items]");
|
||||
goto end;
|
||||
}
|
||||
|
|
@ -114,7 +114,7 @@ OpenAPI_notification_item_t *OpenAPI_notification_item_parseFromJSON(cJSON *noti
|
|||
notification_item_local_var = OpenAPI_notification_item_create (
|
||||
ogs_strdup_or_assert(resource_id->valuestring),
|
||||
notif_itemsList
|
||||
);
|
||||
);
|
||||
|
||||
return notification_item_local_var;
|
||||
end:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue