fix undefined index actualType errors

Hi,

I see some "PHP Notice:  Undefined index: actualType" while executing api:swagger:dump. Tis PR fixes it.

Best regards,
Michal
why not just moving this inside your ``if (isset($prop['actualType']))`` ?