-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support for new version of rocket "0.5.0-rc.1" #7
Comments
rocket 0.5.0 is out. I tried to upgrade rocket-swagger-ui but it fails on compilation.
So it is incompatible |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, thanks for this awesome Rust crate!
I have two questions:
Notice the difference from the example shown in your README file: the
build
instead of theignite
function. This produces the following error, which I don't know how to handle:Is there currently a way to get around this error? If not, will it be supported in the future releases of swagger-ui?
After downgrading my version of rocket to 4.7 (as demonstrated in your example), I managed to get the example running locally. However, when I open the http://localhost:8000/api/v1/swagger/index.html URL in my browser, it displays the PetStore API specification, even though I created and used my own openapi.json file in the code. What am I doing wrong?
I also tried specifying the file in the Config structure:
The text was updated successfully, but these errors were encountered: