Stone.js API
    Preparing search index...
    • A method decorator for defining HTTP PUT routes.

      Parameters

      • path: string | string[]

        The route path for the PUT endpoint.

      • Optionaloptions: PutOptions

        Optional configuration for the route.

      Returns MethodDecorator

      A method decorator configured for a PUT route.

      @Put('/update')
      updateResource() {
      return 'Resource updated';
      }