cancel
Showing results for 
Search instead for 
Did you mean: 

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

Occasional Visitor

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 2
Staff

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

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

Staff

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

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

New Here?
Join us and watch the welcome video: