From 07beab14f8198f16c47c1bb508356d112629f2d4 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Fri, 29 Jan 2021 18:13:11 +0200 Subject: [PATCH] Updated specs --- src/Appwrite/Specification/Format/OpenAPI3.php | 1 + src/Appwrite/Specification/Format/Swagger2.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Appwrite/Specification/Format/OpenAPI3.php b/src/Appwrite/Specification/Format/OpenAPI3.php index 95ddf333f..836c9838d 100644 --- a/src/Appwrite/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/Specification/Format/OpenAPI3.php @@ -118,6 +118,7 @@ class OpenAPI3 extends Format 'rate-key' => $route->getLabel('abuse-key', 'url:{url},ip:{ip}'), 'scope' => $route->getLabel('scope', ''), 'platforms' => $route->getLabel('sdk.platform', []), + 'packaging' => $route->getLabel('sdk.packaging', false), ], ]; diff --git a/src/Appwrite/Specification/Format/Swagger2.php b/src/Appwrite/Specification/Format/Swagger2.php index 7d4f5407f..7a033c504 100644 --- a/src/Appwrite/Specification/Format/Swagger2.php +++ b/src/Appwrite/Specification/Format/Swagger2.php @@ -116,6 +116,7 @@ class Swagger2 extends Format 'rate-key' => $route->getLabel('abuse-key', 'url:{url},ip:{ip}'), 'scope' => $route->getLabel('scope', ''), 'platforms' => $route->getLabel('sdk.platform', []), + 'packaging' => $route->getLabel('sdk.packaging', false), ], ];