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

@ -64,7 +64,6 @@ OpenAPI_mo_exp_data_counter_t *OpenAPI_mo_exp_data_counter_parseFromJSON(cJSON *
goto end;
}
if (!cJSON_IsNumber(counter)) {
ogs_error("OpenAPI_mo_exp_data_counter_parseFromJSON() failed [counter]");
goto end;
@ -72,7 +71,7 @@ OpenAPI_mo_exp_data_counter_t *OpenAPI_mo_exp_data_counter_parseFromJSON(cJSON *
cJSON *time_stamp = cJSON_GetObjectItemCaseSensitive(mo_exp_data_counterJSON, "timeStamp");
if (time_stamp) {
if (time_stamp) {
if (!cJSON_IsString(time_stamp)) {
ogs_error("OpenAPI_mo_exp_data_counter_parseFromJSON() failed [time_stamp]");
goto end;
@ -80,6 +79,7 @@ OpenAPI_mo_exp_data_counter_t *OpenAPI_mo_exp_data_counter_parseFromJSON(cJSON *
}
mo_exp_data_counter_local_var = OpenAPI_mo_exp_data_counter_create (
counter->valuedouble,
time_stamp ? ogs_strdup_or_assert(time_stamp->valuestring) : NULL
);