[#440] Add support for generating models that are represented in the ApiResponse annotations

closes #440