Skip to content

Content Negotiation #17

@xentek

Description

@xentek

We should be agnostic about the encoder we use to return the hypermedia representation in an endpoint's response. #16 introduced a Present() function that returns a simple Representation type, which is essentially a map[string]interface{}. This maps pretty easily to encoder/json and in fact that was used as the response for the Discovery URL (#1).

This feature also overlaps with concerns for Endpoint Versioning (#2) at the media type level.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions