@typespec/http-specs
v0.1.0-alpha.39
Published
Spec scenarios and mock apis
Readme
Http Specs
This package contains all the scenarios that should be supported by a client & service generator.
Development
- FOLLOW THE MONOREPO INSTRUCTION to get the environment setup.
- Scenarios should be in
./specsfolder
Writing scenarios
Docs on writing scenarios specs
Writing mockapis
Validate the scenarios are valid
pnpm run validate-scenariosValidate the mock apis are valid
pnpm run validate-mock-apisStart 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 serveUpdate 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.
