When using either "Create From Request" or "Create From Sample" in the REST Generator to create "Response Content" the generator crashes.
Workflow 8.1
ServiceDesk 8.1
The reason for the crash is empty arrays in JSON that have no items in them and have no type defined. The next step in the wizard is generating a (static) data type for the JSON Response Content. If the array does not have a defined type, this fails and causes the wizard to crash.
This behaviour has been reported to Symantec Engineering for review.
The only way to get this working is to make sure there are objects in all arrays. Of course these need to be of the right type for the data type to work properly later when request should return data for these arrays.