···3737 // append the new method to it. Otherwise we should create a new service object.
3838 const service: Service = services.get(operation.service) || {
3939 $refs: [],
4040+ imports: [],
4041 name: operation.service,
4142 operations: [],
4242- imports: [],
4343 };
44444545 // Push the operation in the service