Open matrixik opened 4 months ago
When setting contact:
config.Info.Contact = &huma.Contact{ Name: "Example", Email: "hi@example.com", }
On docs page it will have following wrong href: #/mailto:hi@example.com
#/mailto:hi@example.com
Browser then link to: http://127.0.0.1:8080/docs#/mailto:support@calculatedbody.com
http://127.0.0.1:8080/docs#/mailto:support@calculatedbody.com
Just like #503 I think this bug will need to be opened up with Stoplight Elements: https://github.com/stoplightio/elements. Once fixed there we can update the version used by Huma.
When setting contact:
On docs page it will have following wrong href:
#/mailto:hi@example.com
Browser then link to:
http://127.0.0.1:8080/docs#/mailto:support@calculatedbody.com