Temporary compile fix for swagger-codegen

06031a0a3493d837bf4fd5647aa65f38102f4f9e
(added 1.2 conversion, 21.11.2014 19:14)