- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 299
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
Misplaced </html>
in swagger_ui HTML template
#660
Comments
You can open a PR, any fixes are welcome. 🙂 |
I mean i put the fix in my original comment, but sure - i'll open a pr when i find some time in the next few days. |
I will close this as completed as the original problem is now fixed, but my second question still stands:
|
https://github.com/poem-web/poem/blob/51d6d8d934aecf093e8044d9ba78e05349473b4c/poem-openapi/src/ui/swagger_ui/mod.rs#L15C1-L15C8
has the closing html tag misplaced. i would open a pr, but its hardly worth the fork.
Also from what I gathered it seems like it might be possible to replace the html template for the UI as a consumer of the package, but I'm not quite certain if that is possible and if so how to accomplish it, so I might aswell ask:
Is is possible to provide a custom HTML template to set things like the page title and icon for those UIs (Specifically the swagger one in my case)?
The text was updated successfully, but these errors were encountered: