TypeSpec
This parser lets you use TypeSpec as the source for a Basketry project. Add it to your pipeline to generate code, documentation, or apply rules directly from your TypeSpec definition.
Install
- npm
- yarn
- pnpm
npm install @basketry/typespec@alpha
yarn add @basketry/typespec@alpha
pnpm add @basketry/typespec@alpha
Basic Usage
info
This plugin only supports JSON-RPC. Run Basketry with the experimental RPC engine: npx basketry --engine rpc
basketry.config.json
{
"source": "petstore.tsp",
"parser": "basketry-typespec"
}