import { route , FromBody , FromQuery , FromParam } from '../../../../../lib' ; export class FromController { @ route ( 'POST /from/query' ) async a1 ( @ FromQuery ( ) a ) { return { a } ; } @ route ( 'POST /from/body' ) async a2 ( @ FromBody ( ) a ) { return { a } ; } @ route ( 'POST /from/param/:a' ) async a3 ( @ FromParam ( ) a ) { return { a } ; } }