I'm new to Elixir and I am wondering if is it possible to document API routes using ExDoc? The Router is included in the documentation but not the routes (as they are not functions).
For example, here is a sample code:
scope "/api", MyApp.Api, as: :api do
pipe_through :api
scope "/v1", V1, as: :v1 do
post "/test", MyController, :test
end
end
Can I document this is ExDoc, and if yes, how?
Sorry if I missed something obvious!