@typespec/http-specs

0.1.0-alpha.22 • Public • Published

Http Specs

This package contains all the scenarios that should be supported by a client & service generator.

Development

  1. FOLLOW THE MONOREPO INSTRUCTION to get the environment setup.
  2. Scenarios should be in ./specs folder

Writing scenarios

Docs on writing scenarios specs

Writing mockapis

Docs on writing mock apis

Validate the scenarios are valid

pnpm run validate-scenarios

Validate the mock apis are valid

pnpm run validate-mock-apis

Start mock api server

This will start the server using the mock apis. When writing a mock api use this command to start the server.

pnpm run serve

Update version for release

pnpm change version --only "@typespec/http-specs"

Push the changes in branch named after the pattern publish/xyz. Once merged, the package will be auto-released.

Readme

Keywords

none

Package Sidebar

Install

npm i @typespec/http-specs

Weekly Downloads

2,720

Version

0.1.0-alpha.22

License

MIT

Unpacked Size

978 kB

Total Files

353

Last publish

Collaborators

  • azure-sdk
  • microsoft1es