Changed nicknames to be swagger-codegen friendly

Hi, swagger-codegen uses the nickname to name generated functions. Because the nicknames include a "-" this leads to the generated functions causing a syntax error in the generated Python code.

Eg. Notice the dash between fooname and list:
def fooname-list(self, **kwargs):

This PR makes the nicknames swagger-codegen friendly.