mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 23:37:22 +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
|
|
@ -95,7 +95,7 @@ OpenAPI_sor_info_t *OpenAPI_sor_info_parseFromJSON(cJSON *sor_infoJSON)
|
|||
cJSON *steering_container = cJSON_GetObjectItemCaseSensitive(sor_infoJSON, "steeringContainer");
|
||||
|
||||
OpenAPI_steering_container_t *steering_container_local_nonprim = NULL;
|
||||
if (steering_container) {
|
||||
if (steering_container) {
|
||||
steering_container_local_nonprim = OpenAPI_steering_container_parseFromJSON(steering_container);
|
||||
}
|
||||
|
||||
|
|
@ -105,7 +105,6 @@ OpenAPI_sor_info_t *OpenAPI_sor_info_parseFromJSON(cJSON *sor_infoJSON)
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
if (!cJSON_IsBool(ack_ind)) {
|
||||
ogs_error("OpenAPI_sor_info_parseFromJSON() failed [ack_ind]");
|
||||
goto end;
|
||||
|
|
@ -113,7 +112,7 @@ OpenAPI_sor_info_t *OpenAPI_sor_info_parseFromJSON(cJSON *sor_infoJSON)
|
|||
|
||||
cJSON *sor_mac_iausf = cJSON_GetObjectItemCaseSensitive(sor_infoJSON, "sorMacIausf");
|
||||
|
||||
if (sor_mac_iausf) {
|
||||
if (sor_mac_iausf) {
|
||||
if (!cJSON_IsString(sor_mac_iausf)) {
|
||||
ogs_error("OpenAPI_sor_info_parseFromJSON() failed [sor_mac_iausf]");
|
||||
goto end;
|
||||
|
|
@ -122,7 +121,7 @@ OpenAPI_sor_info_t *OpenAPI_sor_info_parseFromJSON(cJSON *sor_infoJSON)
|
|||
|
||||
cJSON *countersor = cJSON_GetObjectItemCaseSensitive(sor_infoJSON, "countersor");
|
||||
|
||||
if (countersor) {
|
||||
if (countersor) {
|
||||
if (!cJSON_IsString(countersor)) {
|
||||
ogs_error("OpenAPI_sor_info_parseFromJSON() failed [countersor]");
|
||||
goto end;
|
||||
|
|
@ -135,7 +134,6 @@ OpenAPI_sor_info_t *OpenAPI_sor_info_parseFromJSON(cJSON *sor_infoJSON)
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
if (!cJSON_IsString(provisioning_time)) {
|
||||
ogs_error("OpenAPI_sor_info_parseFromJSON() failed [provisioning_time]");
|
||||
goto end;
|
||||
|
|
@ -143,6 +141,7 @@ OpenAPI_sor_info_t *OpenAPI_sor_info_parseFromJSON(cJSON *sor_infoJSON)
|
|||
|
||||
sor_info_local_var = OpenAPI_sor_info_create (
|
||||
steering_container ? steering_container_local_nonprim : NULL,
|
||||
|
||||
ack_ind->valueint,
|
||||
sor_mac_iausf ? ogs_strdup_or_assert(sor_mac_iausf->valuestring) : NULL,
|
||||
countersor ? ogs_strdup_or_assert(countersor->valuestring) : NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue