Added scope to API spec

This commit is contained in:
eldadfux
2019-10-20 07:27:11 +03:00
parent 1cd3265306
commit c06dc02ebc
+1
View File
@@ -618,6 +618,7 @@ $utopia->get('/v1/open-api-2.json')
'edit' => 'https://github.com/appwrite/appwrite/edit/master' . $route->getLabel('sdk.description', ''),
'rate-limit' => $route->getLabel('abuse-limit', 0),
'rate-time' => $route->getLabel('abuse-time', 3600),
'scope' => $route->getLabel('scope', ''),
];
}