Swagger API methods are sorted, so that raml file will be the same on each generation

Please use explicit return types instead of `def` when the returned type is other than `Object`