fix multiple clients generation with same method name in description
fix api for format middleware