mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 21:30:10 +00:00
[SBI] Fixed openapitools MAP generation (#2103)
MAP was generated incorrectly because {{#items}}..{{#items}} was
missing.
Because of this, If scpInfo has scpPort, NRF crashes.
This commit is contained in:
parent
1d8324af9f
commit
ce668c556c
437 changed files with 111103 additions and 906 deletions
47
lib/sbi/openapi/model/ue_authentication_ctx.h
Normal file
47
lib/sbi/openapi/model/ue_authentication_ctx.h
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
* ue_authentication_ctx.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_ue_authentication_ctx_H_
|
||||
#define _OpenAPI_ue_authentication_ctx_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "auth_type.h"
|
||||
#include "links_value_schema.h"
|
||||
#include "ue_authentication_ctx_5g_auth_data.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_ue_authentication_ctx_s OpenAPI_ue_authentication_ctx_t;
|
||||
typedef struct OpenAPI_ue_authentication_ctx_s {
|
||||
OpenAPI_auth_type_e auth_type;
|
||||
struct OpenAPI_ue_authentication_ctx_5g_auth_data_s *_5g_auth_data;
|
||||
OpenAPI_list_t* _links;
|
||||
char *serving_network_name;
|
||||
} OpenAPI_ue_authentication_ctx_t;
|
||||
|
||||
OpenAPI_ue_authentication_ctx_t *OpenAPI_ue_authentication_ctx_create(
|
||||
OpenAPI_auth_type_e auth_type,
|
||||
OpenAPI_ue_authentication_ctx_5g_auth_data_t *_5g_auth_data,
|
||||
OpenAPI_list_t* _links,
|
||||
char *serving_network_name
|
||||
);
|
||||
void OpenAPI_ue_authentication_ctx_free(OpenAPI_ue_authentication_ctx_t *ue_authentication_ctx);
|
||||
OpenAPI_ue_authentication_ctx_t *OpenAPI_ue_authentication_ctx_parseFromJSON(cJSON *ue_authentication_ctxJSON);
|
||||
cJSON *OpenAPI_ue_authentication_ctx_convertToJSON(OpenAPI_ue_authentication_ctx_t *ue_authentication_ctx);
|
||||
OpenAPI_ue_authentication_ctx_t *OpenAPI_ue_authentication_ctx_copy(OpenAPI_ue_authentication_ctx_t *dst, OpenAPI_ue_authentication_ctx_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_ue_authentication_ctx_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue