Skip to content

custom rewriting of endpoint paths #830

@tansaku

Description

@tansaku

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions