mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 21:30:10 +00:00
Upgrade SBI(Service-based Interface)
* OpenAPI Generator version: 4.3.1 ==> 5.5.1 * Specification : r16.8.0 (20210629)
This commit is contained in:
parent
2aaa8200c2
commit
f278d58a69
1914 changed files with 91329 additions and 57361 deletions
|
|
@ -8,7 +8,7 @@ OpenAPI_point_altitude_t *OpenAPI_point_altitude_create(
|
|||
OpenAPI_supported_gad_shapes_t *shape,
|
||||
OpenAPI_geographical_coordinates_t *point,
|
||||
double altitude
|
||||
)
|
||||
)
|
||||
{
|
||||
OpenAPI_point_altitude_t *point_altitude_local_var = OpenAPI_malloc(sizeof(OpenAPI_point_altitude_t));
|
||||
if (!point_altitude_local_var) {
|
||||
|
|
@ -83,7 +83,7 @@ OpenAPI_point_altitude_t *OpenAPI_point_altitude_parseFromJSON(cJSON *point_alti
|
|||
}
|
||||
|
||||
OpenAPI_supported_gad_shapes_t *shape_local_nonprim = NULL;
|
||||
|
||||
|
||||
shape_local_nonprim = OpenAPI_supported_gad_shapes_parseFromJSON(shape);
|
||||
|
||||
cJSON *point = cJSON_GetObjectItemCaseSensitive(point_altitudeJSON, "point");
|
||||
|
|
@ -93,7 +93,7 @@ OpenAPI_point_altitude_t *OpenAPI_point_altitude_parseFromJSON(cJSON *point_alti
|
|||
}
|
||||
|
||||
OpenAPI_geographical_coordinates_t *point_local_nonprim = NULL;
|
||||
|
||||
|
||||
point_local_nonprim = OpenAPI_geographical_coordinates_parseFromJSON(point);
|
||||
|
||||
cJSON *altitude = cJSON_GetObjectItemCaseSensitive(point_altitudeJSON, "altitude");
|
||||
|
|
@ -102,7 +102,7 @@ OpenAPI_point_altitude_t *OpenAPI_point_altitude_parseFromJSON(cJSON *point_alti
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!cJSON_IsNumber(altitude)) {
|
||||
ogs_error("OpenAPI_point_altitude_parseFromJSON() failed [altitude]");
|
||||
goto end;
|
||||
|
|
@ -112,7 +112,7 @@ OpenAPI_point_altitude_t *OpenAPI_point_altitude_parseFromJSON(cJSON *point_alti
|
|||
shape_local_nonprim,
|
||||
point_local_nonprim,
|
||||
altitude->valuedouble
|
||||
);
|
||||
);
|
||||
|
||||
return point_altitude_local_var;
|
||||
end:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue