huma icon indicating copy to clipboard operation
huma copied to clipboard

Docs UI bug: mailto: with prefix `#/`

Open matrixik opened this issue 1 year ago • 1 comments
trafficstars

When setting contact:

	config.Info.Contact = &huma.Contact{
		Name:  "Example",
		Email: "[email protected]",
	}

On docs page it will have following wrong href: #/mailto:[email protected]

Browser then link to: http://127.0.0.1:8080/docs#/mailto:[email protected]

matrixik avatar Jul 14 '24 06:07 matrixik

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.

danielgtaylor avatar Jul 26 '24 20:07 danielgtaylor