mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 22:20:56 +00:00
* [C] Don't convert post body strings to JSON If the body provided for the api request is a just a string itself, don't try to convert it to JSON, simply submit the string. * [C] Implement BearerToken authentication * [C] Handle nullable fields correctly * [C] Fix implementation of FromString for enums * [C] Update the test schemas to cover the changes * Update samples * Fix the updated samples * [C] Add the new samples folder to the CI workflow
28 lines
452 B
C
28 lines
452 B
C
/*
|
|
* object.h
|
|
*/
|
|
|
|
#ifndef _object_H_
|
|
#define _object_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
|
|
|
|
typedef struct object_t {
|
|
void *temporary;
|
|
} object_t;
|
|
|
|
object_t *object_create();
|
|
|
|
void object_free(object_t *object);
|
|
|
|
object_t *object_parseFromJSON(cJSON *json);
|
|
|
|
cJSON *object_convertToJSON(object_t *object);
|
|
|
|
#endif /* _object_H_ */
|