I don't know whether it is handled or not but I didn't find any documentation regarding inheriting only few methods from previous version.
eg.
api vendor_string: "myvendor", default_version: 1 do
version 1 do
cache as: 'v1' do
resources :authorizations
end
end
version 2 do
inherit from: 'v1'
# Now I want only `index` action to inherit from authorizations and want to modify other actions of authorization controller. How to do this?
end
end
Thanks.
I don't know whether it is handled or not but I didn't find any documentation regarding inheriting only few methods from previous version.
eg.
Thanks.