The TypeSpec VS Code extension can be installed from the VS Code marketplace or directly on the command line:
- Run
npm ito install required packages. - Run
npm run compileto compile the code, check the package.json for compile step info. - Compiled code is located at
tsp-output/@typespec/openapi3/openapi.yaml - Create
tspconfig.yamlfile for the additional configuration, check the documentation for more info.