Skip to content

Commit 5c695ce

Browse files
author
Петр Кленкин
committed
fix path
1 parent bedd63c commit 5c695ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/BitrixUiNativeController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ protected function getDefaultPreFilters(): array
2424

2525
public function swaggerdocAction()
2626
{
27-
if (!file_exists($_SERVER['DOCUMENT_ROOT'].'/vendor/webpractik/bitrixoa/src/bitrixoa.yaml')) {
27+
if (!file_exists($_SERVER['DOCUMENT_ROOT'].'/local/bitrixoa.yaml')) {
2828
throw new Exception('Файл с разметкой не существует');
2929
}
3030
$swaggerPage = (new UiPage(BitrixOaConfig::YAML_FILE_DEFAULT_PATH))->getHtml();

0 commit comments

Comments
 (0)