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

🔧 Add endpoint to expose all available endpoints #24

Open
FranklinWaller opened this issue Oct 17, 2024 · 0 comments
Open

🔧 Add endpoint to expose all available endpoints #24

FranklinWaller opened this issue Oct 17, 2024 · 0 comments

Comments

@FranklinWaller
Copy link
Member

🔧 Chore

Have an extra endpoint /available(?) that shows all available endpoints set by the configuration file with a description.

{
    "routeGroup": "proxy",
    "routes": [
        {
            "path": "/something",
            "upstreamUrl": "myendpoint.com",
            "description": "Mirror of myendpoint.com/api see docs.myendpoint.com"
            "method": [
                "POST"
            ]
        }
    ]
}

Motivation

Easier for developers to see what is available. We should not expose upstreamUrl, headers, etc. Only path, description and method(s).

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

1 participant