zfcampus / zf-apigility-documentation-swagger

BSD 3-Clause "New" or "Revised" License
11 stars 27 forks source link

Wrong asset uri #10

Open Gounlaf opened 9 years ago

Gounlaf commented 9 years ago

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

sbuckpesch commented 9 years ago

+1

fluentdev commented 8 years ago

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.

weierophinney commented 4 years ago

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.