[SBI] Crash occurs when ENUM in the MAP (#2103)

This commit is contained in:
Sukchan Lee 2023-03-01 17:50:25 +09:00
parent ce668c556c
commit 969c116e77
1097 changed files with 266728 additions and 42047 deletions

View file

@ -12,7 +12,9 @@
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "invalid_param_1.h"
#include "access_token_err.h"
#include "access_token_req.h"
#include "invalid_param.h"
#ifdef __cplusplus
extern "C" {
@ -28,6 +30,10 @@ typedef struct OpenAPI_problem_details_1_s {
char *instance;
char *cause;
OpenAPI_list_t *invalid_params;
char *supported_features;
struct OpenAPI_access_token_err_s *access_token_error;
struct OpenAPI_access_token_req_s *access_token_request;
char *nrf_id;
} OpenAPI_problem_details_1_t;
OpenAPI_problem_details_1_t *OpenAPI_problem_details_1_create(
@ -38,7 +44,11 @@ OpenAPI_problem_details_1_t *OpenAPI_problem_details_1_create(
char *detail,
char *instance,
char *cause,
OpenAPI_list_t *invalid_params
OpenAPI_list_t *invalid_params,
char *supported_features,
OpenAPI_access_token_err_t *access_token_error,
OpenAPI_access_token_req_t *access_token_request,
char *nrf_id
);
void OpenAPI_problem_details_1_free(OpenAPI_problem_details_1_t *problem_details_1);
OpenAPI_problem_details_1_t *OpenAPI_problem_details_1_parseFromJSON(cJSON *problem_details_1JSON);