Added rate limit data to spec
This commit is contained in:
parent
b65e25c321
commit
3e91636799
1 changed files with 2 additions and 0 deletions
|
@ -609,6 +609,8 @@ $utopia->get('/v1/open-api-2.json')
|
|||
'location' => $route->getLabel('sdk.location', false),
|
||||
'demo' => 'docs/examples/'.fromCamelCaseToDash($route->getLabel('sdk.namespace', 'default')).'/'.fromCamelCaseToDash($temp['operationId']).'.md',
|
||||
'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),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue