[SBI] Fixed openapitools MAP generation (#2103)

MAP was generated incorrectly because {{#items}}..{{#items}} was
missing.

Because of this, If scpInfo has scpPort, NRF crashes.
This commit is contained in:
Sukchan Lee 2023-02-26 10:01:08 +09:00
parent 1d8324af9f
commit ce668c556c
437 changed files with 111103 additions and 906 deletions

View file

@ -100,7 +100,7 @@ OpenAPI_notif_condition_t *OpenAPI_notif_condition_parseFromJSON(cJSON *notif_co
ogs_error("OpenAPI_notif_condition_parseFromJSON() failed [monitored_attributes]");
goto end;
}
OpenAPI_list_add(monitored_attributesList , ogs_strdup(monitored_attributes_local->valuestring));
OpenAPI_list_add(monitored_attributesList, ogs_strdup(monitored_attributes_local->valuestring));
}
}
@ -120,7 +120,7 @@ OpenAPI_notif_condition_t *OpenAPI_notif_condition_parseFromJSON(cJSON *notif_co
ogs_error("OpenAPI_notif_condition_parseFromJSON() failed [unmonitored_attributes]");
goto end;
}
OpenAPI_list_add(unmonitored_attributesList , ogs_strdup(unmonitored_attributes_local->valuestring));
OpenAPI_list_add(unmonitored_attributesList, ogs_strdup(unmonitored_attributes_local->valuestring));
}
}