From b3ce3a74a2b080275916c709632766805d12bb18 Mon Sep 17 00:00:00 2001 From: Geoff Brown Date: Fri, 18 May 2018 11:26:56 -0400 Subject: [PATCH] Fix improper whitespace in mustache template (PHNX-859) Motivation ---- OpenAPI Generator upstream requested whitespace fixes (from tabs to 4 spaces) Modifications ---- Fixed whitespace --- .../src/main/resources/typescript-node/api.mustache | 4 ++-- samples/client/petstore/typescript-node/default/api.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-node/api.mustache b/modules/openapi-generator/src/main/resources/typescript-node/api.mustache index 098c2feb11c1..8916679189fc 100644 --- a/modules/openapi-generator/src/main/resources/typescript-node/api.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-node/api.mustache @@ -83,8 +83,8 @@ class ObjectSerializer { if (!typeMap[type]) { // in case we dont know the type return data; } - - // Get the actual type of this object + + // Get the actual type of this object type = this.findCorrectType(data, type); // get the map for the correct type. diff --git a/samples/client/petstore/typescript-node/default/api.ts b/samples/client/petstore/typescript-node/default/api.ts index d534f24414cf..a6e6c97eb340 100644 --- a/samples/client/petstore/typescript-node/default/api.ts +++ b/samples/client/petstore/typescript-node/default/api.ts @@ -92,8 +92,8 @@ class ObjectSerializer { if (!typeMap[type]) { // in case we dont know the type return data; } - - // Get the actual type of this object + + // Get the actual type of this object type = this.findCorrectType(data, type); // get the map for the correct type.