[netatmo] Compatibility with OpenHAB 3 (Update to newer Swagger version and code generation libraries replaced) (#8274) (#8652)
Swagger upgrade for the Netatmo binding (required to use the OAS 3 Swagger annotations, the old annotations dependencies were removed with OpenHAB 3) - Swagger-Codegen updated to the latest version (to generate the OAS 3 Swagger annotations) - Retrofit replaced by the default code generation (Retrofit 1 code generation is broken with newer swagger-codegen versions and an update to Retrofit 2 is also incompatible and would require more dependencies) - NULL handling for collections introduced (newer versions of the Swagger codegen return NULL for empty collections instead of an empty collection ...) - The binding is now working completely again (compiles and starts), but there are still some TODOs Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com> sven.strohschein@gmail.com>
This commit is contained in:
@@ -19,6 +19,11 @@ commons-codec
|
||||
* Project; https://commons.apache.org/proper/commons-codec
|
||||
* Source: https://commons.apache.org/proper/commons-codec
|
||||
|
||||
gson-fire
|
||||
* License: Apache 2.0 License
|
||||
* Project: http://gsonfire.io
|
||||
* Source: https://github.com/julman99/gson-fire
|
||||
|
||||
json
|
||||
* License: JSON License
|
||||
* Project: https://www.json.org
|
||||
@@ -43,8 +48,3 @@ netatmo-swagger-decl
|
||||
* License: MIT License
|
||||
* Project: https://dev.netatmo.com
|
||||
* Source: https://github.com/cbornet/netatmo-swagger-decl
|
||||
|
||||
retrofit
|
||||
* License: Apache 2.0 License
|
||||
* Project: https://square.github.io/retrofit
|
||||
* Source: https://github.com/square/retrofit
|
||||
|
||||
Reference in New Issue
Block a user