fabiomaffioletti/jsondoc — pull request #31 by solid-tarka (2014-09-17 21:50:50+00:00)
Title: Optional @ApiObjectField name

REST attribute names aren't always the same as the names given in to the object attributes in Java format. For example quite a few people will use Jackson or similar to use JS notation instead of camel.

**private String fooBaa;**
might be represented in JSON as **foo_baa**.

I've added an optional name parameter to the @ApiObjectField notation. If a new name is specified it will override the default name otherwise it will simply default back to the actual name.