CyberfusionIO / cyberfusion-cluster-api-client

Cyberfusion Core API client
https://core-api.cyberfusion.io
MIT License
5 stars 3 forks source link

Cast empty array to empty dict #86

Closed WilliamDEdwards closed 11 months ago

WilliamDEdwards commented 11 months ago

Otherwise, an empty array is represented as [] in the JSON request body, while the Cluster API expects an empty dict ({}). This is achieved by using a class.

Please open another PR if there is a better solution.

To do:

Changes

See above.

Checks