I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [X] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
I have just generated the C# client from the swagger.json configuration file (https://legacy.squidex.io/api/swagger/v1/swagger.json) and I found out that there is a new required property for my assetsDto named “fileHash”.
When I tried to retrieve from API all my Assets I got a deserializaion exception because the field fileHash is not present in the json response retrieved from Squidex.
I also tried to upload a new image and, as I expected, when I asked the assets from API, the new one has correctly the fileHash property, while the old ones not.
Expected behavior
A modification on the AssetDto swagger.json definition should be backward compatible with the old assets.
Environment
- [ ] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [X] Cloud version