Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
zijianhuang committed Jun 11, 2024
1 parent 35916f5 commit 5499a57
Show file tree
Hide file tree
Showing 11 changed files with 133 additions and 9,055 deletions.
4 changes: 2 additions & 2 deletions CreateDemoTextJsonWebClientApi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ cd $PSScriptRoot
$path = "$PSScriptRoot/DemoTextJsonWeb"
$procArgs = @{
FilePath = "dotnet.exe"
ArgumentList = "run $path/DemoTextJsonWeb.csproj --no-build"
ArgumentList = "run $path/DemoTextJsonWeb.csproj --no-build --launch-profile CodeGen"
WorkingDirectory = $path
PassThru = $true
}
$process = Start-Process @procArgs

#Step 2: Run CodeGen
$restArgs = @{
Uri = 'http://localhost:6000/api/codegen'
Uri = 'http://localhost:5000/api/codegen'
Method = 'Post'
InFile = "$path/CodeGen.json"
ContentType = 'application/json'
Expand Down
Loading

0 comments on commit 5499a57

Please sign in to comment.