krakenjs / generator-swaggerize

Yeoman generator for design-driven apis with swagger 2.0 and krakenjs/swaggerize tools.
Other
70 stars 34 forks source link

Model files are created as all lowercase (e.g. ModifierValue --> modifiervalue). #25

Open johnkchiu opened 9 years ago

johnkchiu commented 9 years ago

The model files are generated as all lower case (e.g. modifiervalue), but I think the generate should respect the schema model name with 1st letter lower case (e.g. modifierValue).

Example:

{
  ...
  "definition": {
    "ModifierValue: {
    ...
    }
  }
}

Should create a file as modifierValue.js.