Re-generate the client to merge the progress function support from openapi-generator PR#7974

This commit is contained in:
Hui Yu
2020-11-26 20:45:39 +08:00
parent 3bdbebcae6
commit 77f227d59e
2 changed files with 17 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
#include <curl/curl.h>
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
@@ -24,6 +25,8 @@ typedef struct apiClient_t {
void *dataReceived;
long dataReceivedLen;
void (*data_callback_func)(void **, long *);
int (*progress_func)(void *, curl_off_t, curl_off_t, curl_off_t, curl_off_t);
void *progress_data;
long response_code;
list_t *apiKeys_BearerToken;
} apiClient_t;