wireRoutes

fun Route.wireRoutes()

Wires the routes for plan-related operations.

Defines the PATCH route for updating a plan, the POST route for submitting a plan, and nested routes for getting a plan, getting a plan summary, and canceling a plan.