diff --git a/modules/openapi-generator/src/main/resources/cpp-qt-client/api-body.mustache b/modules/openapi-generator/src/main/resources/cpp-qt-client/api-body.mustache index 23ce15ffe5e..02c3c879cf0 100644 --- a/modules/openapi-generator/src/main/resources/cpp-qt-client/api-body.mustache +++ b/modules/openapi-generator/src/main/resources/cpp-qt-client/api-body.mustache @@ -922,7 +922,7 @@ void {{classname}}::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _implicitFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; case 2: //authorization flow @@ -932,7 +932,7 @@ void {{classname}}::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _authFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; case 3: //client credentials flow @@ -942,7 +942,7 @@ void {{classname}}::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _credentialFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; case 4: //resource owner password flow @@ -952,7 +952,7 @@ void {{classname}}::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _credentialFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; default: diff --git a/samples/client/petstore/cpp-qt/client/PFXPetApi.cpp b/samples/client/petstore/cpp-qt/client/PFXPetApi.cpp index 781e192159f..7d577df67c5 100644 --- a/samples/client/petstore/cpp-qt/client/PFXPetApi.cpp +++ b/samples/client/petstore/cpp-qt/client/PFXPetApi.cpp @@ -1185,7 +1185,7 @@ void PFXPetApi::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _implicitFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; case 2: //authorization flow @@ -1195,7 +1195,7 @@ void PFXPetApi::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _authFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; case 3: //client credentials flow @@ -1205,7 +1205,7 @@ void PFXPetApi::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _credentialFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; case 4: //resource owner password flow @@ -1215,7 +1215,7 @@ void PFXPetApi::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _credentialFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; default: diff --git a/samples/client/petstore/cpp-qt/client/PFXStoreApi.cpp b/samples/client/petstore/cpp-qt/client/PFXStoreApi.cpp index 6090921ce42..e9b868dc037 100644 --- a/samples/client/petstore/cpp-qt/client/PFXStoreApi.cpp +++ b/samples/client/petstore/cpp-qt/client/PFXStoreApi.cpp @@ -469,7 +469,7 @@ void PFXStoreApi::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _implicitFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; case 2: //authorization flow @@ -479,7 +479,7 @@ void PFXStoreApi::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _authFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; case 3: //client credentials flow @@ -489,7 +489,7 @@ void PFXStoreApi::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _credentialFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; case 4: //resource owner password flow @@ -499,7 +499,7 @@ void PFXStoreApi::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _credentialFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; default: diff --git a/samples/client/petstore/cpp-qt/client/PFXUserApi.cpp b/samples/client/petstore/cpp-qt/client/PFXUserApi.cpp index 0d206a0f837..e60d3acd1c1 100644 --- a/samples/client/petstore/cpp-qt/client/PFXUserApi.cpp +++ b/samples/client/petstore/cpp-qt/client/PFXUserApi.cpp @@ -713,7 +713,7 @@ void PFXUserApi::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _implicitFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; case 2: //authorization flow @@ -723,7 +723,7 @@ void PFXUserApi::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _authFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; case 3: //client credentials flow @@ -733,7 +733,7 @@ void PFXUserApi::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _credentialFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; case 4: //resource owner password flow @@ -743,7 +743,7 @@ void PFXUserApi::tokenAvailable(){ _latestWorker->execute(&_latestInput); }else{ _credentialFlow.removeToken(_latestScope.join(" ")); - qDebug() << "Could not retreive a valid token"; + qDebug() << "Could not retrieve a valid token"; } break; default: