Closed brandon-kyle-bailey closed 1 year ago
Trying to generate a json schema of the following interface:
./test.ts: export interface Shape { /** * The size of the shape. * * @minimum 0 * @TJS-type integer */ size: number; }
Using the following command:
yarn run typescript-json-schema ./test.ts '*'
Produces the output:
{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": {} } ✨ Done in 0.29s.
Not really sure what im doing wrong here. Can someone point me in the right direction?
Trying to generate a json schema of the following interface:
Using the following command:
Produces the output:
Not really sure what im doing wrong here. Can someone point me in the right direction?