[API] Re-run code generator to merge the changes of OpenAPITools/openapi-generator to fix the bug:

* If the data type of query parameter is "int" or "bool" in OpenAPI Spec, the request url will not be generated correctly. ( PR #6692 )
This commit is contained in:
Hui Yu
2020-06-20 09:41:15 +08:00
parent c18a40a68c
commit ab432efa49
1493 changed files with 58080 additions and 4791 deletions

View File

@@ -8,6 +8,7 @@
#include <stdint.h>
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct sslConfig_t {
char *clientCertFile; /* client certificate */
@@ -21,21 +22,16 @@ typedef struct apiClient_t {
char *basePath;
sslConfig_t *sslConfig;
void *dataReceived;
long dataReceivedLen;
long response_code;
list_t *apiKeys;
list_t *apiKeys_BearerToken;
} apiClient_t;
typedef struct binary_t
{
uint8_t* data;
unsigned int len;
} binary_t;
apiClient_t* apiClient_create();
apiClient_t* apiClient_create_with_base_path(const char *basePath
, sslConfig_t *sslConfig
, list_t *apiKeys
, list_t *apiKeys_BearerToken
);
void apiClient_free(apiClient_t *apiClient);
@@ -48,8 +44,4 @@ void sslConfig_free(sslConfig_t *sslConfig);
char *strReplace(char *orig, char *rep, char *with);
char *base64encode(const void *b64_encode_this, int encode_this_many_bytes);
char *base64decode(const void *b64_decode_this, int decode_this_many_bytes, int *decoded_bytes);
#endif // INCLUDE_API_CLIENT_H