Skip to content

Array properties that include the word "men" in the name result in incorrectly named item class #142

@pphillips-techphob

Description

@pphillips-techphob

The food ratings agency api (http://api.ratings.food.gov.uk/Help/Api/GET-Establishments-basic) generates JSON of the form:

{
  "establishments": [
    {
      "FHRSID": 1
    }
  ]
}

The generator then creates a Java class called Establishmants.java with an a rather than an e in ments. Not a big issue as I can then do a global search and replace on the generated code, but it would be good to be able to turn it off.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions