Upgrade SBI(Service-based Interface)

* OpenAPI Generator version: 4.3.1 ==> 5.5.1
* Specification : r16.8.0 (20210629)
This commit is contained in:
Sukchan Lee 2021-07-07 17:32:55 +09:00
parent 2aaa8200c2
commit f278d58a69
1914 changed files with 91329 additions and 57361 deletions

View file

@ -6,7 +6,7 @@
OpenAPI_ulcl_bp_information_t *OpenAPI_ulcl_bp_information_create(
char *ulcl_bp_upf_id
)
)
{
OpenAPI_ulcl_bp_information_t *ulcl_bp_information_local_var = OpenAPI_malloc(sizeof(OpenAPI_ulcl_bp_information_t));
if (!ulcl_bp_information_local_var) {
@ -38,10 +38,10 @@ cJSON *OpenAPI_ulcl_bp_information_convertToJSON(OpenAPI_ulcl_bp_information_t *
item = cJSON_CreateObject();
if (ulcl_bp_information->ulcl_bp_upf_id) {
if (cJSON_AddStringToObject(item, "ulclBpUpfId", ulcl_bp_information->ulcl_bp_upf_id) == NULL) {
ogs_error("OpenAPI_ulcl_bp_information_convertToJSON() failed [ulcl_bp_upf_id]");
goto end;
}
if (cJSON_AddStringToObject(item, "ulclBpUpfId", ulcl_bp_information->ulcl_bp_upf_id) == NULL) {
ogs_error("OpenAPI_ulcl_bp_information_convertToJSON() failed [ulcl_bp_upf_id]");
goto end;
}
}
end:
@ -53,16 +53,16 @@ OpenAPI_ulcl_bp_information_t *OpenAPI_ulcl_bp_information_parseFromJSON(cJSON *
OpenAPI_ulcl_bp_information_t *ulcl_bp_information_local_var = NULL;
cJSON *ulcl_bp_upf_id = cJSON_GetObjectItemCaseSensitive(ulcl_bp_informationJSON, "ulclBpUpfId");
if (ulcl_bp_upf_id) {
if (!cJSON_IsString(ulcl_bp_upf_id)) {
ogs_error("OpenAPI_ulcl_bp_information_parseFromJSON() failed [ulcl_bp_upf_id]");
goto end;
}
if (ulcl_bp_upf_id) {
if (!cJSON_IsString(ulcl_bp_upf_id)) {
ogs_error("OpenAPI_ulcl_bp_information_parseFromJSON() failed [ulcl_bp_upf_id]");
goto end;
}
}
ulcl_bp_information_local_var = OpenAPI_ulcl_bp_information_create (
ulcl_bp_upf_id ? ogs_strdup_or_assert(ulcl_bp_upf_id->valuestring) : NULL
);
);
return ulcl_bp_information_local_var;
end: