[SOLVED] Swagger.json include System.Collections.Generic.ICollection

I have…

  • Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.

I’m submitting a…

  • Regression (a behavior that stopped working in a new release)
  • Bug report
  • Performance issue
  • Documentation issue or request

Current behavior

PropertyPath includes ICollection interface properties.

 "PropertyPath": {
   "type": "object",
   "additionalProperties": false,
   "required": [
     "Empty",
     "Count",
     "Item",
     "Items",
     "System.Collections.Generic.ICollection<T>.IsReadOnly",
     "System.Collections.ICollection.IsSynchronized",
     "System.Collections.ICollection.SyncRoot",
     "System.Collections.IList.IsFixedSize",
     "System.Collections.IList.IsReadOnly"
   ],

Environment

  • Self hosted with docker
  • Self hosted with IIS
  • Self hosted with other version
  • Cloud version

Version: 7.13.0

Weird, I cannot verify it in the cloud:
https://cloud.squidex.io/api/docs

Could you try it with some random app? As I tried it with demo app in cloud i still got the same results.

Maybe should mention that i mean swagger file for Content API

It is solved, the property path is actually a string only.

I have also found another bug with enums.

1 Like

This topic was automatically closed after 30 hours. New replies are no longer allowed.