mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-10 03:16:10 +00:00
feat cpp-qt-client: fix cast primitive to string (#20000)
This commit is contained in:
@@ -635,7 +635,7 @@ void PFXUserApi::loginUser(const QString &username, const QString &password) {
|
||||
else
|
||||
fullPath.append("?");
|
||||
|
||||
fullPath.append(QUrl::toPercentEncoding("username")).append(querySuffix).append(QUrl::toPercentEncoding(username));
|
||||
fullPath.append(QUrl::toPercentEncoding("username")).append(querySuffix).append(QUrl::toPercentEncoding(::test_namespace::toStringValue(username)));
|
||||
}
|
||||
|
||||
{
|
||||
@@ -650,7 +650,7 @@ void PFXUserApi::loginUser(const QString &username, const QString &password) {
|
||||
else
|
||||
fullPath.append("?");
|
||||
|
||||
fullPath.append(QUrl::toPercentEncoding("password")).append(querySuffix).append(QUrl::toPercentEncoding(password));
|
||||
fullPath.append(QUrl::toPercentEncoding("password")).append(querySuffix).append(QUrl::toPercentEncoding(::test_namespace::toStringValue(password)));
|
||||
}
|
||||
PFXHttpRequestWorker *worker = new PFXHttpRequestWorker(this, _manager);
|
||||
worker->setTimeOut(_timeOut);
|
||||
|
||||
Reference in New Issue
Block a user