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

More descriptive / path handler #347

Open
Bostwickenator opened this issue Sep 1, 2021 · 1 comment
Open

More descriptive / path handler #347

Bostwickenator opened this issue Sep 1, 2021 · 1 comment

Comments

@Bostwickenator
Copy link

Bostwickenator commented Sep 1, 2021

Instead of simply returning HTTP 404 Not Found for the default path I would like to return something slightly more informative. I suggest something along the lines of "This is a deps.cloud gateway server, please visit https://deps.cloud/ for usage instructions"

Implementation would go here:

serverConfig.Endpoints = []mux.ServerEndpoint{

@mjpitz
Copy link
Member

mjpitz commented Sep 2, 2021

someone suggested having the swagger explorer as part of the root

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

No branches or pull requests

2 participants