<commit_before>{

  <@lib.endpointInfo
      id = "modifyTaskVariables"
      tag = "Task Variable"
      desc = "Updates or deletes the variables visible from the task. Updates precede deletions. So, if a variable is
              updated AND deleted, the deletion overrides the update. A variable is visible from the task if it is a
              local task variable or declared in a parent scope of the task. See documentation on
              [visiblity of variables](${docsUrl}/user-guide/process-engine/variables/)." />

  "parameters": [

    <@lib.parameter
        name = "id"
        location = "path"
        type = "string"
        required = true
        last  = true
        desc = "The id of the task to set variables for."/>

  ],

  <@lib.requestBody
      mediaType = "application/json"
      dto = "PatchVariablesDto"
      examples = ['"example-1": {
                     "summary": "POST `/task/aTaskId/variables`",
                     "description": "Status 204 Response: No content.",
                     "value": {
                       "modifications": {
                         "aVariable": {
                           "value": "aValue",
                           "type": "String"
                         },
                         "anotherVariable": {
                           "value": 42,
                           "type": "Integer"
                         }
                       },
                       "deletions": [
                         "aThirdVariable",
                         "FourthVariable"
                       ]
                     }
                   }'
      ] />

  "responses" : {

    <@lib.response
        code = "204"
        desc = "Request successful." />

    <@lib.response
        code = "400"
        dto = "ExceptionDto"
        desc = "The variable value or type is invalid. For example the value could not be parsed to an `Integer` value
                or the passed variable type is not supported. See the
                [Introduction](${docsUrl}/reference/rest/overview/#error-handling)
                for the error response format." />

    <@lib.response
        code = "500"
        dto = "ExceptionDto"
        last = true
        desc = "Update or delete could not be executed because the task is `null` or does not exist.. See the
                [Introduction](${docsUrl}/reference/rest/overview/#error-handling)
                for the error response format." />
  }
}<commit_msg>SQUASH ME: fix formatting<commit_after>{

  <@lib.endpointInfo
      id = "modifyTaskVariables"
      tag = "Task Variable"
      desc = "Updates or deletes the variables visible from the task. Updates precede deletions. So, if a variable is
              updated AND deleted, the deletion overrides the update. A variable is visible from the task if it is a
              local task variable or declared in a parent scope of the task. See documentation on
              [visiblity of variables](${docsUrl}/user-guide/process-engine/variables/)." />

  "parameters": [

    <@lib.parameter
        name = "id"
        location = "path"
        type = "string"
        required = true
        last  = true
        desc = "The id of the task to set variables for."/>

  ],

  <@lib.requestBody
      mediaType = "application/json"
      dto = "PatchVariablesDto"
      examples = ['"example-1": {
                     "summary": "POST `/task/aTaskId/variables`",
                     "description": "Status 204 Response: No content.",
                     "value": {
                       "modifications": {
                         "aVariable": {
                           "value": "aValue",
                           "type": "String"
                         },
                         "anotherVariable": {
                           "value": 42,
                           "type": "Integer"
                         }
                       },
                       "deletions": [
                         "aThirdVariable",
                         "FourthVariable"
                       ]
                     }
                   }'
      ] />

  "responses" : {

    <@lib.response
        code = "204"
        desc = "Request successful." />

    <@lib.response
        code = "400"
        dto = "ExceptionDto"
        desc = "The variable value or type is invalid. For example the value could not be parsed to an `Integer` value
                or the passed variable type is not supported. See the
                [Introduction](${docsUrl}/reference/rest/overview/#error-handling)
                for the error response format." />

    <@lib.response
        code = "500"
        dto = "ExceptionDto"
        last = true
        desc = "Update or delete could not be executed because the task is `null` or does not exist. See the
                [Introduction](${docsUrl}/reference/rest/overview/#error-handling)
                for the error response format." />
  }
}
{'fraction_non_alphanumeric': 0.09723623159168852, 'fraction_numerical': 0.006052047609441194, 'mean_word_length': 1.3331764705882352, 'pattern_counts': {'":': 26, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6206674', 'n_tokens_mistral': 1282, 'n_tokens_neox': 1171, 'n_words': 393}