mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 05:10: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
|
|
@ -7,7 +7,7 @@
|
|||
OpenAPI_ptw_parameters_t *OpenAPI_ptw_parameters_create(
|
||||
OpenAPI_operation_mode_e operation_mode,
|
||||
char *ptw_value
|
||||
)
|
||||
)
|
||||
{
|
||||
OpenAPI_ptw_parameters_t *ptw_parameters_local_var = OpenAPI_malloc(sizeof(OpenAPI_ptw_parameters_t));
|
||||
if (!ptw_parameters_local_var) {
|
||||
|
|
@ -63,7 +63,7 @@ OpenAPI_ptw_parameters_t *OpenAPI_ptw_parameters_parseFromJSON(cJSON *ptw_parame
|
|||
}
|
||||
|
||||
OpenAPI_operation_mode_e operation_modeVariable;
|
||||
|
||||
|
||||
if (!cJSON_IsString(operation_mode)) {
|
||||
ogs_error("OpenAPI_ptw_parameters_parseFromJSON() failed [operation_mode]");
|
||||
goto end;
|
||||
|
|
@ -76,7 +76,7 @@ OpenAPI_ptw_parameters_t *OpenAPI_ptw_parameters_parseFromJSON(cJSON *ptw_parame
|
|||
goto end;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!cJSON_IsString(ptw_value)) {
|
||||
ogs_error("OpenAPI_ptw_parameters_parseFromJSON() failed [ptw_value]");
|
||||
goto end;
|
||||
|
|
@ -85,7 +85,7 @@ OpenAPI_ptw_parameters_t *OpenAPI_ptw_parameters_parseFromJSON(cJSON *ptw_parame
|
|||
ptw_parameters_local_var = OpenAPI_ptw_parameters_create (
|
||||
operation_modeVariable,
|
||||
ogs_strdup_or_assert(ptw_value->valuestring)
|
||||
);
|
||||
);
|
||||
|
||||
return ptw_parameters_local_var;
|
||||
end:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue