mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-08 10:09:03 +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
17 lines
372 B
C
17 lines
372 B
C
#ifndef _keyValuePair_H_
|
|
#define _keyValuePair_H_
|
|
|
|
#include<string.h>
|
|
|
|
typedef struct keyValuePair_t {
|
|
char* key;
|
|
void* value;
|
|
} keyValuePair_t;
|
|
|
|
keyValuePair_t *keyValuePair_create(char *key, void *value);
|
|
|
|
keyValuePair_t* keyValuePair_create_allocate(char* key, double value);
|
|
|
|
void keyValuePair_free(keyValuePair_t *keyValuePair);
|
|
|
|
#endif /* _keyValuePair_H_ */ |