ts-json-schema-generator icon indicating copy to clipboard operation
ts-json-schema-generator copied to clipboard

feat: Generate titles from definition names

Open FoxxMD opened this issue 10 months ago • 12 comments

All root child definitions have a title added to their definition if the opt-in definitionTitles option is set

  • The title value is the same as the node name (which is, ideally, the name of the interface/type/alias from TS code).
  • Use definitionTitles: true programatically or from the command line with arg --definition-titles

Closes #1486

FoxxMD avatar Dec 04 '24 19:12 FoxxMD