juhaku / utoipa

Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust
Apache License 2.0
2.23k stars 173 forks source link

utoipa-swagger-ui Release 7.0.2 #937

Closed mklntf closed 4 months ago

mklntf commented 4 months ago

Hello,

I wonder if we could have a release 7.0.2 of utoipa-swagger-ui which allows specifying the SWAGGER_UI_DOWNLOAD_URL starting with file://. At the moment I can't upgrade to 7.0.1 since I package my application with the nix package manager, which doesn't allow downloads during build. But I could hand over the downloaded zip to the build process using file://.

This functionality was added in the recent change https://github.com/juhaku/utoipa/pull/923

Thank you.

juhaku commented 4 months ago

Sure, I was wondering that same thing actually that the release could be made from the utoipa-swagger-ui.

juhaku commented 4 months ago

https://github.com/juhaku/utoipa/releases/tag/utoipa-swagger-ui-7.0.2 Should be available shortly :gift:

mklntf commented 4 months ago

Great, working for me! Thanks!

juhaku commented 4 months ago

Anytime, FYI there is now also a vendored version of Swagger UI. I noticed that there is a need for such since the docs.rs is a sandbox and does not resolve names outside the specific addresses like crates.io.