@@ -35,6 +35,10 @@ void PFXUserApi::initializeServerConfigs() {
3535 QUrl (" http://petstore.swagger.io/v2" ),
3636 " No description provided" ,
3737 QMap<QString, PFXServerVariable>()));
38+ defaultConf.append (PFXServerConfiguration (
39+ QUrl (" http://localhost:8080/v2" ),
40+ " No description provided" ,
41+ QMap<QString, PFXServerVariable>()));
3842 _serverConfigs.insert (" createUser" , defaultConf);
3943 _serverIndices.insert (" createUser" , 0 );
4044 _serverConfigs.insert (" createUsersWithArrayInput" , defaultConf);
@@ -49,8 +53,15 @@ void PFXUserApi::initializeServerConfigs() {
4953 _serverIndices.insert (" loginUser" , 0 );
5054 _serverConfigs.insert (" logoutUser" , defaultConf);
5155 _serverIndices.insert (" logoutUser" , 0 );
52- _serverConfigs.insert (" updateUser" , defaultConf);
53- _serverIndices.insert (" updateUser" , 0 );
56+ {
57+ QList<PFXServerConfiguration> serverConf = QList<PFXServerConfiguration>();
58+ serverConf.append (PFXServerConfiguration (
59+ QUrl (" http://user.petstore.swagger.io/v2" ),
60+ " No description provided" ,
61+ QMap<QString, PFXServerVariable>()));
62+ _serverConfigs.insert (" updateUser" , serverConf);
63+ _serverIndices.insert (" updateUser" , 0 );
64+ }
5465}
5566
5667/* *
0 commit comments