Hi,
As I noticed, it was one of our merged code which was causing the issue. It seems like nswag doesn't support JObject as input paramter now. Hence I was facing this issue. Anyways, thank you for your quick response.
Executing file '..\src\EMA.Web.Host\nswag\service.config.nswag' with variables ''...
Stack overflow.
child_process.js:656
throw err;
^
Error: Command failed: dotnet "..\src\EMA.Web.Host\node_modules\nswag\bin/binaries/NetCore31/dotnet-nswag.dll" run
at checkExecSyncError (child_process.js:616:11)
at Object.execSync (child_process.js:653:13)
at c.exec (C:\Nithin\Projects\Devensoft\NextGen\main-trunk\src\EMA.Web.Host\node_modules\nswag\bin\nswag.js:69:11)
at ChildProcess.exithandler (child_process.js:285:7)
at ChildProcess.emit (events.js:189:13)
at maybeClose (internal/child_process.js:970:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
Kindly note that I have manually changed defaultCoreVersion in nswag.js to "31" as I wanted to check. Even then it was throwing error
Can this endpoint return json data?
yes