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

custom rewriting of endpoint paths #830

Open
tansaku opened this issue May 28, 2021 · 0 comments
Open

custom rewriting of endpoint paths #830

tansaku opened this issue May 28, 2021 · 0 comments

Comments

@tansaku
Copy link

tansaku commented May 28, 2021

So we have paths like:

/public/foo
/public/bar

which get rewritten by another service like so

/service/foo
/service/bar

I'd like to be able to add something in our grape swagger settings to be able to replace /public/ in all the paths with /service/ so that the outputted swagger matches the actual paths that one hits - is that currently possible in grape-swagger. I've been all through the docs and not found anything that looks like that option ...

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