Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local swagger-ui CSS and JS distributable #62

Open
BeGj opened this issue Nov 7, 2023 · 1 comment
Open

Local swagger-ui CSS and JS distributable #62

BeGj opened this issue Nov 7, 2023 · 1 comment

Comments

@BeGj
Copy link

BeGj commented Nov 7, 2023

theme = `https://unpkg.com/swagger-ui-dist@${version}/swagger-ui.css`,

<script src="https://unpkg.com/swagger-ui-dist@${version}/swagger-ui-bundle.js" crossorigin></script>

Because this library is downloading swagger-ui-bundle.js and swagger-ui.css it means it cannot be used without internet access, or behind a many firewalled enterprise networks, unfortunately.

It would be nice if you could remove this internet dependency and package the required swagger files locally within this library :)

@BeGj
Copy link
Author

BeGj commented Nov 7, 2023

Fixed in merge request #63
Please look at it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant