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_qos_monitoring_info_t *OpenAPI_qos_monitoring_info_create(
int qos_monitoring_ind
)
)
{
OpenAPI_qos_monitoring_info_t *qos_monitoring_info_local_var = OpenAPI_malloc(sizeof(OpenAPI_qos_monitoring_info_t));
if (!qos_monitoring_info_local_var) {
@ -37,10 +37,10 @@ cJSON *OpenAPI_qos_monitoring_info_convertToJSON(OpenAPI_qos_monitoring_info_t *
item = cJSON_CreateObject();
if (qos_monitoring_info->qos_monitoring_ind) {
if (cJSON_AddBoolToObject(item, "qosMonitoringInd", qos_monitoring_info->qos_monitoring_ind) == NULL) {
ogs_error("OpenAPI_qos_monitoring_info_convertToJSON() failed [qos_monitoring_ind]");
goto end;
}
if (cJSON_AddBoolToObject(item, "qosMonitoringInd", qos_monitoring_info->qos_monitoring_ind) == NULL) {
ogs_error("OpenAPI_qos_monitoring_info_convertToJSON() failed [qos_monitoring_ind]");
goto end;
}
}
end:
@ -52,16 +52,16 @@ OpenAPI_qos_monitoring_info_t *OpenAPI_qos_monitoring_info_parseFromJSON(cJSON *
OpenAPI_qos_monitoring_info_t *qos_monitoring_info_local_var = NULL;
cJSON *qos_monitoring_ind = cJSON_GetObjectItemCaseSensitive(qos_monitoring_infoJSON, "qosMonitoringInd");
if (qos_monitoring_ind) {
if (!cJSON_IsBool(qos_monitoring_ind)) {
ogs_error("OpenAPI_qos_monitoring_info_parseFromJSON() failed [qos_monitoring_ind]");
goto end;
}
if (qos_monitoring_ind) {
if (!cJSON_IsBool(qos_monitoring_ind)) {
ogs_error("OpenAPI_qos_monitoring_info_parseFromJSON() failed [qos_monitoring_ind]");
goto end;
}
}
qos_monitoring_info_local_var = OpenAPI_qos_monitoring_info_create (
qos_monitoring_ind ? qos_monitoring_ind->valueint : 0
);
);
return qos_monitoring_info_local_var;
end: