ankurmantri
ankurmantri
For example, let's say I have two controllers (controller1 and controller 2) and have 5 endpoints in total > /api/employee(.:format) controller1#index > /api/:members/employee(.:format) controller1#index > > /api/company(.:format) controller2#index > /api/:members/company(.:format)...
Awesome. I'll keep checking in. Rest everything works the way it should. Thanks!
to be more specific ``` class OneController < ApplicationController def index end end class TwoController < ApplicationController def index end end ``` routes.rb ``` Rails.application.routes.draw do mount Swaggard::Engine, at: '/swagger'...
Maybe my example is not a very good one but what I'm trying to achieve is the same type of data but with different parameters. Controller2 returns just returns company's...
It would be nice to have this fixed. I don't want to refactor my entire project for this.