Skip to content

Commit

Permalink
update convert.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
RodgeFu committed Mar 18, 2024
1 parent e6a1fd3 commit 4096264
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/extensions/openapi-to-typespec/convert.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ param(
function GenerateMetadata ()
{
Write-Host "##Generating metadata with csharp codegen in $outputFolder with $csharpCodegen"
if($csharpAutorestFile -eq "")
{
$csharpAutorestFile = $swaggerConfigFile
}
$cmd = "autorest --version=3.10.1 --csharp --isAzureSpec --isArm --max-memory-size=8192 --use=`"$csharpCodegen`" --output-folder=$outputFolder --mgmt-debug.only-generate-metadata --azure-arm --skip-csproj $ConfigFile"
Write-Host "$cmd"
Invoke-Expression $cmd
Expand Down

0 comments on commit 4096264

Please sign in to comment.