Request Query Decorator Factory
Returns a parameter decorator that maps the query string to the parameter.
class MyController { \@Get("/hello") hello(@RequestQuery("name") name: string) { return \`Hello \${name}\`; }
Optional
The name of the query to map
Generated using TypeDoc
Request Query Decorator Factory
Returns a parameter decorator that maps the query string to the parameter.
Example
Returns