Handle correctly overloaded methods when swagger api is generated