import { createParameterDecorator } from "./create-parameter-decorator.ts" ; /**
 * Decorator that extracts an action argument as the full body of a request
 */ export function Body ( ) ; param name export function Body ( name ) ; export function Body ( name ? ) { return createParameterDecorator ( async ( contextAccessor ) => await contextAccessor . getBody ( name ) , name ?? "body" ) ; }