mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +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_sm_policy_control_t *OpenAPI_sm_policy_control_create(
|
||||
OpenAPI_sm_policy_context_data_t *context,
|
||||
OpenAPI_sm_policy_decision_t *policy
|
||||
)
|
||||
)
|
||||
{
|
||||
OpenAPI_sm_policy_control_t *sm_policy_control_local_var = OpenAPI_malloc(sizeof(OpenAPI_sm_policy_control_t));
|
||||
if (!sm_policy_control_local_var) {
|
||||
|
|
@ -76,7 +76,7 @@ OpenAPI_sm_policy_control_t *OpenAPI_sm_policy_control_parseFromJSON(cJSON *sm_p
|
|||
}
|
||||
|
||||
OpenAPI_sm_policy_context_data_t *context_local_nonprim = NULL;
|
||||
|
||||
|
||||
context_local_nonprim = OpenAPI_sm_policy_context_data_parseFromJSON(context);
|
||||
|
||||
cJSON *policy = cJSON_GetObjectItemCaseSensitive(sm_policy_controlJSON, "policy");
|
||||
|
|
@ -86,13 +86,13 @@ OpenAPI_sm_policy_control_t *OpenAPI_sm_policy_control_parseFromJSON(cJSON *sm_p
|
|||
}
|
||||
|
||||
OpenAPI_sm_policy_decision_t *policy_local_nonprim = NULL;
|
||||
|
||||
|
||||
policy_local_nonprim = OpenAPI_sm_policy_decision_parseFromJSON(policy);
|
||||
|
||||
sm_policy_control_local_var = OpenAPI_sm_policy_control_create (
|
||||
context_local_nonprim,
|
||||
policy_local_nonprim
|
||||
);
|
||||
);
|
||||
|
||||
return sm_policy_control_local_var;
|
||||
end:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue