import Vapor struct UtilController: RouteCollection { func boot(routes: any RoutesBuilder) throws { let group = routes.grouped("v3", "util") group.post("country", "get", use: self.getCountry) } @Sendable func getCountry(req: Request) async throws -> String { "{\"country\": \"us\"}" } }