I was wondering about a use-case I have typescript and I want to generate JSON-schema (without creating suretype types).
If there can be a utility function (ie: tsToJsonSchema()) that can be passed a typescript string and it generates a JSON schema. All utilities in this library rely on the CoreValidator or Validatortype - is there a possible path for building a function that can accomplish this?
Note: typescript-to-json-schema is a great tool but it's SLOW and IMO convoluted for solving this problem.
I was wondering about a use-case I have typescript and I want to generate JSON-schema (without creating
suretype
types).If there can be a utility function (ie:
tsToJsonSchema()
) that can be passed a typescript string and it generates a JSON schema. All utilities in this library rely on theCoreValidator
orValidator
type - is there a possible path for building a function that can accomplish this?Any ideas or thoughts on this?