After following the getting started steps of Apipie:
- echo "gem 'apipie-rails'" >> Gemfile
- bundle install
- rails g apipie:install
And documenting a controller like this:
api :GET, '/users/:id'
param :id, :number, desc: 'id of the requested user'
def show
# ...
end
I got the following routing error when accessing the route /apipie:
Routing Error No route matches [GET] "/apipie"