cjstehno / ersatz

🤖 A simulated HTTP server for testing client code with configurable responses.
https://cjstehno.github.io/ersatz
Apache License 2.0
47 stars 5 forks source link

Allow global config of request decoders #16

Closed cjstehno closed 7 years ago

cjstehno commented 7 years ago

Currently the encoders/decoders are configured on a per-request/response basis. While a shared collection of them may be injected, it would be better to allow for global configuration of the desired defaults at the server or expectations configuration level.

Also ensure that there is a set of reusable common encoders/decoders for standard scenarios.

cjstehno commented 7 years ago

This has been fixed in the development branch.