From 6f1d1c008453664de597328909e416b13b44d4fe Mon Sep 17 00:00:00 2001 From: Tino Fuhrmann Date: Thu, 20 Apr 2023 20:41:19 +0200 Subject: [PATCH] Remove space from "type" --- .../resources/typescript/model/model.mustache | 2 +- .../builds/with-unique-items/models/Response.ts | 4 ++-- .../builds/browser/models/ApiResponse.ts | 6 +++--- .../typescript/builds/browser/models/Category.ts | 4 ++-- .../typescript/builds/browser/models/Order.ts | 12 ++++++------ .../typescript/builds/browser/models/Pet.ts | 12 ++++++------ .../typescript/builds/browser/models/Tag.ts | 4 ++-- .../typescript/builds/browser/models/User.ts | 16 ++++++++-------- .../builds/composed-schemas/models/Cat.ts | 4 ++-- .../builds/composed-schemas/models/CatAllOf.ts | 4 ++-- .../builds/composed-schemas/models/Dog.ts | 4 ++-- .../builds/composed-schemas/models/DogAllOf.ts | 4 ++-- .../composed-schemas/models/FilePostRequest.ts | 2 +- .../builds/composed-schemas/models/PetByAge.ts | 4 ++-- .../builds/composed-schemas/models/PetByType.ts | 4 ++-- .../models/PetsFilteredPatchRequest.ts | 8 ++++---- .../composed-schemas/models/PetsPatchRequest.ts | 8 ++++---- .../builds/default/models/ApiResponse.ts | 6 +++--- .../typescript/builds/default/models/Category.ts | 4 ++-- .../typescript/builds/default/models/Order.ts | 12 ++++++------ .../typescript/builds/default/models/Pet.ts | 12 ++++++------ .../typescript/builds/default/models/Tag.ts | 4 ++-- .../typescript/builds/default/models/User.ts | 16 ++++++++-------- .../typescript/builds/deno/models/ApiResponse.ts | 6 +++--- .../typescript/builds/deno/models/Category.ts | 4 ++-- .../typescript/builds/deno/models/Order.ts | 12 ++++++------ .../typescript/builds/deno/models/Pet.ts | 12 ++++++------ .../typescript/builds/deno/models/Tag.ts | 4 ++-- .../typescript/builds/deno/models/User.ts | 16 ++++++++-------- .../builds/inversify/models/ApiResponse.ts | 6 +++--- .../builds/inversify/models/Category.ts | 4 ++-- .../typescript/builds/inversify/models/Order.ts | 12 ++++++------ .../typescript/builds/inversify/models/Pet.ts | 12 ++++++------ .../typescript/builds/inversify/models/Tag.ts | 4 ++-- .../typescript/builds/inversify/models/User.ts | 16 ++++++++-------- .../builds/jquery/models/ApiResponse.ts | 6 +++--- .../typescript/builds/jquery/models/Category.ts | 4 ++-- .../typescript/builds/jquery/models/Order.ts | 12 ++++++------ .../typescript/builds/jquery/models/Pet.ts | 12 ++++++------ .../typescript/builds/jquery/models/Tag.ts | 4 ++-- .../typescript/builds/jquery/models/User.ts | 16 ++++++++-------- .../builds/object_params/models/ApiResponse.ts | 6 +++--- .../builds/object_params/models/Category.ts | 4 ++-- .../builds/object_params/models/Order.ts | 12 ++++++------ .../builds/object_params/models/Pet.ts | 12 ++++++------ .../builds/object_params/models/Tag.ts | 4 ++-- .../builds/object_params/models/User.ts | 16 ++++++++-------- 47 files changed, 186 insertions(+), 186 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript/model/model.mustache b/modules/openapi-generator/src/main/resources/typescript/model/model.mustache index c5b0cd3785e..5c42a024183 100644 --- a/modules/openapi-generator/src/main/resources/typescript/model/model.mustache +++ b/modules/openapi-generator/src/main/resources/typescript/model/model.mustache @@ -40,7 +40,7 @@ export class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{ { "name": "{{name}}", "baseName": "{{baseName}}", - "type": "{{#isEnum}}{{{datatypeWithEnum}}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{#isNullable}} | null{{/isNullable}} ", + "type": "{{#isEnum}}{{{datatypeWithEnum}}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{#isNullable}} | null{{/isNullable}}", "format": "{{dataFormat}}" }{{^-last}}, {{/-last}} diff --git a/samples/client/others/typescript/builds/with-unique-items/models/Response.ts b/samples/client/others/typescript/builds/with-unique-items/models/Response.ts index d3dcf4059bc..463f3f6ae6d 100644 --- a/samples/client/others/typescript/builds/with-unique-items/models/Response.ts +++ b/samples/client/others/typescript/builds/with-unique-items/models/Response.ts @@ -22,13 +22,13 @@ export class Response { { "name": "nonUniqueArray", "baseName": "non-unique-array", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "uniqueArray", "baseName": "unique-array", - "type": "Set ", + "type": "Set", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/models/ApiResponse.ts b/samples/openapi3/client/petstore/typescript/builds/browser/models/ApiResponse.ts index 48b5493794f..7d9ec27b629 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/models/ApiResponse.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/models/ApiResponse.ts @@ -26,19 +26,19 @@ export class ApiResponse { { "name": "code", "baseName": "code", - "type": "number ", + "type": "number", "format": "int32" }, { "name": "type", "baseName": "type", - "type": "string ", + "type": "string", "format": "" }, { "name": "message", "baseName": "message", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/models/Category.ts b/samples/openapi3/client/petstore/typescript/builds/browser/models/Category.ts index de2e51eec81..bd30cfaf7a4 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/models/Category.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/models/Category.ts @@ -25,13 +25,13 @@ export class Category { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/models/Order.ts b/samples/openapi3/client/petstore/typescript/builds/browser/models/Order.ts index bdde3c21f57..c23fd802963 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/models/Order.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/models/Order.ts @@ -32,37 +32,37 @@ export class Order { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "petId", "baseName": "petId", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "quantity", "baseName": "quantity", - "type": "number ", + "type": "number", "format": "int32" }, { "name": "shipDate", "baseName": "shipDate", - "type": "Date ", + "type": "Date", "format": "date-time" }, { "name": "status", "baseName": "status", - "type": "OrderStatusEnum ", + "type": "OrderStatusEnum", "format": "" }, { "name": "complete", "baseName": "complete", - "type": "boolean ", + "type": "boolean", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/models/Pet.ts b/samples/openapi3/client/petstore/typescript/builds/browser/models/Pet.ts index 2adbccd60c5..00b19ee6beb 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/models/Pet.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/models/Pet.ts @@ -34,37 +34,37 @@ export class Pet { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "category", "baseName": "category", - "type": "Category ", + "type": "Category", "format": "" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" }, { "name": "photoUrls", "baseName": "photoUrls", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "tags", "baseName": "tags", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "status", "baseName": "status", - "type": "PetStatusEnum ", + "type": "PetStatusEnum", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/models/Tag.ts b/samples/openapi3/client/petstore/typescript/builds/browser/models/Tag.ts index 22efbf3cbf0..a534e7af047 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/models/Tag.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/models/Tag.ts @@ -25,13 +25,13 @@ export class Tag { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/models/User.ts b/samples/openapi3/client/petstore/typescript/builds/browser/models/User.ts index 58fd46589ad..61ce3dfddf1 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/models/User.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/models/User.ts @@ -34,49 +34,49 @@ export class User { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "username", "baseName": "username", - "type": "string ", + "type": "string", "format": "" }, { "name": "firstName", "baseName": "firstName", - "type": "string ", + "type": "string", "format": "" }, { "name": "lastName", "baseName": "lastName", - "type": "string ", + "type": "string", "format": "" }, { "name": "email", "baseName": "email", - "type": "string ", + "type": "string", "format": "" }, { "name": "password", "baseName": "password", - "type": "string ", + "type": "string", "format": "" }, { "name": "phone", "baseName": "phone", - "type": "string ", + "type": "string", "format": "" }, { "name": "userStatus", "baseName": "userStatus", - "type": "number ", + "type": "number", "format": "int32" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/Cat.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/Cat.ts index ab23c38acd7..128b9896a07 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/Cat.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/Cat.ts @@ -22,13 +22,13 @@ export class Cat { { "name": "hunts", "baseName": "hunts", - "type": "boolean ", + "type": "boolean", "format": "" }, { "name": "age", "baseName": "age", - "type": "number ", + "type": "number", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/CatAllOf.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/CatAllOf.ts index 87fd2a8ff12..98217152ec9 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/CatAllOf.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/CatAllOf.ts @@ -22,13 +22,13 @@ export class CatAllOf { { "name": "hunts", "baseName": "hunts", - "type": "boolean ", + "type": "boolean", "format": "" }, { "name": "age", "baseName": "age", - "type": "number ", + "type": "number", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/Dog.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/Dog.ts index ae0b4b5581f..338344dc9d8 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/Dog.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/Dog.ts @@ -22,13 +22,13 @@ export class Dog { { "name": "bark", "baseName": "bark", - "type": "boolean ", + "type": "boolean", "format": "" }, { "name": "breed", "baseName": "breed", - "type": "DogBreedEnum ", + "type": "DogBreedEnum", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/DogAllOf.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/DogAllOf.ts index def2cbf5aaf..8e2d4e61e7e 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/DogAllOf.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/DogAllOf.ts @@ -22,13 +22,13 @@ export class DogAllOf { { "name": "bark", "baseName": "bark", - "type": "boolean ", + "type": "boolean", "format": "" }, { "name": "breed", "baseName": "breed", - "type": "DogAllOfBreedEnum ", + "type": "DogAllOfBreedEnum", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/FilePostRequest.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/FilePostRequest.ts index 6bf1e6bbfc5..c7ae2946fd3 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/FilePostRequest.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/FilePostRequest.ts @@ -21,7 +21,7 @@ export class FilePostRequest { { "name": "file", "baseName": "file", - "type": "any ", + "type": "any", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetByAge.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetByAge.ts index 5f5d4468014..aae1e8f9c93 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetByAge.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetByAge.ts @@ -22,13 +22,13 @@ export class PetByAge { { "name": "age", "baseName": "age", - "type": "number ", + "type": "number", "format": "" }, { "name": "nickname", "baseName": "nickname", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetByType.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetByType.ts index 72d6de4445d..e392109b479 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetByType.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetByType.ts @@ -22,13 +22,13 @@ export class PetByType { { "name": "petType", "baseName": "pet_type", - "type": "PetByTypePetTypeEnum ", + "type": "PetByTypePetTypeEnum", "format": "" }, { "name": "hunts", "baseName": "hunts", - "type": "boolean ", + "type": "boolean", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetsFilteredPatchRequest.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetsFilteredPatchRequest.ts index 38017bcb5d4..e339dd763e5 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetsFilteredPatchRequest.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetsFilteredPatchRequest.ts @@ -26,25 +26,25 @@ export class PetsFilteredPatchRequest { { "name": "age", "baseName": "age", - "type": "number ", + "type": "number", "format": "" }, { "name": "nickname", "baseName": "nickname", - "type": "string ", + "type": "string", "format": "" }, { "name": "petType", "baseName": "pet_type", - "type": "PetsFilteredPatchRequestPetTypeEnum ", + "type": "PetsFilteredPatchRequestPetTypeEnum", "format": "" }, { "name": "hunts", "baseName": "hunts", - "type": "boolean ", + "type": "boolean", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetsPatchRequest.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetsPatchRequest.ts index 16c1f35681f..0dc083f8135 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetsPatchRequest.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/PetsPatchRequest.ts @@ -28,25 +28,25 @@ export class PetsPatchRequest { { "name": "hunts", "baseName": "hunts", - "type": "boolean ", + "type": "boolean", "format": "" }, { "name": "age", "baseName": "age", - "type": "number ", + "type": "number", "format": "" }, { "name": "bark", "baseName": "bark", - "type": "boolean ", + "type": "boolean", "format": "" }, { "name": "breed", "baseName": "breed", - "type": "PetsPatchRequestBreedEnum ", + "type": "PetsPatchRequestBreedEnum", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/default/models/ApiResponse.ts b/samples/openapi3/client/petstore/typescript/builds/default/models/ApiResponse.ts index 48b5493794f..7d9ec27b629 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/models/ApiResponse.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/models/ApiResponse.ts @@ -26,19 +26,19 @@ export class ApiResponse { { "name": "code", "baseName": "code", - "type": "number ", + "type": "number", "format": "int32" }, { "name": "type", "baseName": "type", - "type": "string ", + "type": "string", "format": "" }, { "name": "message", "baseName": "message", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/default/models/Category.ts b/samples/openapi3/client/petstore/typescript/builds/default/models/Category.ts index de2e51eec81..bd30cfaf7a4 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/models/Category.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/models/Category.ts @@ -25,13 +25,13 @@ export class Category { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/default/models/Order.ts b/samples/openapi3/client/petstore/typescript/builds/default/models/Order.ts index bdde3c21f57..c23fd802963 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/models/Order.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/models/Order.ts @@ -32,37 +32,37 @@ export class Order { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "petId", "baseName": "petId", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "quantity", "baseName": "quantity", - "type": "number ", + "type": "number", "format": "int32" }, { "name": "shipDate", "baseName": "shipDate", - "type": "Date ", + "type": "Date", "format": "date-time" }, { "name": "status", "baseName": "status", - "type": "OrderStatusEnum ", + "type": "OrderStatusEnum", "format": "" }, { "name": "complete", "baseName": "complete", - "type": "boolean ", + "type": "boolean", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/default/models/Pet.ts b/samples/openapi3/client/petstore/typescript/builds/default/models/Pet.ts index 2adbccd60c5..00b19ee6beb 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/models/Pet.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/models/Pet.ts @@ -34,37 +34,37 @@ export class Pet { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "category", "baseName": "category", - "type": "Category ", + "type": "Category", "format": "" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" }, { "name": "photoUrls", "baseName": "photoUrls", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "tags", "baseName": "tags", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "status", "baseName": "status", - "type": "PetStatusEnum ", + "type": "PetStatusEnum", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/default/models/Tag.ts b/samples/openapi3/client/petstore/typescript/builds/default/models/Tag.ts index 22efbf3cbf0..a534e7af047 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/models/Tag.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/models/Tag.ts @@ -25,13 +25,13 @@ export class Tag { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/default/models/User.ts b/samples/openapi3/client/petstore/typescript/builds/default/models/User.ts index 58fd46589ad..61ce3dfddf1 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/models/User.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/models/User.ts @@ -34,49 +34,49 @@ export class User { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "username", "baseName": "username", - "type": "string ", + "type": "string", "format": "" }, { "name": "firstName", "baseName": "firstName", - "type": "string ", + "type": "string", "format": "" }, { "name": "lastName", "baseName": "lastName", - "type": "string ", + "type": "string", "format": "" }, { "name": "email", "baseName": "email", - "type": "string ", + "type": "string", "format": "" }, { "name": "password", "baseName": "password", - "type": "string ", + "type": "string", "format": "" }, { "name": "phone", "baseName": "phone", - "type": "string ", + "type": "string", "format": "" }, { "name": "userStatus", "baseName": "userStatus", - "type": "number ", + "type": "number", "format": "int32" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/models/ApiResponse.ts b/samples/openapi3/client/petstore/typescript/builds/deno/models/ApiResponse.ts index c0f46652e69..da7d8aefb6c 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/ApiResponse.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/ApiResponse.ts @@ -26,19 +26,19 @@ export class ApiResponse { { "name": "code", "baseName": "code", - "type": "number ", + "type": "number", "format": "int32" }, { "name": "type", "baseName": "type", - "type": "string ", + "type": "string", "format": "" }, { "name": "message", "baseName": "message", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/models/Category.ts b/samples/openapi3/client/petstore/typescript/builds/deno/models/Category.ts index 99022f53115..db70f05c1e5 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/Category.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/Category.ts @@ -25,13 +25,13 @@ export class Category { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/models/Order.ts b/samples/openapi3/client/petstore/typescript/builds/deno/models/Order.ts index 52a9f499152..e2ca32a363e 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/Order.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/Order.ts @@ -32,37 +32,37 @@ export class Order { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "petId", "baseName": "petId", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "quantity", "baseName": "quantity", - "type": "number ", + "type": "number", "format": "int32" }, { "name": "shipDate", "baseName": "shipDate", - "type": "Date ", + "type": "Date", "format": "date-time" }, { "name": "status", "baseName": "status", - "type": "OrderStatusEnum ", + "type": "OrderStatusEnum", "format": "" }, { "name": "complete", "baseName": "complete", - "type": "boolean ", + "type": "boolean", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/models/Pet.ts b/samples/openapi3/client/petstore/typescript/builds/deno/models/Pet.ts index 32b5d5a864e..1f6207cbf1e 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/Pet.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/Pet.ts @@ -34,37 +34,37 @@ export class Pet { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "category", "baseName": "category", - "type": "Category ", + "type": "Category", "format": "" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" }, { "name": "photoUrls", "baseName": "photoUrls", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "tags", "baseName": "tags", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "status", "baseName": "status", - "type": "PetStatusEnum ", + "type": "PetStatusEnum", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/models/Tag.ts b/samples/openapi3/client/petstore/typescript/builds/deno/models/Tag.ts index d0b3b750bbf..32abb751d6f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/Tag.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/Tag.ts @@ -25,13 +25,13 @@ export class Tag { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/models/User.ts b/samples/openapi3/client/petstore/typescript/builds/deno/models/User.ts index 3f6017bfd3d..ae43307df21 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/User.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/User.ts @@ -34,49 +34,49 @@ export class User { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "username", "baseName": "username", - "type": "string ", + "type": "string", "format": "" }, { "name": "firstName", "baseName": "firstName", - "type": "string ", + "type": "string", "format": "" }, { "name": "lastName", "baseName": "lastName", - "type": "string ", + "type": "string", "format": "" }, { "name": "email", "baseName": "email", - "type": "string ", + "type": "string", "format": "" }, { "name": "password", "baseName": "password", - "type": "string ", + "type": "string", "format": "" }, { "name": "phone", "baseName": "phone", - "type": "string ", + "type": "string", "format": "" }, { "name": "userStatus", "baseName": "userStatus", - "type": "number ", + "type": "number", "format": "int32" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/models/ApiResponse.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/models/ApiResponse.ts index 48b5493794f..7d9ec27b629 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/models/ApiResponse.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/models/ApiResponse.ts @@ -26,19 +26,19 @@ export class ApiResponse { { "name": "code", "baseName": "code", - "type": "number ", + "type": "number", "format": "int32" }, { "name": "type", "baseName": "type", - "type": "string ", + "type": "string", "format": "" }, { "name": "message", "baseName": "message", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/models/Category.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/models/Category.ts index de2e51eec81..bd30cfaf7a4 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/models/Category.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/models/Category.ts @@ -25,13 +25,13 @@ export class Category { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/models/Order.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/models/Order.ts index bdde3c21f57..c23fd802963 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/models/Order.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/models/Order.ts @@ -32,37 +32,37 @@ export class Order { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "petId", "baseName": "petId", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "quantity", "baseName": "quantity", - "type": "number ", + "type": "number", "format": "int32" }, { "name": "shipDate", "baseName": "shipDate", - "type": "Date ", + "type": "Date", "format": "date-time" }, { "name": "status", "baseName": "status", - "type": "OrderStatusEnum ", + "type": "OrderStatusEnum", "format": "" }, { "name": "complete", "baseName": "complete", - "type": "boolean ", + "type": "boolean", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/models/Pet.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/models/Pet.ts index 2adbccd60c5..00b19ee6beb 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/models/Pet.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/models/Pet.ts @@ -34,37 +34,37 @@ export class Pet { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "category", "baseName": "category", - "type": "Category ", + "type": "Category", "format": "" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" }, { "name": "photoUrls", "baseName": "photoUrls", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "tags", "baseName": "tags", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "status", "baseName": "status", - "type": "PetStatusEnum ", + "type": "PetStatusEnum", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/models/Tag.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/models/Tag.ts index 22efbf3cbf0..a534e7af047 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/models/Tag.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/models/Tag.ts @@ -25,13 +25,13 @@ export class Tag { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/models/User.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/models/User.ts index 58fd46589ad..61ce3dfddf1 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/models/User.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/models/User.ts @@ -34,49 +34,49 @@ export class User { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "username", "baseName": "username", - "type": "string ", + "type": "string", "format": "" }, { "name": "firstName", "baseName": "firstName", - "type": "string ", + "type": "string", "format": "" }, { "name": "lastName", "baseName": "lastName", - "type": "string ", + "type": "string", "format": "" }, { "name": "email", "baseName": "email", - "type": "string ", + "type": "string", "format": "" }, { "name": "password", "baseName": "password", - "type": "string ", + "type": "string", "format": "" }, { "name": "phone", "baseName": "phone", - "type": "string ", + "type": "string", "format": "" }, { "name": "userStatus", "baseName": "userStatus", - "type": "number ", + "type": "number", "format": "int32" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/models/ApiResponse.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/models/ApiResponse.ts index 48b5493794f..7d9ec27b629 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/models/ApiResponse.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/models/ApiResponse.ts @@ -26,19 +26,19 @@ export class ApiResponse { { "name": "code", "baseName": "code", - "type": "number ", + "type": "number", "format": "int32" }, { "name": "type", "baseName": "type", - "type": "string ", + "type": "string", "format": "" }, { "name": "message", "baseName": "message", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/models/Category.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/models/Category.ts index de2e51eec81..bd30cfaf7a4 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/models/Category.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/models/Category.ts @@ -25,13 +25,13 @@ export class Category { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/models/Order.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/models/Order.ts index bdde3c21f57..c23fd802963 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/models/Order.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/models/Order.ts @@ -32,37 +32,37 @@ export class Order { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "petId", "baseName": "petId", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "quantity", "baseName": "quantity", - "type": "number ", + "type": "number", "format": "int32" }, { "name": "shipDate", "baseName": "shipDate", - "type": "Date ", + "type": "Date", "format": "date-time" }, { "name": "status", "baseName": "status", - "type": "OrderStatusEnum ", + "type": "OrderStatusEnum", "format": "" }, { "name": "complete", "baseName": "complete", - "type": "boolean ", + "type": "boolean", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/models/Pet.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/models/Pet.ts index 2adbccd60c5..00b19ee6beb 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/models/Pet.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/models/Pet.ts @@ -34,37 +34,37 @@ export class Pet { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "category", "baseName": "category", - "type": "Category ", + "type": "Category", "format": "" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" }, { "name": "photoUrls", "baseName": "photoUrls", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "tags", "baseName": "tags", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "status", "baseName": "status", - "type": "PetStatusEnum ", + "type": "PetStatusEnum", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/models/Tag.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/models/Tag.ts index 22efbf3cbf0..a534e7af047 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/models/Tag.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/models/Tag.ts @@ -25,13 +25,13 @@ export class Tag { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/models/User.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/models/User.ts index 58fd46589ad..61ce3dfddf1 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/models/User.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/models/User.ts @@ -34,49 +34,49 @@ export class User { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "username", "baseName": "username", - "type": "string ", + "type": "string", "format": "" }, { "name": "firstName", "baseName": "firstName", - "type": "string ", + "type": "string", "format": "" }, { "name": "lastName", "baseName": "lastName", - "type": "string ", + "type": "string", "format": "" }, { "name": "email", "baseName": "email", - "type": "string ", + "type": "string", "format": "" }, { "name": "password", "baseName": "password", - "type": "string ", + "type": "string", "format": "" }, { "name": "phone", "baseName": "phone", - "type": "string ", + "type": "string", "format": "" }, { "name": "userStatus", "baseName": "userStatus", - "type": "number ", + "type": "number", "format": "int32" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/models/ApiResponse.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/models/ApiResponse.ts index 48b5493794f..7d9ec27b629 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/models/ApiResponse.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/models/ApiResponse.ts @@ -26,19 +26,19 @@ export class ApiResponse { { "name": "code", "baseName": "code", - "type": "number ", + "type": "number", "format": "int32" }, { "name": "type", "baseName": "type", - "type": "string ", + "type": "string", "format": "" }, { "name": "message", "baseName": "message", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/models/Category.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/models/Category.ts index de2e51eec81..bd30cfaf7a4 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/models/Category.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/models/Category.ts @@ -25,13 +25,13 @@ export class Category { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/models/Order.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/models/Order.ts index bdde3c21f57..c23fd802963 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/models/Order.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/models/Order.ts @@ -32,37 +32,37 @@ export class Order { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "petId", "baseName": "petId", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "quantity", "baseName": "quantity", - "type": "number ", + "type": "number", "format": "int32" }, { "name": "shipDate", "baseName": "shipDate", - "type": "Date ", + "type": "Date", "format": "date-time" }, { "name": "status", "baseName": "status", - "type": "OrderStatusEnum ", + "type": "OrderStatusEnum", "format": "" }, { "name": "complete", "baseName": "complete", - "type": "boolean ", + "type": "boolean", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/models/Pet.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/models/Pet.ts index 2adbccd60c5..00b19ee6beb 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/models/Pet.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/models/Pet.ts @@ -34,37 +34,37 @@ export class Pet { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "category", "baseName": "category", - "type": "Category ", + "type": "Category", "format": "" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" }, { "name": "photoUrls", "baseName": "photoUrls", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "tags", "baseName": "tags", - "type": "Array ", + "type": "Array", "format": "" }, { "name": "status", "baseName": "status", - "type": "PetStatusEnum ", + "type": "PetStatusEnum", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/models/Tag.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/models/Tag.ts index 22efbf3cbf0..a534e7af047 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/models/Tag.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/models/Tag.ts @@ -25,13 +25,13 @@ export class Tag { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "name", "baseName": "name", - "type": "string ", + "type": "string", "format": "" } ]; diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/models/User.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/models/User.ts index 58fd46589ad..61ce3dfddf1 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/models/User.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/models/User.ts @@ -34,49 +34,49 @@ export class User { { "name": "id", "baseName": "id", - "type": "number ", + "type": "number", "format": "int64" }, { "name": "username", "baseName": "username", - "type": "string ", + "type": "string", "format": "" }, { "name": "firstName", "baseName": "firstName", - "type": "string ", + "type": "string", "format": "" }, { "name": "lastName", "baseName": "lastName", - "type": "string ", + "type": "string", "format": "" }, { "name": "email", "baseName": "email", - "type": "string ", + "type": "string", "format": "" }, { "name": "password", "baseName": "password", - "type": "string ", + "type": "string", "format": "" }, { "name": "phone", "baseName": "phone", - "type": "string ", + "type": "string", "format": "" }, { "name": "userStatus", "baseName": "userStatus", - "type": "number ", + "type": "number", "format": "int32" } ];