forked from loafle/openapi-generator-original
[C++][Qt5] added Authentication Support (#8004)
* first commit of api Key feature. * added multi key and URL query key support * fixed error in mustache files, updated samples and tests * added Basic Auth with Base64 encoding. * updated Readme, added bearer token * added check that authentication credentials are set. fixed typo in README
This commit is contained in:
@@ -37,6 +37,7 @@ void PetApiTests::findPetsByStatusTest() {
|
||||
|
||||
void PetApiTests::createAndGetPetTest() {
|
||||
PFXPetApi api;
|
||||
api.setApiKey("api_key","special-key");
|
||||
QEventLoop loop;
|
||||
bool petCreated = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user