I have a rails application (not rails-api)
class ApplicationController < ActionController::Base
but not
class ApplicationController < ActionController::API
I want HTML documentation for this application. I use apipie for this purpose, but I get
Oops!! Method <code></code> not found for resource <code></code>
The controllers are located in the application / controllers /, and the configuration seems fine to me.
I assume that the rails application can also be considered as an API. Controllers handle json if this is enough to consider an application as a web application or an API? Do I need to write a separate rails-api application for API purposes? Help me figure out the difference between the two in case I missed a point.
NGInd source
share