when i tried generate schema with TJS.generateSchema(program, "UserInfo", { validationKeywords: [ 'label' ] });, i got:
(From https://github.com/YousefED/typescript-json-schema/issues/251 i know that custom annotations should be declared in validationKeyowrds)
for example, i have an interface
UserInfo
whoseextra
property is another interface, and there are some annotations:when i tried generate schema with
TJS.generateSchema(program, "UserInfo", { validationKeywords: [ 'label' ] });
, i got: (From https://github.com/YousefED/typescript-json-schema/issues/251 i know that custom annotations should be declared invalidationKeyowrds
)name
has the propertydefault
andlabel
,butextra
only hasdescription
,label
is ignored.Is it a bug or how can i do with that?