Open Gounlaf opened 9 years ago
+1
The following two files can be updated in public/zf-apigility-documentation-swagger directory:
swagger-ui.js swagger-ui.min.js
If you are using the asset manager this directory is copied to the project public directory at the time of install.
On line 355 in swagger-ui.js change src='images/throbber.gif' to src='/zf-apigility-documentation-swagger/images/throbber.gif'
You can search swagger-ui.min.js for src='images/throbber.gif' and replace with src='/zf-apigility-documentation-swagger/images/throbber.gif'
Hope this helps.
This repository has been closed and moved to laminas-api-tools/api-tools-documentation-swagger; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-documentation-swagger/issues/12.
The throbber.gif file uri is set directly in JavaScript, with a relative path ; as a consequence, the file is not loaded correctly (and the alternative text is displayed)
I don't know how to fix it properly
Thanks