typescript-json-schema icon indicating copy to clipboard operation
typescript-json-schema copied to clipboard

Parameter `--title` adds `title` to `$ref` properties

Open robaca opened this issue 1 year ago • 0 comments

When adding the --title parameter, I get a schema with the following content:

{
  "definitions": {
    "SomePropertyType": { ... }
  },
  "properties": {
    "someProperty": {
       "$ref": "#/definitions/SomePropertyType",
       "title": "someProperty"
     }
  }
}

robaca avatar Mar 20 '24 08:03 robaca