forked from loafle/openapi-generator-original
* Correction to C support for additional_properties * TAB to SPACE in one file
This commit is contained in:
committed by
William Cheng
parent
e09417d25c
commit
96c1bda608
@@ -10,47 +10,55 @@
|
||||
|
||||
// Add a new pet to the store
|
||||
//
|
||||
void PetAPI_addPet(apiClient_t *apiClient, pet_t *body);
|
||||
void
|
||||
PetAPI_addPet(apiClient_t *apiClient ,pet_t * body);
|
||||
|
||||
|
||||
// Deletes a pet
|
||||
//
|
||||
void PetAPI_deletePet(apiClient_t *apiClient, long petId, char *api_key);
|
||||
void
|
||||
PetAPI_deletePet(apiClient_t *apiClient ,long petId ,char * api_key);
|
||||
|
||||
|
||||
// Finds Pets by status
|
||||
//
|
||||
// Multiple status values can be provided with comma separated strings
|
||||
//
|
||||
list_t *PetAPI_findPetsByStatus(apiClient_t *apiClient, list_t *status);
|
||||
list_t*
|
||||
PetAPI_findPetsByStatus(apiClient_t *apiClient ,list_t * status);
|
||||
|
||||
|
||||
// Finds Pets by tags
|
||||
//
|
||||
// Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||
//
|
||||
list_t *PetAPI_findPetsByTags(apiClient_t *apiClient, list_t *tags);
|
||||
list_t*
|
||||
PetAPI_findPetsByTags(apiClient_t *apiClient ,list_t * tags);
|
||||
|
||||
|
||||
// Find pet by ID
|
||||
//
|
||||
// Returns a single pet
|
||||
//
|
||||
pet_t *PetAPI_getPetById(apiClient_t *apiClient, long petId);
|
||||
pet_t*
|
||||
PetAPI_getPetById(apiClient_t *apiClient ,long petId);
|
||||
|
||||
|
||||
// Update an existing pet
|
||||
//
|
||||
void PetAPI_updatePet(apiClient_t *apiClient, pet_t *body);
|
||||
void
|
||||
PetAPI_updatePet(apiClient_t *apiClient ,pet_t * body);
|
||||
|
||||
|
||||
// Updates a pet in the store with form data
|
||||
//
|
||||
void PetAPI_updatePetWithForm(apiClient_t *apiClient, long petId, char *name,
|
||||
char *status);
|
||||
void
|
||||
PetAPI_updatePetWithForm(apiClient_t *apiClient ,long petId ,char * name ,char * status);
|
||||
|
||||
|
||||
// uploads an image
|
||||
//
|
||||
api_response_t *PetAPI_uploadFile(apiClient_t *apiClient, long petId,
|
||||
char *additionalMetadata, binary_t *file);
|
||||
api_response_t*
|
||||
PetAPI_uploadFile(apiClient_t *apiClient ,long petId ,char * additionalMetadata ,binary_t* file);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user