ergo / pyramid_apispec

Pyramid plugin for openapi spec generation (using ApiSpec)
BSD 3-Clause "New" or "Revised" License
23 stars 10 forks source link

Internet access is required to use api explorer #8

Closed drnextgis closed 6 years ago

drnextgis commented 6 years ago

It would be great to have an opportunity to use local assets.

ergo commented 6 years ago

Yes, I have code for that somewhere, however it would require pyramid_apispec to ship swagger UI JS/CSS files and upgrade the package with new releases of that project.

ergo commented 6 years ago

I think the best way to move forward with this would be for you to copy the template code for swagger UI serving and modify it to load the files from your own static directory.