Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Better codec control. #8

Open
tomchristie opened this issue Jul 14, 2016 · 1 comment
Open

Better codec control. #8

tomchristie opened this issue Jul 14, 2016 · 1 comment

Comments

@tomchristie
Copy link
Contributor

tomchristie commented Jul 14, 2016

Allow codecs to be enabled or disabled. And allow a priority to be set for which decoder is used in the accept header.

Might look something like this:

$ coreapi codecs disable corejson
$ coreapi codecs enable openapi --priority
@tomchristie
Copy link
Contributor Author

I don't think we actually want this. What we will do tho is split out Schema (corejson, openapi) codecs from Client codecs. (json, text, download).

We'll probably want to force users to be explicit about the document type when they load a schema.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant