Skip to content
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

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

Open
matrixik opened this issue Jul 14, 2024 · 1 comment
Open

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

matrixik opened this issue Jul 14, 2024 · 1 comment
Labels
question Further information is requested

Comments

@matrixik
Copy link

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

Browser then link to: http://127.0.0.1:8080/docs#/mailto:support@calculatedbody.com

@danielgtaylor danielgtaylor added the question Further information is requested label Jul 26, 2024
@danielgtaylor
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants