Skip to content

Commit

Permalink
Fix changes spaces that cause test case to fail
Browse files Browse the repository at this point in the history
Removed the 4 extra spaces that caused the generated file to vary from the  verified file
  • Loading branch information
soligen2010 committed May 3, 2024
1 parent d9b7e32 commit d5d4a15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NSwag.CodeGeneration.CSharp/Templates/Client.Class.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,9 @@

var urlBuilder_ = new System.Text.StringBuilder();
{% if HasBaseClass == true and GenerateBaseUrlProperty == false -%}
if (!string.IsNullOrEmpty(BaseUrl)) urlBuilder_.Append(BaseUrl);
if (!string.IsNullOrEmpty(BaseUrl)) urlBuilder_.Append(BaseUrl);
{% else -%}
if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl);
if (!string.IsNullOrEmpty(_baseUrl)) urlBuilder_.Append(_baseUrl);
{% endif -%}
// Operation Path: "{{ operation.Path }}"
{% if operation.Path contains "{" -%}
Expand Down

0 comments on commit d5d4a15

Please sign in to comment.