mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 14:20: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
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
char* OpenAPI_resource_status_ToString(OpenAPI_resource_status_e resource_status)
|
||||
{
|
||||
const char *resource_statusArray[] = { "NULL", "RELEASED", "UNCHANGED", "TRANSFERRED", "UPDATED" };
|
||||
const char *resource_statusArray[] = { "NULL", "RELEASED", "UNCHANGED", "TRANSFERRED", "UPDATED", "ALT_ANCHOR_SMF" };
|
||||
size_t sizeofArray = sizeof(resource_statusArray) / sizeof(resource_statusArray[0]);
|
||||
if (resource_status < sizeofArray)
|
||||
return (char *)resource_statusArray[resource_status];
|
||||
|
|
@ -17,7 +17,7 @@ char* OpenAPI_resource_status_ToString(OpenAPI_resource_status_e resource_status
|
|||
OpenAPI_resource_status_e OpenAPI_resource_status_FromString(char* resource_status)
|
||||
{
|
||||
int stringToReturn = 0;
|
||||
const char *resource_statusArray[] = { "NULL", "RELEASED", "UNCHANGED", "TRANSFERRED", "UPDATED" };
|
||||
const char *resource_statusArray[] = { "NULL", "RELEASED", "UNCHANGED", "TRANSFERRED", "UPDATED", "ALT_ANCHOR_SMF" };
|
||||
size_t sizeofArray = sizeof(resource_statusArray) / sizeof(resource_statusArray[0]);
|
||||
while (stringToReturn < sizeofArray) {
|
||||
if (strcmp(resource_status, resource_statusArray[stringToReturn]) == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue