mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
OpenAPI: AnyType for ChangeItem's newValue and origValue properties
This commit is contained in:
parent
b85ad61e2b
commit
a951d683d2
3 changed files with 31 additions and 26 deletions
|
|
@ -12,6 +12,7 @@
|
|||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "any_type.h"
|
||||
#include "change_type.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
@ -23,16 +24,16 @@ typedef struct OpenAPI_change_item_s {
|
|||
OpenAPI_change_type_e op;
|
||||
char *path;
|
||||
char *from;
|
||||
char *orig_value;
|
||||
char *new_value;
|
||||
OpenAPI_any_type_t *orig_value;
|
||||
OpenAPI_any_type_t *new_value;
|
||||
} OpenAPI_change_item_t;
|
||||
|
||||
OpenAPI_change_item_t *OpenAPI_change_item_create(
|
||||
OpenAPI_change_type_e op,
|
||||
char *path,
|
||||
char *from,
|
||||
char *orig_value,
|
||||
char *new_value
|
||||
OpenAPI_any_type_t *orig_value,
|
||||
OpenAPI_any_type_t *new_value
|
||||
);
|
||||
void OpenAPI_change_item_free(OpenAPI_change_item_t *change_item);
|
||||
OpenAPI_change_item_t *OpenAPI_change_item_parseFromJSON(cJSON *change_itemJSON);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue