fix "Swagger JSON has duplicates"