Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Optional @ApiObjectField name #31
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;
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.