* Add test for default content-type of DDI We want to add support for other content types to the DDI interface. To make sure we don't break devices that implicitly assume they will receive JSON without setting an Accept header, add a test for the current behavior. v2: Complete the assertion Signed-off-by: Stefan Schake <stefan.schake@devolo.de> * Add CBOR support for DDI API Concise Binary Object Representation (CBOR) is a binary data format optimized for small code and message size. Since Spring Boot 2, there is an autoconfigured data converter so we need to do little more than add the reference to the Jackson backend and advertise support in the DDI endpoints. Add tests to ensure all endpoints support the format. Fixes #748 Signed-off-by: Stefan Schake <stefan.schake@devolo.de>
1.4 KiB
1.4 KiB