diff --git a/modules/swagger-codegen/src/main/resources/qt5cpp/api-header.mustache b/modules/swagger-codegen/src/main/resources/qt5cpp/api-header.mustache index 364dc9b8e47..4260ba6ff86 100644 --- a/modules/swagger-codegen/src/main/resources/qt5cpp/api-header.mustache +++ b/modules/swagger-codegen/src/main/resources/qt5cpp/api-header.mustache @@ -21,7 +21,7 @@ public: QString host; QString basePath; - {{#operations}}{{#operation}}void {{nickname}}({{#allParams}}{{dataType}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); + {{#operations}}{{#operation}}void {{nickname}}({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); {{/operation}}{{/operations}} private: {{#operations}}{{#operation}}void {{nickname}}Callback (HttpRequestWorker * worker); diff --git a/samples/client/petstore/qt5cpp/client/SWGPetApi.h b/samples/client/petstore/qt5cpp/client/SWGPetApi.h index 41aac089a4f..1067265656b 100644 --- a/samples/client/petstore/qt5cpp/client/SWGPetApi.h +++ b/samples/client/petstore/qt5cpp/client/SWGPetApi.h @@ -24,8 +24,8 @@ public: void updatePet(SWGPet body); void addPet(SWGPet body); - void findPetsByStatus(QList<QString*>* status); - void findPetsByTags(QList<QString*>* tags); + void findPetsByStatus(QList* status); + void findPetsByTags(QList* tags); void getPetById(qint64 petId); void updatePetWithForm(QString* petId, QString* name, QString* status); void deletePet(QString* api_key, qint64 petId); diff --git a/samples/client/petstore/qt5cpp/client/SWGUserApi.h b/samples/client/petstore/qt5cpp/client/SWGUserApi.h index cc6ed57bf34..2e3e119dc78 100644 --- a/samples/client/petstore/qt5cpp/client/SWGUserApi.h +++ b/samples/client/petstore/qt5cpp/client/SWGUserApi.h @@ -23,8 +23,8 @@ public: QString basePath; void createUser(SWGUser body); - void createUsersWithArrayInput(QList<SWGUser*>* body); - void createUsersWithListInput(QList<SWGUser*>* body); + void createUsersWithArrayInput(QList* body); + void createUsersWithListInput(QList* body); void loginUser(QString* username, QString* password); void logoutUser(); void getUserByName(QString* username);