mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 15:24:14 +00:00
OpenAPI: Generate patch_item.[ch] from OpenAPI specifications
This commit is contained in:
parent
36734cac7c
commit
b85ad61e2b
14 changed files with 204 additions and 173 deletions
|
|
@ -2193,6 +2193,10 @@ OpenAPI_nf_profile_t *OpenAPI_nf_profile_parseFromJSON(cJSON *nf_profileJSON)
|
|||
|
||||
OpenAPI_object_t *custom_info_local_object = NULL;
|
||||
if (custom_info) {
|
||||
if (!cJSON_IsObject(custom_info)) {
|
||||
ogs_error("OpenAPI_nf_profile_parseFromJSON() failed [custom_info]");
|
||||
goto end;
|
||||
}
|
||||
custom_info_local_object = OpenAPI_object_parseFromJSON(custom_info);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue