Forum Discussion

mdisbrow's avatar
mdisbrow
Occasional Visitor
5 years ago

CodeGen Issue - C# - Requests don't use BasePath

It doesn't appear that the generated client API for C# uses the BasePath in the generated requests.The BasePath is configured with the target server but the generated code only includes the 'local' path for the request 'Resource' so requests are made relative to the machine that code runs from.  Did I miss something in generating the code?  Is this a bug?  

2 Replies

  • Hello mdisbrow, this is indeed a bug. i made a PR to solve i. Can you please check when you have a chance?

    • hugomario's avatar
      hugomario
      Staff

      forgot to mention, i fixed this for codegen v3, for v2 looks ok for me. If you still see the issue for v2. Please, let me know