code: def format_endpoint_returns_doc(endpoint):
      
      description = clean_description(py_doc_trim(endpoint._returns._description))
      return {
          'description': description,
          'resource_name': endpoint._returns._value_type,
          'resource_type': endpoint._returns.__class__.__name__
      }
docs: Return documentation about the resource that an endpoint returns.