custom rewriting of endpoint paths
tansaku opened this issue · comments
Sam Joseph commented
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 ...