d-velop / dvelop-app-template-cs

This template contains everything you need to write an app for d.velop cloud in C#
Apache License 2.0
17 stars 7 forks source link

icon property in FeatureDTO should be iconURI #53

Closed mtestrot closed 3 years ago

mtestrot commented 4 years ago

cf. https://developer.d-velop.de/documentation/dhapi/de

ckuetbach commented 4 years ago

Do you mean the Case of the property?

The deserialize in newtonsoft JSON are case insensitive by default. System.Text.Json can also handle property names case insensitive. but the Serializer should use settings appropriate to the API.

mtestrot commented 4 years ago

No... Not the case, The template uses the property

icon

but the Home-App docu specifies

iconURI

ckuetbach commented 4 years ago

Ahh, I see.

icon is deprecated and shouldn't be used anymore.