Skip to content

Commit

Permalink
[Javascript] v1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
gideruette committed Sep 6, 2024
1 parent 287858f commit ab6927e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TopModel.Generator.Javascript/AngularApiClientGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private void WriteEndpoint(Endpoint endpoint, FileWriter fw)
if (needResponseType)
{
var responseType = returnType == "string" ? "text" : returnType.ToLower();
fw.Write($", {{responseType: '{returnType.ToLower()}'}}");
fw.Write($", {{responseType: '{responseType}'}}");
}

if (endpoint.GetQueryParams().Any())
Expand Down
4 changes: 4 additions & 0 deletions TopModel.Generator.Javascript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

## 1.0.7

- [#389](https://github.com/klee-contrib/topmodel/pull/389) - Prise en compte des returnType Blob et ArrayBuffer Hot fix x3

## 1.0.6

- [#389](https://github.com/klee-contrib/topmodel/pull/389) - Prise en compte des returnType Blob et ArrayBuffer Hot fix x2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<PropertyGroup>
<PackageOutputPath>../.nupkg</PackageOutputPath>
<Version>1.0.6</Version>
<Version>1.0.7</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Authors>JabX;gideruette</Authors>
<Description>Générateurs JS/TS pour TopModel</Description>
Expand Down

0 comments on commit ab6927e

Please sign in to comment.