mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 20:50:55 +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
35 lines
671 B
C
35 lines
671 B
C
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include "../include/apiClient.h"
|
|
#include "../include/list.h"
|
|
#include "../external/cJSON.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
#include "../model/object.h"
|
|
|
|
|
|
// Returns private information.
|
|
//
|
|
// This endpoint requires global security settings.
|
|
//
|
|
object_t*
|
|
DefaultAPI_privateGet(apiClient_t *apiClient);
|
|
|
|
|
|
// Returns public information.
|
|
//
|
|
// This endpoint does not require authentication.
|
|
//
|
|
object_t*
|
|
DefaultAPI_publicGet(apiClient_t *apiClient);
|
|
|
|
|
|
// Returns a list of users.
|
|
//
|
|
// Optional extended description in CommonMark or HTML.
|
|
//
|
|
list_t*
|
|
DefaultAPI_usersGet(apiClient_t *apiClient);
|
|
|
|
|