Improve error messages of Swagger conversion