Skip to content

Commit 11d2a15

Browse files
committed
feat: added url to appwrite production spec
1 parent 54a1bf4 commit 11d2a15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function getSSLPage($url) {
3636
//$spec = getSSLPage('https://appwrite.io/v1/open-api-2.json?extensions=1');
3737
// $spec = getSSLPage('https://appwrite.io/v1/open-api-2.json?extensions=1'); // Enable only with Appwrite local server running on port 80
3838
// $spec = getSSLPage('https://appwrite.io/v1/open-api-2.json?extensions=1&platform=console'); // Enable only with Appwrite local server running on port 80
39-
39+
// $spec = file_get_contents('https://appwrite.io/specs/swagger2?platform=client');
4040
$spec = file_get_contents('./specs/swagger-appwrite.0.8.0.json');
4141

4242
if(empty($spec)) {
@@ -94,7 +94,7 @@ function getSSLPage($url) {
9494
;
9595

9696
$sdk->generate(__DIR__ . '/examples/web');
97-
97+
9898
// Deno
9999
$sdk = new SDK(new Deno(), new Swagger2($spec));
100100

0 commit comments

Comments
 (0)