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_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: