def get_responses(link):
    """Returns documented responses based on the @responds decorator.

    In case no documentation exists, the empty object is returned,
    instead of a default, which better represents that behavior not to
    be formally documented.

    """
    if hasattr(link, '_responses'):
        return link._responses
    return {}
