Cohere.Derive.Routes (Cohere v0.1.0)

Copy Markdown View Source

Derives the HTTP/LiveView surface from compiled Phoenix routers.

Routes are compile-time data (__routes__/0), so no server or database is needed — this runs in CI. LiveView routes are unwrapped to the LiveView module and action rather than reported as Phoenix.LiveView.Plug.

Summary

Functions

Derives routes for every router module in the given list.

Routes for one router, in definition order.

Functions

derive(router_modules)

Derives routes for every router module in the given list.

routes(router)

Routes for one router, in definition order.