Skip to content

Files

Latest commit

ef3b495 · Dec 20, 2024

History

History
This branch is up to date with Azure/cadl-ranch:main.

cadl-ranch-specs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 8, 2023
Dec 20, 2024
Aug 22, 2022
Dec 12, 2024
Aug 11, 2022
Nov 18, 2024
Dec 12, 2024
Jul 22, 2022
Aug 8, 2024
Apr 25, 2023

Cadl Ranch Specs

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

Development

  1. FOLLOW THE MONOREPO INSTRUCTION to get the environment setup.
  2. Scenarios should be in ./http 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