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_links_value_schema_t *OpenAPI_links_value_schema_create(
char *href
)
)
{
OpenAPI_links_value_schema_t *links_value_schema_local_var = OpenAPI_malloc(sizeof(OpenAPI_links_value_schema_t));
if (!links_value_schema_local_var) {
@ -38,10 +38,10 @@ cJSON *OpenAPI_links_value_schema_convertToJSON(OpenAPI_links_value_schema_t *li
item = cJSON_CreateObject();
if (links_value_schema->href) {
if (cJSON_AddStringToObject(item, "href", links_value_schema->href) == NULL) {
ogs_error("OpenAPI_links_value_schema_convertToJSON() failed [href]");
goto end;
}
if (cJSON_AddStringToObject(item, "href", links_value_schema->href) == NULL) {
ogs_error("OpenAPI_links_value_schema_convertToJSON() failed [href]");
goto end;
}
}
end:
@ -53,16 +53,16 @@ OpenAPI_links_value_schema_t *OpenAPI_links_value_schema_parseFromJSON(cJSON *li
OpenAPI_links_value_schema_t *links_value_schema_local_var = NULL;
cJSON *href = cJSON_GetObjectItemCaseSensitive(links_value_schemaJSON, "href");
if (href) {
if (!cJSON_IsString(href)) {
ogs_error("OpenAPI_links_value_schema_parseFromJSON() failed [href]");
goto end;
}
if (href) {
if (!cJSON_IsString(href)) {
ogs_error("OpenAPI_links_value_schema_parseFromJSON() failed [href]");
goto end;
}
}
links_value_schema_local_var = OpenAPI_links_value_schema_create (
href ? ogs_strdup_or_assert(href->valuestring) : NULL
);
);
return links_value_schema_local_var;
end: