-
-
Notifications
You must be signed in to change notification settings - Fork 418
Closed
Labels
Description
Hello. I caught one issue with the sort function.
content: schema.rawTypeData['$parsed'].content.sort(sortByName)}
After some research I've found that in openapi we have this
"TriggerAPISchema": "title":"TriggerAPISchema","type":"object","properties":{}}
which in the code has content: 'object', where sort is undefined.
I think it would be good to add validation Array.isArray(schema.rawTypeData['$parsed'].content)

