Pure-string router-snippet renderer — a debugging / legacy helper.
Superseded in v0.12
Caravela-generated apps register routes through the
Caravela.Router macro (caravela_routes/1), which expands from
the DSL at compile time. The mix caravela.gen.live task prints a
one-line hint pointing at that macro instead of a paste-snippet.
This module still renders the old paste-snippet string so scripts
and introspection tools that want a textual representation of a
domain's router shape can get one. New code should use
Caravela.Router directly.
Emits one block per render mode:
:liveentities getlive "/<plural>", <Entity>Live.<Kind>lines under a:browserpipeline scope.:restentities getcaravela_rest "/<plural>", <Entity>Controller(withrealtime: truewhen the entity opts in).
When the domain declares version "v1", the scope prefix shifts
to /v1/<context>/... and the web-module alias picks up the
V1. segment, matching Caravela.Gen.LiveView's module layout.
Summary
Functions
Return the router snippet covering every entity's frontend mode.