mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 14:20:09 +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
|
|
@ -76,7 +76,7 @@ OpenAPI_area_t *OpenAPI_area_parseFromJSON(cJSON *areaJSON)
|
|||
cJSON *tacs = cJSON_GetObjectItemCaseSensitive(areaJSON, "tacs");
|
||||
|
||||
OpenAPI_list_t *tacsList;
|
||||
if (tacs) {
|
||||
if (tacs) {
|
||||
cJSON *tacs_local;
|
||||
if (!cJSON_IsArray(tacs)) {
|
||||
ogs_error("OpenAPI_area_parseFromJSON() failed [tacs]");
|
||||
|
|
@ -90,12 +90,12 @@ OpenAPI_area_t *OpenAPI_area_parseFromJSON(cJSON *areaJSON)
|
|||
goto end;
|
||||
}
|
||||
OpenAPI_list_add(tacsList , ogs_strdup_or_assert(tacs_local->valuestring));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cJSON *area_code = cJSON_GetObjectItemCaseSensitive(areaJSON, "areaCode");
|
||||
|
||||
if (area_code) {
|
||||
if (area_code) {
|
||||
if (!cJSON_IsString(area_code)) {
|
||||
ogs_error("OpenAPI_area_parseFromJSON() failed [area_code]");
|
||||
goto end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue