1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00

Updated 0.6.2 spec

This commit is contained in:
Eldad Fux 2020-09-08 15:37:11 +03:00
parent 5210531896
commit 9c6b506876
2 changed files with 2 additions and 5 deletions

File diff suppressed because one or more lines are too long

View file

@ -62,11 +62,8 @@ $cli
continue;
}
Console::info('Fetching API Spec for '.$language['name'].' for '.$platform['name']);
Console::info('Fetching API Spec for '.$language['name'].' for '.$platform['name'] . ' (version: '.$version.')');
//$spec = getSSLPage('http://localhost/v1/open-api-2.json?extensions=1&platform='.$language['family']);
// $spec = getSSLPage('https://appwrite.io/v1/open-api-2.json?extensions=1&platform='.$language['family']);
// $spec = getSSLPage('https://localhost/v1/open-api-2.json?extensions=1&platform='.$language['family']);
$spec = file_get_contents(__DIR__.'/../config/specs/'.$version.'.'.$language['family'].'.json');
$result = \realpath(__DIR__.'/..').'/sdks/'.$key.'-'.$language['key'];