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
Goog idea.