コード例 #1
0
 public static function setUpBeforeClass()
 {
     $params = json_decode(file_get_contents("config.json"), true);
     $config = (new Swagger\Client\Configuration())->setHost($params['host'])->setUsername($params['username'])->setPassword($params['password']);
     self::$api_client = new Swagger\Client\ApiClient($config);
 }