Changed spec formats
This commit is contained in:
parent
5140d3328e
commit
18a2e020c2
|
@ -288,7 +288,7 @@ The Runtimes for all supported cloud functions (multicore builds) can be found a
|
|||
|
||||
For generating a new console SDK follow the next steps:
|
||||
|
||||
1. Update the console spec file located at `app/config/specs/0.10.x.console.json` from the dynamic version located at `https://localhost/specs/swagger2?platform=console`
|
||||
1. Update the console spec file located at `app/config/specs/swagger2-0.12.x.console.json` from the dynamic version located at `https://localhost/specs/swagger2?platform=console`
|
||||
2. Generate a new SDK using the command `php app/cli.php sdks`
|
||||
3. Change your working dir using `cd app/sdks/console-web`
|
||||
4. Build the new SDK `npm run build`
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
app/config/specs/open-api3-0.12.x.client.json
Normal file
2
app/config/specs/open-api3-0.12.x.client.json
Normal file
File diff suppressed because one or more lines are too long
2
app/config/specs/open-api3-0.12.x.console.json
Normal file
2
app/config/specs/open-api3-0.12.x.console.json
Normal file
File diff suppressed because one or more lines are too long
2
app/config/specs/open-api3-0.12.x.server.json
Normal file
2
app/config/specs/open-api3-0.12.x.server.json
Normal file
File diff suppressed because one or more lines are too long
2
app/config/specs/swagger2-0.12.x.client.json
Normal file
2
app/config/specs/swagger2-0.12.x.client.json
Normal file
File diff suppressed because one or more lines are too long
2
app/config/specs/swagger2-0.12.x.console.json
Normal file
2
app/config/specs/swagger2-0.12.x.console.json
Normal file
File diff suppressed because one or more lines are too long
2
app/config/specs/swagger2-0.12.x.server.json
Normal file
2
app/config/specs/swagger2-0.12.x.server.json
Normal file
File diff suppressed because one or more lines are too long
|
@ -47,7 +47,7 @@ $cli
|
|||
|
||||
Console::info('Fetching API Spec for '.$language['name'].' for '.$platform['name'] . ' (version: '.$version.')');
|
||||
|
||||
$spec = file_get_contents(__DIR__.'/../config/specs/'.$version.'.'.$language['family'].'.json');
|
||||
$spec = file_get_contents(__DIR__.'/../config/specs/swagger2-'.$version.'.'.$language['family'].'.json');
|
||||
|
||||
$cover = 'https://appwrite.io/images/github.png';
|
||||
$result = \realpath(__DIR__.'/..').'/sdks/'.$key.'-'.$language['key'];
|
||||
|
|
Loading…
Reference in a new issue