SBI updated

- openapi-generator version 5.2.0
- add priority/capacity/load in NFProfile/NFService
- add AllowedNfTypes in NFProfile/NFService
This commit is contained in:
Sukchan Lee 2021-07-16 17:02:33 +09:00
parent 1326fc85dc
commit 039b9d0aaa
930 changed files with 7387 additions and 5434 deletions

View file

@ -86,7 +86,7 @@ OpenAPI_scheduled_communication_time_t *OpenAPI_scheduled_communication_time_par
cJSON *days_of_week = cJSON_GetObjectItemCaseSensitive(scheduled_communication_timeJSON, "daysOfWeek");
OpenAPI_list_t *days_of_weekList;
if (days_of_week) {
if (days_of_week) {
cJSON *days_of_week_local;
if (!cJSON_IsArray(days_of_week)) {
ogs_error("OpenAPI_scheduled_communication_time_parseFromJSON() failed [days_of_week]");
@ -100,12 +100,12 @@ OpenAPI_scheduled_communication_time_t *OpenAPI_scheduled_communication_time_par
goto end;
}
OpenAPI_list_add(days_of_weekList , &days_of_week_local->valuedouble);
}
}
}
cJSON *time_of_day_start = cJSON_GetObjectItemCaseSensitive(scheduled_communication_timeJSON, "timeOfDayStart");
if (time_of_day_start) {
if (time_of_day_start) {
if (!cJSON_IsString(time_of_day_start)) {
ogs_error("OpenAPI_scheduled_communication_time_parseFromJSON() failed [time_of_day_start]");
goto end;
@ -114,7 +114,7 @@ OpenAPI_scheduled_communication_time_t *OpenAPI_scheduled_communication_time_par
cJSON *time_of_day_end = cJSON_GetObjectItemCaseSensitive(scheduled_communication_timeJSON, "timeOfDayEnd");
if (time_of_day_end) {
if (time_of_day_end) {
if (!cJSON_IsString(time_of_day_end)) {
ogs_error("OpenAPI_scheduled_communication_time_parseFromJSON() failed [time_of_day_end]");
goto end;