concentricsky/django-tastypie-swagger — pull request #82 by willemt (2014-07-16 06:26:03+00:00)
Title: 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.