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
|
|
@ -142,7 +142,7 @@ OpenAPI_nssai_t *OpenAPI_nssai_parseFromJSON(cJSON *nssaiJSON)
|
|||
OpenAPI_nssai_t *nssai_local_var = NULL;
|
||||
cJSON *supported_features = cJSON_GetObjectItemCaseSensitive(nssaiJSON, "supportedFeatures");
|
||||
|
||||
if (supported_features) {
|
||||
if (supported_features) {
|
||||
if (!cJSON_IsString(supported_features)) {
|
||||
ogs_error("OpenAPI_nssai_parseFromJSON() failed [supported_features]");
|
||||
goto end;
|
||||
|
|
@ -156,7 +156,6 @@ OpenAPI_nssai_t *OpenAPI_nssai_parseFromJSON(cJSON *nssaiJSON)
|
|||
}
|
||||
|
||||
OpenAPI_list_t *default_single_nssaisList;
|
||||
|
||||
cJSON *default_single_nssais_local_nonprimitive;
|
||||
if (!cJSON_IsArray(default_single_nssais)){
|
||||
ogs_error("OpenAPI_nssai_parseFromJSON() failed [default_single_nssais]");
|
||||
|
|
@ -178,7 +177,7 @@ OpenAPI_nssai_t *OpenAPI_nssai_parseFromJSON(cJSON *nssaiJSON)
|
|||
cJSON *single_nssais = cJSON_GetObjectItemCaseSensitive(nssaiJSON, "singleNssais");
|
||||
|
||||
OpenAPI_list_t *single_nssaisList;
|
||||
if (single_nssais) {
|
||||
if (single_nssais) {
|
||||
cJSON *single_nssais_local_nonprimitive;
|
||||
if (!cJSON_IsArray(single_nssais)){
|
||||
ogs_error("OpenAPI_nssai_parseFromJSON() failed [single_nssais]");
|
||||
|
|
@ -200,7 +199,7 @@ OpenAPI_nssai_t *OpenAPI_nssai_parseFromJSON(cJSON *nssaiJSON)
|
|||
|
||||
cJSON *provisioning_time = cJSON_GetObjectItemCaseSensitive(nssaiJSON, "provisioningTime");
|
||||
|
||||
if (provisioning_time) {
|
||||
if (provisioning_time) {
|
||||
if (!cJSON_IsString(provisioning_time)) {
|
||||
ogs_error("OpenAPI_nssai_parseFromJSON() failed [provisioning_time]");
|
||||
goto end;
|
||||
|
|
@ -210,7 +209,7 @@ OpenAPI_nssai_t *OpenAPI_nssai_parseFromJSON(cJSON *nssaiJSON)
|
|||
cJSON *additional_snssai_data = cJSON_GetObjectItemCaseSensitive(nssaiJSON, "additionalSnssaiData");
|
||||
|
||||
OpenAPI_list_t *additional_snssai_dataList;
|
||||
if (additional_snssai_data) {
|
||||
if (additional_snssai_data) {
|
||||
cJSON *additional_snssai_data_local_map;
|
||||
if (!cJSON_IsObject(additional_snssai_data)) {
|
||||
ogs_error("OpenAPI_nssai_parseFromJSON() failed [additional_snssai_data]");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue