Skip to content

Sextant-like solution for grape #456

@AvnerCohen

Description

@AvnerCohen

In PR #53 API::routes was exposed for inspection, which is great and very helpfull.
However, it would be even cooler if I could do something like:

GRAPE_ROUTES=true; rackup

and than be able to:

curl "http://localhost:9292/grape/routes"

This is more or less what https://github.com/schneems/sextant provides to Rails.

To get a nice formatted list of all the routes I've defined.

I tried to look into a possible implementation but got lost in the code base, will happily assist with some direction on this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions