YAML DSL
The YAML DSL declares routes as configuration files. The parser converts each
file into the same RouteDefinition the Rust builder API produces. The runtime
treats both authoring forms identically.
Reach for the YAML DSL when routes change more often than the application binary. Operations teams ship route edits through config management, and the hot-reload subsystem applies them without a redeploy. The same grammar also parses as JSON.
- Route structure: anatomy of a route file
- Step verbs: reference for every verb and field