Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 771 Bytes

CONTRIBUTING.md

File metadata and controls

16 lines (14 loc) · 771 Bytes

CONTRIBUTING

How to run code generation

  1. Run the following command to install the necessary tools: npm install
  2. Regenerate the OpenAPI spec by running the following command: npx tsp compile .\openai-in-typespec\main.tsp --emit @typespec/openapi3
  3. Regenerate the library by running the following command: npx tsp compile .\openai-in-typespec\main.tsp --emit @azure-tools/typespec-csharp --option @azure-tools/typespec-csharp.emitter-output-dir=.\openai-in-typespec\.dotnet\src
  4. Run the following script: .\openai-in-typespec\.scripts\Update-ClientModel.ps1
  5. Run the following script: .\openai-in-typespec\.scripts\ConvertTo-Internal.ps1
  6. Run the following script: .\openai-in-typespec\.scripts\Add-Customizations.ps1