code: def get_method_contents(self, method):
          
          if self._CONDITIONAL_IF in method:
              return method[self._CONDITIONAL_IF][1:]
          return [method]
docs: Returns the swagger contents of the given method. This checks to see if a conditional block
          has been used inside of the method, and, if so, returns the method contents that are
          inside of the conditional.
  
          :param dict method: method dictionary
          :return: list of swagger component dictionaries for the method