- Run the following command to install the necessary tools:
npm install
- Regenerate the OpenAPI spec by running the following command:
npx tsp compile .\openai-in-typespec\main.tsp --emit @typespec/openapi3
- 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
- Run the following script:
.\openai-in-typespec\.scripts\Update-ClientModel.ps1
- Run the following script:
.\openai-in-typespec\.scripts\ConvertTo-Internal.ps1
- Run the following script:
.\openai-in-typespec\.scripts\Add-Customizations.ps1