smallrye / smallrye-health

Home Page:https://smallrye.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Health UI logo interferes with smallrye-openapi custom logo asset

dvddhln opened this issue · comments

Hi,
Not sure where to put this but currently if the the smallrye-openapi extension is used with a custom branded resource with name logo.png, that interferes with logo.png in smallrye-health making the health UI render the wrong logo.

KR

David

hmm, this is interesting. But I can rename the file of course. Thanks for the report!

@dvddhln - when you use logo.png (or style.css etc) you are branding for all UIs. (OpenAPI, Health UI, GraphQL UI etc). You can however only brand specific extensions, example, in your case you can use smallrye-open-api-ui.png for the logo, and that will only apply for Swagger UI, and your Health UI should still be the default. Please let me know if that worked for you

@phillip-kruger Thanks for the tip, that worked just fine. Maybe I missed this somewhere in the documentation?

@dvddhln - Great. No you did not. This is undocumented. It's quarkus specific, and I agree that needs to be documented somewhere in the Quarkus documentation. If you want you can open a ticket there are assign me, then it will be added to my todo list to document it. Closing here. Thanks !