import CasePathsCore import Foundation @preconcurrency import URLRouting public enum SiteRoute: Equatable, Sendable { case api(Self.Api) case health case view(Self.View) public static let router = OneOf { Route(.case(Self.api)) { SiteRoute.Api.router } Route(.case(Self.health)) { Path { "health" } Method.get } Route(.case(Self.view)) { SiteRoute.View.router } } }