Skip to content

TomerAberbach/typespec-fast-check

Repository files navigation

typespec-fast-check

A TypeSpec emitter for fast-check arbitraries.

Install

$ npm i typespec-fast-check

Usage

Via the command line:

tsp compile . --emit=typespec-fast-check

Via the config:

emit:
  - 'typespec-fast-check'

See the TypeSpec documentation for more information.

Note

This package doesn't support all TypeSpec features yet. See the open issues for what's planned.

Examples

See openai/arbitraries.js, which was generated from the TypeSpec files in Brian Terlson's openai-in-typespec repository.

Contributing

Stars are always welcome!

For bugs and feature requests, please create an issue.

License

MIT © Stainless Software, Inc.