1 2 3 4 5
// `ryuk make:controller` registered this route in src/routes.rs (above its `// ryuk:routes` marker). #[utoipa::path(get, path = "/{{snake}}", responses((status = 200, description = "{{Name}} index")))] pub async fn index() -> &'static str { "{{Name}}" }