wordnik/swagger-codegen — pull request #201 by RobBlairInq (2014-06-10 00:48:24+00:00)
Title: coerce API names for classesand files to valid Java names

While working with my server folks, I found they had some API names that included the dash character.
It seemed easier for me to make the names Java safe, compared with convincing them to change the server.

---

* Swagger allows names of apis to include characters like '-' Java does not like that
* use same replace strings as used in toVarName