We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bedd63c commit 5c695ceCopy full SHA for 5c695ce
1 file changed
src/BitrixUiNativeController.php
@@ -24,7 +24,7 @@ protected function getDefaultPreFilters(): array
24
25
public function swaggerdocAction()
26
{
27
- if (!file_exists($_SERVER['DOCUMENT_ROOT'].'/vendor/webpractik/bitrixoa/src/bitrixoa.yaml')) {
+ if (!file_exists($_SERVER['DOCUMENT_ROOT'].'/local/bitrixoa.yaml')) {
28
throw new Exception('Файл с разметкой не существует');
29
}
30
$swaggerPage = (new UiPage(BitrixOaConfig::YAML_FILE_DEFAULT_PATH))->getHtml();
0 commit comments