mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 06:10:11 +00:00
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:
parent
1326fc85dc
commit
039b9d0aaa
930 changed files with 7387 additions and 5434 deletions
|
|
@ -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
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue