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

      Parameters

      • path: string | string[]

        The route path for the PATCH endpoint.

      • Optionaloptions: PatchOptions

        Optional configuration for the route.

      Returns MethodDecorator

      A method decorator configured for a PATCH route.

      @Patch('/update-partial')
      updatePartialResource() {
      return 'Resource partially updated';
      }