1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

Updated platform types

This commit is contained in:
Eldad Fux 2021-05-19 18:29:06 +03:00
parent 44a87a144d
commit 98df165050
2 changed files with 8 additions and 0 deletions

View file

@ -123,6 +123,10 @@ class OpenAPI3 extends Format
}
}
if(empty($routeSecurity)) {
$sdkPlatofrms[] = APP_PLATFORM_CLIENT;
}
$temp = [
'summary' => $route->getDesc(),
'operationId' => $route->getLabel('sdk.namespace', 'default').ucfirst($id),

View file

@ -122,6 +122,10 @@ class Swagger2 extends Format
}
}
if(empty($routeSecurity)) {
$sdkPlatofrms[] = APP_PLATFORM_CLIENT;
}
$temp = [
'summary' => $route->getDesc(),
'operationId' => $route->getLabel('sdk.namespace', 'default').ucfirst($id),