mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-03 13:50:08 +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
|
|
@ -72,7 +72,6 @@ OpenAPI_rg_authentication_info_t *OpenAPI_rg_authentication_info_parseFromJSON(c
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
if (!cJSON_IsString(suci)) {
|
||||
ogs_error("OpenAPI_rg_authentication_info_parseFromJSON() failed [suci]");
|
||||
goto end;
|
||||
|
|
@ -84,7 +83,6 @@ OpenAPI_rg_authentication_info_t *OpenAPI_rg_authentication_info_parseFromJSON(c
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
if (!cJSON_IsBool(authenticated_ind)) {
|
||||
ogs_error("OpenAPI_rg_authentication_info_parseFromJSON() failed [authenticated_ind]");
|
||||
goto end;
|
||||
|
|
@ -92,7 +90,7 @@ OpenAPI_rg_authentication_info_t *OpenAPI_rg_authentication_info_parseFromJSON(c
|
|||
|
||||
cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(rg_authentication_infoJSON, "supportedFeatures");
|
||||
|
||||
if (supported_features) {
|
||||
if (supported_features) {
|
||||
if (!cJSON_IsString(supported_features)) {
|
||||
ogs_error("OpenAPI_rg_authentication_info_parseFromJSON() failed [supported_features]");
|
||||
goto end;
|
||||
|
|
@ -101,6 +99,7 @@ OpenAPI_rg_authentication_info_t *OpenAPI_rg_authentication_info_parseFromJSON(c
|
|||
|
||||
rg_authentication_info_local_var = OpenAPI_rg_authentication_info_create (
|
||||
ogs_strdup_or_assert(suci->valuestring),
|
||||
|
||||
authenticated_ind->valueint,
|
||||
supported_features ? ogs_strdup_or_assert(supported_features->valuestring) : NULL
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue