From dc974dc89f786f45f16f46a00a5dec153181ad33 Mon Sep 17 00:00:00 2001 From: pboudreau Date: Thu, 19 Mar 2020 00:11:14 -0400 Subject: [PATCH 1/2] typescript-angular: ssv fix for parameters (#5630) --- .../src/main/resources/typescript-angular/variables.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-angular/variables.mustache b/modules/openapi-generator/src/main/resources/typescript-angular/variables.mustache index b3241fcebcd0..57363530bed2 100644 --- a/modules/openapi-generator/src/main/resources/typescript-angular/variables.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-angular/variables.mustache @@ -4,6 +4,6 @@ export const BASE_PATH = new {{injectionToken}}{{#injectionTokenTyped}}{ export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } From cd984e40fe6a91e9e084a34dad08c0fa5f19ef4f Mon Sep 17 00:00:00 2001 From: pboudreau Date: Thu, 19 Mar 2020 01:53:05 -0400 Subject: [PATCH 2/2] typescript-angular: ssv fix for parameters (#5630) --- .../client/petstore/typescript-angular-v2/default/variables.ts | 2 +- samples/client/petstore/typescript-angular-v2/npm/variables.ts | 2 +- .../petstore/typescript-angular-v2/with-interfaces/variables.ts | 2 +- .../client/petstore/typescript-angular-v4.3/npm/variables.ts | 2 +- samples/client/petstore/typescript-angular-v4/npm/variables.ts | 2 +- .../builds/default/variables.ts | 2 +- .../builds/with-npm/variables.ts | 2 +- .../builds/default/variables.ts | 2 +- .../builds/with-npm/variables.ts | 2 +- .../builds/default/variables.ts | 2 +- .../builds/with-npm/variables.ts | 2 +- .../builds/default/variables.ts | 2 +- .../builds/with-npm/variables.ts | 2 +- .../builds/single-request-parameter/variables.ts | 2 +- .../builds/with-npm/variables.ts | 2 +- .../builds/with-prefixed-module-name/variables.ts | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/samples/client/petstore/typescript-angular-v2/default/variables.ts b/samples/client/petstore/typescript-angular-v2/default/variables.ts index 29b7e5b1d716..77e1acec505f 100644 --- a/samples/client/petstore/typescript-angular-v2/default/variables.ts +++ b/samples/client/petstore/typescript-angular-v2/default/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new OpaqueToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v2/npm/variables.ts b/samples/client/petstore/typescript-angular-v2/npm/variables.ts index 29b7e5b1d716..77e1acec505f 100644 --- a/samples/client/petstore/typescript-angular-v2/npm/variables.ts +++ b/samples/client/petstore/typescript-angular-v2/npm/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new OpaqueToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v2/with-interfaces/variables.ts b/samples/client/petstore/typescript-angular-v2/with-interfaces/variables.ts index 29b7e5b1d716..77e1acec505f 100644 --- a/samples/client/petstore/typescript-angular-v2/with-interfaces/variables.ts +++ b/samples/client/petstore/typescript-angular-v2/with-interfaces/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new OpaqueToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v4.3/npm/variables.ts b/samples/client/petstore/typescript-angular-v4.3/npm/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v4.3/npm/variables.ts +++ b/samples/client/petstore/typescript-angular-v4.3/npm/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v4/npm/variables.ts b/samples/client/petstore/typescript-angular-v4/npm/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v4/npm/variables.ts +++ b/samples/client/petstore/typescript-angular-v4/npm/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/variables.ts b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/variables.ts +++ b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/variables.ts b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/variables.ts +++ b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/variables.ts b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/variables.ts +++ b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/variables.ts b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/variables.ts +++ b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/variables.ts b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/variables.ts +++ b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/variables.ts b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/variables.ts +++ b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/variables.ts b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/variables.ts +++ b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/variables.ts b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/variables.ts +++ b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/variables.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/variables.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/variables.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/variables.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' } diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/variables.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/variables.ts index 6fe58549f395..e583aab8ee47 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/variables.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/variables.ts @@ -4,6 +4,6 @@ export const BASE_PATH = new InjectionToken('basePath'); export const COLLECTION_FORMATS = { 'csv': ',', 'tsv': ' ', - 'ssv': ' ', + 'space': ' ', 'pipes': '|' }