huma
huma copied to clipboard
Docs UI bug: when setting contact with both email and url then email is not linked anywhere
When setting contact:
config.Info.Contact = &huma.Contact{
Name: "Example",
Email: "[email protected]",
URL: "https://example.com/contact",
}
then docs page only link to https://example.com/contact and email will not be linked (or even visible) anywhere.
@matrixik this is handled by Stoplight Elements, which renders the documentation. You could try asking or opening an issue in https://github.com/stoplightio/elements. If that doesn't wind up working for you, check out https://huma.rocks/features/api-docs/#customizing-documentation to try out other documentation renderers you may find better for your use case.