mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30: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
|
|
@ -64,7 +64,6 @@ OpenAPI_snssai_t *OpenAPI_snssai_parseFromJSON(cJSON *snssaiJSON)
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
if (!cJSON_IsNumber(sst)) {
|
||||
ogs_error("OpenAPI_snssai_parseFromJSON() failed [sst]");
|
||||
goto end;
|
||||
|
|
@ -72,7 +71,7 @@ OpenAPI_snssai_t *OpenAPI_snssai_parseFromJSON(cJSON *snssaiJSON)
|
|||
|
||||
cJSON *sd = cJSON_GetObjectItemCaseSensitive(snssaiJSON, "sd");
|
||||
|
||||
if (sd) {
|
||||
if (sd) {
|
||||
if (!cJSON_IsString(sd)) {
|
||||
ogs_error("OpenAPI_snssai_parseFromJSON() failed [sd]");
|
||||
goto end;
|
||||
|
|
@ -80,6 +79,7 @@ OpenAPI_snssai_t *OpenAPI_snssai_parseFromJSON(cJSON *snssaiJSON)
|
|||
}
|
||||
|
||||
snssai_local_var = OpenAPI_snssai_create (
|
||||
|
||||
sst->valuedouble,
|
||||
sd ? ogs_strdup_or_assert(sd->valuestring) : NULL
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue