@azure-tools/cadl-ranch-specs
v0.39.4
Published
Cadl scenarios and mock apis
Downloads
13,279
Keywords
Readme
Cadl Ranch Specs
This package contains all the scenarios that should be supported by a client generator.
Development
- FOLLOW THE MONOREPO INSTRUCTION to get the environment setup.
- Scenarios should be in
./http
folder
Writing scenarios
Docs on writing scenarios specs
Writing mockapis
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