Added method setApiKey(keyName, keyValue) to set access token for swagger.