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 1 year ago

WilliamDEdwards commented 1 year 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