<commit_before>module JsonapiSwaggerHelpers
  class DestroyAction
    include JsonapiSwaggerHelpers::Writeable

    def action_name
      :destroy
    end

    def generate
      _self = self

      @node.operation :delete do
        key :description, _self.description
        key :operationId, _self.operation_id
        key :tags, _self.tags

        _self.util.id_in_url(self)
      end
    end
  end
end
<commit_msg>Add response for delete action<commit_after>module JsonapiSwaggerHelpers
  class DestroyAction
    include JsonapiSwaggerHelpers::Writeable

    def action_name
      :destroy
    end

    def generate
      _self = self

      @node.operation :delete do
        key :description, _self.description
        key :operationId, _self.operation_id
        key :tags, _self.tags

        _self.util.id_in_url(self)

        response 200 do
          key :description, 'API Response'
        end
      end
    end
  end
end

{'fraction_non_alphanumeric': 0.05324813631522897, 'fraction_numerical': 0.003194888178913738, 'mean_word_length': 2.3098591549295775, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6710734', 'n_tokens_mistral': 281, 'n_tokens_neox': 272, 'n_words': 74}