Closed (fixed)
Project:
Swagger php
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2017 at 01:04 UTC
Updated:
15 May 2017 at 02:09 UTC
Jump to comment: Most recent
I've found wrong call in SwaggerPageUI.php controller. "swagger-ui.jss" doesn't exist with double ss.
if (!drupal_verify_install_file('libraries/swagger-ui/dist/swagger-ui.jss', FILE_EXIST) && !drupal_verify_install_file($config->get('swagger_scan_output') . '/swagger.json', FILE_EXIST)) {
drupal_set_message($this->t('Please contact the administrator.'), 'warning', FALSE);
return [
'#theme' => 'swagger_ui',
];
}
Comments
Comment #2
davidlfg commentedHi,
The bug was fixed with the commit d291787
Comment #3
davidlfg commented