Updated to use swagger-php 0.8 API.