Sandbox repo for experimenting with TypeSpec
- Node.js 20 installed on your computer. Check with
node --version
- TypeSpec compiler installed globally:
npm install -g @typespec/compiler
- Clone the repo locally
- Install the TypeSpec project:
tsp install
- Compile to JSON schema:
tsp compile .
- Check the output in
tsp-output/@typespec/json-schema/
You should see a series of .yaml
files.