You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!$requestedSdk || $requestedSdk === 'swift') {
275
231
$sdk = newSDK(newSwift(), newSwagger2($spec));
276
-
277
-
configureSDK($sdk, [
278
-
'version' => '0.0.1',
279
-
]);
280
-
232
+
configureSDK($sdk);
281
233
$sdk->generate(__DIR__ . '/examples/swift');
282
234
}
283
235
284
236
// Apple
285
237
if (!$requestedSdk || $requestedSdk === 'apple') {
286
238
$sdk = newSDK(newApple(), newSwagger2($spec));
287
-
288
-
configureSDK($sdk, [
289
-
'version' => '0.0.1',
290
-
]);
291
-
239
+
configureSDK($sdk);
292
240
$sdk->generate(__DIR__ . '/examples/apple');
293
241
}
294
242
295
243
// DotNet
296
244
if (!$requestedSdk || $requestedSdk === 'dotnet') {
297
245
$sdk = newSDK(newDotNet(), newSwagger2($spec));
298
-
299
-
configureSDK($sdk, [
300
-
'version' => '0.0.1',
301
-
]);
302
-
246
+
configureSDK($sdk);
303
247
$sdk->generate(__DIR__ . '/examples/dotnet');
304
248
}
305
249
306
250
// REST
307
251
if (!$requestedSdk || $requestedSdk === 'rest') {
308
252
$sdk = newSDK(newREST(), newSwagger2($spec));
309
-
310
-
configureSDK($sdk, [
311
-
'version' => '0.0.1',
312
-
]);
313
-
253
+
configureSDK($sdk);
314
254
$sdk->generate(__DIR__ . '/examples/REST');
315
255
}
316
256
317
257
// Android
318
258
if (!$requestedSdk || $requestedSdk === 'android') {
319
259
$sdk = newSDK(newAndroid(), newSwagger2($spec));
320
-
321
-
configureSDK($sdk, [
322
-
'name' => 'Android',
323
-
'namespace' => 'io appwrite',
324
-
'description' => 'Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Flutter SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to https://appwrite.io/docs',
325
-
'shortDescription' => 'Appwrite Android SDK',
326
-
'gitUserName' => 'appwrite',
327
-
'gitRepoName' => 'sdk-for-android',
328
-
'warning' => '**This SDK is compatible with Appwrite server version 0.7.x. For older versions, please check previous releases.**',
if (!$requestedSdk || $requestedSdk === 'kotlin') {
338
266
$sdk = newSDK(newKotlin(), newSwagger2($spec));
339
-
340
-
configureSDK($sdk, [
341
-
'name' => 'Kotlin',
342
-
'namespace' => 'io appwrite',
343
-
'description' => 'Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Flutter SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to https://appwrite.io/docs',
344
-
'shortDescription' => 'Appwrite Kotlin SDK',
345
-
'gitUserName' => 'appwrite',
346
-
'gitRepoName' => 'sdk-for-kotlin',
347
-
'warning' => '**This SDK is compatible with Appwrite server version 0.7.x. For older versions, please check previous releases.**',
if (!$requestedSdk || $requestedSdk === 'graphql') {
357
273
$sdk = newSDK(newGraphQL(), newSwagger2($spec));
358
-
359
274
$sdk
360
275
->setName('GraphQL')
361
276
->setDescription('Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Flutter SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to https://appwrite.io/docs')
0 commit comments