For all parameters used in the URL path, a regular expression of /[^/]+/ is used. To change that, use getRegExp.
class Controller { @http.GET('/user/:username') route(username: HttpRegExp<string, '.*'>) { //username is string }}
Generated using TypeDoc
For all parameters used in the URL path, a regular expression of /[^/]+/ is used. To change that, use getRegExp.
Example