diff --git a/samples/client/others/typescript/builds/with-unique-items/.openapi-generator/VERSION b/samples/client/others/typescript/builds/with-unique-items/.openapi-generator/VERSION index 4b448de535c..d6b4ec4aa78 100644 --- a/samples/client/others/typescript/builds/with-unique-items/.openapi-generator/VERSION +++ b/samples/client/others/typescript/builds/with-unique-items/.openapi-generator/VERSION @@ -1 +1 @@ -5.3.0-SNAPSHOT \ No newline at end of file +6.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/client/others/typescript/builds/with-unique-items/apis/DefaultApi.ts b/samples/client/others/typescript/builds/with-unique-items/apis/DefaultApi.ts index 233dca894f2..537b79f0789 100644 --- a/samples/client/others/typescript/builds/with-unique-items/apis/DefaultApi.ts +++ b/samples/client/others/typescript/builds/with-unique-items/apis/DefaultApi.ts @@ -8,7 +8,7 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { Response } from '/models/Response'; +import { Response } from '../models/Response'; /** * no description diff --git a/samples/client/others/typescript/builds/with-unique-items/models/ObjectSerializer.ts b/samples/client/others/typescript/builds/with-unique-items/models/ObjectSerializer.ts index 34037a42274..b833844acc1 100644 --- a/samples/client/others/typescript/builds/with-unique-items/models/ObjectSerializer.ts +++ b/samples/client/others/typescript/builds/with-unique-items/models/ObjectSerializer.ts @@ -1,6 +1,6 @@ -export * from '.models.Response'; +export * from '../models/Response'; -import { Response } from '.models.Response'; +import { Response } from '../models/Response'; /* tslint:disable:no-unused-variable */ let primitives = [ 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 9fc3feffd9b..6a53fbd9f9d 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 @@ -10,7 +10,6 @@ * Do not edit the class manually. */ -import { Set } from 'Set'; import { HttpFile } from '../http/http'; export class Response { diff --git a/samples/client/others/typescript/builds/with-unique-items/models/all.ts b/samples/client/others/typescript/builds/with-unique-items/models/all.ts index 1d494936899..fb6a6246f9a 100644 --- a/samples/client/others/typescript/builds/with-unique-items/models/all.ts +++ b/samples/client/others/typescript/builds/with-unique-items/models/all.ts @@ -1 +1 @@ -export * from '.models.Response' +export * from '../models/Response' diff --git a/samples/client/others/typescript/builds/with-unique-items/types/ObjectParamAPI.ts b/samples/client/others/typescript/builds/with-unique-items/types/ObjectParamAPI.ts index fedb1e9e176..fa8ba7a0a9b 100644 --- a/samples/client/others/typescript/builds/with-unique-items/types/ObjectParamAPI.ts +++ b/samples/client/others/typescript/builds/with-unique-items/types/ObjectParamAPI.ts @@ -1,7 +1,7 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { Response } from '.models.Response'; +import { Response } from '../models/Response'; import { ObservableDefaultApi } from "./ObservableAPI"; import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi"; diff --git a/samples/client/others/typescript/builds/with-unique-items/types/ObservableAPI.ts b/samples/client/others/typescript/builds/with-unique-items/types/ObservableAPI.ts index 755727493b2..683cd89061d 100644 --- a/samples/client/others/typescript/builds/with-unique-items/types/ObservableAPI.ts +++ b/samples/client/others/typescript/builds/with-unique-items/types/ObservableAPI.ts @@ -2,7 +2,7 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' import { Observable, of, from } from '../rxjsStub'; import {mergeMap, map} from '../rxjsStub'; -import { Response } from '.models.Response'; +import { Response } from '../models/Response'; import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi"; export class ObservableDefaultApi { diff --git a/samples/client/others/typescript/builds/with-unique-items/types/PromiseAPI.ts b/samples/client/others/typescript/builds/with-unique-items/types/PromiseAPI.ts index 62c0282e303..d0e502467ec 100644 --- a/samples/client/others/typescript/builds/with-unique-items/types/PromiseAPI.ts +++ b/samples/client/others/typescript/builds/with-unique-items/types/PromiseAPI.ts @@ -1,7 +1,7 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { Response } from '.models.Response'; +import { Response } from '../models/Response'; import { ObservableDefaultApi } from './ObservableAPI'; import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi"; diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/.openapi-generator/VERSION b/samples/openapi3/client/petstore/typescript/builds/browser/.openapi-generator/VERSION index 4b448de535c..d6b4ec4aa78 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/.openapi-generator/VERSION +++ b/samples/openapi3/client/petstore/typescript/builds/browser/.openapi-generator/VERSION @@ -1 +1 @@ -5.3.0-SNAPSHOT \ No newline at end of file +6.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/PetApi.md b/samples/openapi3/client/petstore/typescript/builds/browser/PetApi.md index 2fe727d84fa..2aac946907b 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/PetApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/browser/PetApi.md @@ -18,6 +18,7 @@ Method | HTTP request | Description > Pet addPet(pet) + ### Example @@ -89,6 +90,7 @@ Name | Type | Description | Notes > deletePet() + ### Example @@ -315,6 +317,7 @@ Name | Type | Description | Notes > Pet updatePet(pet) + ### Example @@ -388,6 +391,7 @@ Name | Type | Description | Notes > updatePetWithForm() + ### Example @@ -447,6 +451,7 @@ void (empty response body) > ApiResponse uploadFile() + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/StoreApi.md b/samples/openapi3/client/petstore/typescript/builds/browser/StoreApi.md index 866f3c6ab97..b7d89db061f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/StoreApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/browser/StoreApi.md @@ -173,6 +173,7 @@ No authorization required > Order placeOrder(order) + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/UserApi.md b/samples/openapi3/client/petstore/typescript/builds/browser/UserApi.md index 3aa75a41422..c18f5d94896 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/UserApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/browser/UserApi.md @@ -81,6 +81,7 @@ void (empty response body) > createUsersWithArrayInput(user) + ### Example @@ -145,6 +146,7 @@ void (empty response body) > createUsersWithListInput(user) + ### Example @@ -264,6 +266,7 @@ void (empty response body) > User getUserByName() + ### Example @@ -319,6 +322,7 @@ No authorization required > string loginUser() + ### Example @@ -376,6 +380,7 @@ No authorization required > logoutUser() + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/apis/PetApi.ts b/samples/openapi3/client/petstore/typescript/builds/browser/apis/PetApi.ts index f00c393797b..514291812d2 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/apis/PetApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/apis/PetApi.ts @@ -8,8 +8,8 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { ApiResponse } from '/models/ApiResponse'; -import { Pet } from '/models/Pet'; +import { ApiResponse } from '../models/ApiResponse'; +import { Pet } from '../models/Pet'; /** * no description @@ -17,6 +17,7 @@ import { Pet } from '/models/Pet'; export class PetApiRequestFactory extends BaseAPIRequestFactory { /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -66,6 +67,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -230,6 +232,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -279,6 +282,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -349,6 +353,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/apis/StoreApi.ts b/samples/openapi3/client/petstore/typescript/builds/browser/apis/StoreApi.ts index 9f8ed0298c5..31cf3aa1f55 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/apis/StoreApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/apis/StoreApi.ts @@ -8,7 +8,7 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { Order } from '/models/Order'; +import { Order } from '../models/Order'; /** * no description @@ -110,6 +110,7 @@ export class StoreApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/apis/UserApi.ts b/samples/openapi3/client/petstore/typescript/builds/browser/apis/UserApi.ts index f014335f199..0331c7117d5 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/apis/UserApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/apis/UserApi.ts @@ -8,7 +8,7 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { User } from '/models/User'; +import { User } from '../models/User'; /** * no description @@ -64,6 +64,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -111,6 +112,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -196,6 +198,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -227,6 +230,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -274,6 +278,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Logs out current logged in user session */ public async logoutUser(_options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/models/ObjectSerializer.ts b/samples/openapi3/client/petstore/typescript/builds/browser/models/ObjectSerializer.ts index 28b6b13fd3e..a5f5708b12c 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/models/ObjectSerializer.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/models/ObjectSerializer.ts @@ -1,16 +1,16 @@ -export * from '.models.ApiResponse'; -export * from '.models.Category'; -export * from '.models.Order'; -export * from '.models.Pet'; -export * from '.models.Tag'; -export * from '.models.User'; +export * from '../models/ApiResponse'; +export * from '../models/Category'; +export * from '../models/Order'; +export * from '../models/Pet'; +export * from '../models/Tag'; +export * from '../models/User'; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order , OrderStatusEnum } from '.models.Order'; -import { Pet , PetStatusEnum } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order , OrderStatusEnum } from '../models/Order'; +import { Pet , PetStatusEnum } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; /* tslint:disable:no-unused-variable */ let primitives = [ 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 414f1be4944..b3a7ddb9f71 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/models/Pet.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/models/Pet.ts @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { Category } from 'Category'; -import { Tag } from 'Tag'; +import { Category } from '../models/Category'; +import { Tag } from '../models/Tag'; import { HttpFile } from '../http/http'; /** diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/models/all.ts b/samples/openapi3/client/petstore/typescript/builds/browser/models/all.ts index e0118328c0f..d63b43c9674 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/models/all.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/models/all.ts @@ -1,6 +1,6 @@ -export * from '.models.ApiResponse' -export * from '.models.Category' -export * from '.models.Order' -export * from '.models.Pet' -export * from '.models.Tag' -export * from '.models.User' +export * from '../models/ApiResponse' +export * from '../models/Category' +export * from '../models/Order' +export * from '../models/Pet' +export * from '../models/Tag' +export * from '../models/User' diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/types/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/browser/types/ObjectParamAPI.ts index 22e5983c7f2..41dfaebdde1 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/types/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/types/ObjectParamAPI.ts @@ -1,12 +1,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { ObservablePetApi } from "./ObservableAPI"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; @@ -121,6 +121,7 @@ export class ObjectPetApi { } /** + * * Add a new pet to the store * @param param the request object */ @@ -129,6 +130,7 @@ export class ObjectPetApi { } /** + * * Deletes a pet * @param param the request object */ @@ -164,6 +166,7 @@ export class ObjectPetApi { } /** + * * Update an existing pet * @param param the request object */ @@ -172,6 +175,7 @@ export class ObjectPetApi { } /** + * * Updates a pet in the store with form data * @param param the request object */ @@ -180,6 +184,7 @@ export class ObjectPetApi { } /** + * * uploads an image * @param param the request object */ @@ -257,6 +262,7 @@ export class ObjectStoreApi { } /** + * * Place an order for a pet * @param param the request object */ @@ -364,6 +370,7 @@ export class ObjectUserApi { } /** + * * Creates list of users with given input array * @param param the request object */ @@ -372,6 +379,7 @@ export class ObjectUserApi { } /** + * * Creates list of users with given input array * @param param the request object */ @@ -389,6 +397,7 @@ export class ObjectUserApi { } /** + * * Get user by user name * @param param the request object */ @@ -397,6 +406,7 @@ export class ObjectUserApi { } /** + * * Logs user into the system * @param param the request object */ @@ -405,6 +415,7 @@ export class ObjectUserApi { } /** + * * Logs out current logged in user session * @param param the request object */ diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/types/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/browser/types/ObservableAPI.ts index 5187367bc6c..5e9397ea69f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/types/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/types/ObservableAPI.ts @@ -2,12 +2,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' import { Observable, of, from } from '../rxjsStub'; import {mergeMap, map} from '../rxjsStub'; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; export class ObservablePetApi { @@ -26,6 +26,7 @@ export class ObservablePetApi { } /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -49,6 +50,7 @@ export class ObservablePetApi { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -145,6 +147,7 @@ export class ObservablePetApi { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -168,6 +171,7 @@ export class ObservablePetApi { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -193,6 +197,7 @@ export class ObservablePetApi { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server @@ -307,6 +312,7 @@ export class ObservableStoreApi { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ @@ -372,6 +378,7 @@ export class ObservableUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -395,6 +402,7 @@ export class ObservableUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -442,6 +450,7 @@ export class ObservableUserApi { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -465,6 +474,7 @@ export class ObservableUserApi { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -489,6 +499,7 @@ export class ObservableUserApi { } /** + * * Logs out current logged in user session */ public logoutUser(_options?: Configuration): Observable { diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/types/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/browser/types/PromiseAPI.ts index 423866f336c..c86ac4a84f3 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/types/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/browser/types/PromiseAPI.ts @@ -1,12 +1,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { ObservablePetApi } from './ObservableAPI'; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; @@ -22,6 +22,7 @@ export class PromisePetApi { } /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -31,6 +32,7 @@ export class PromisePetApi { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -71,6 +73,7 @@ export class PromisePetApi { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -80,6 +83,7 @@ export class PromisePetApi { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -91,6 +95,7 @@ export class PromisePetApi { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server @@ -150,6 +155,7 @@ export class PromiseStoreApi { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ @@ -188,6 +194,7 @@ export class PromiseUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -197,6 +204,7 @@ export class PromiseUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -216,6 +224,7 @@ export class PromiseUserApi { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -225,6 +234,7 @@ export class PromiseUserApi { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -235,6 +245,7 @@ export class PromiseUserApi { } /** + * * Logs out current logged in user session */ public logoutUser(_options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/.openapi-generator/FILES b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/.openapi-generator/FILES index 94616002ccf..a6a0ffe5e87 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/.openapi-generator/FILES +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/.openapi-generator/FILES @@ -15,10 +15,12 @@ models/Cat.ts models/CatAllOf.ts models/Dog.ts models/DogAllOf.ts -models/InlineObject.ts +models/FilePostRequest.ts models/ObjectSerializer.ts models/PetByAge.ts models/PetByType.ts +models/PetsFilteredPatchRequest.ts +models/PetsPatchRequest.ts models/all.ts package.json rxjsStub.ts diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/.openapi-generator/VERSION b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/.openapi-generator/VERSION index 4b448de535c..d6b4ec4aa78 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/.openapi-generator/VERSION +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/.openapi-generator/VERSION @@ -1 +1 @@ -5.3.0-SNAPSHOT \ No newline at end of file +6.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/DefaultApi.md b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/DefaultApi.md index a9df332ad47..21992b8771f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/DefaultApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/DefaultApi.md @@ -24,9 +24,9 @@ const configuration = .createConfiguration(); const apiInstance = new .DefaultApi(configuration); let body:.DefaultApiFilePostRequest = { - // InlineObject (optional) - inlineObject: { - file: , + // FilePostRequest (optional) + filePostRequest: { + file: null, }, }; @@ -40,7 +40,7 @@ apiInstance.filePost(body).then((data:any) => { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **inlineObject** | **InlineObject**| | + **filePostRequest** | **FilePostRequest**| | ### Return type @@ -79,8 +79,8 @@ const configuration = .createConfiguration(); const apiInstance = new .DefaultApi(configuration); let body:.DefaultApiPetsFilteredPatchRequest = { - // PetByAge | PetByType (optional) - petByAgePetByType: , + // PetsFilteredPatchRequest (optional) + petsFilteredPatchRequest: null, }; apiInstance.petsFilteredPatch(body).then((data:any) => { @@ -93,7 +93,7 @@ apiInstance.petsFilteredPatch(body).then((data:any) => { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **petByAgePetByType** | **PetByAge | PetByType**| | + **petsFilteredPatchRequest** | **PetsFilteredPatchRequest**| | ### Return type @@ -132,8 +132,8 @@ const configuration = .createConfiguration(); const apiInstance = new .DefaultApi(configuration); let body:.DefaultApiPetsPatchRequest = { - // Cat | Dog (optional) - catDog: , + // PetsPatchRequest (optional) + petsPatchRequest: null, }; apiInstance.petsPatch(body).then((data:any) => { @@ -146,7 +146,7 @@ apiInstance.petsPatch(body).then((data:any) => { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **catDog** | **Cat | Dog**| | + **petsPatchRequest** | **PetsPatchRequest**| | ### Return type diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/apis/DefaultApi.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/apis/DefaultApi.ts index 718b2704717..9f7c82dfb4a 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/apis/DefaultApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/apis/DefaultApi.ts @@ -8,11 +8,9 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { Cat } from '/models/Cat'; -import { Dog } from '/models/Dog'; -import { InlineObject } from '/models/InlineObject'; -import { PetByAge } from '/models/PetByAge'; -import { PetByType } from '/models/PetByType'; +import { FilePostRequest } from '../models/FilePostRequest'; +import { PetsFilteredPatchRequest } from '../models/PetsFilteredPatchRequest'; +import { PetsPatchRequest } from '../models/PetsPatchRequest'; /** * no description @@ -20,9 +18,9 @@ import { PetByType } from '/models/PetByType'; export class DefaultApiRequestFactory extends BaseAPIRequestFactory { /** - * @param inlineObject + * @param filePostRequest */ - public async filePost(inlineObject?: InlineObject, _options?: Configuration): Promise { + public async filePost(filePostRequest?: FilePostRequest, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -40,7 +38,7 @@ export class DefaultApiRequestFactory extends BaseAPIRequestFactory { ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( - ObjectSerializer.serialize(inlineObject, "InlineObject", ""), + ObjectSerializer.serialize(filePostRequest, "FilePostRequest", ""), contentType ); requestContext.setBody(serializedBody); @@ -55,9 +53,9 @@ export class DefaultApiRequestFactory extends BaseAPIRequestFactory { } /** - * @param petByAgePetByType + * @param petsFilteredPatchRequest */ - public async petsFilteredPatch(petByAgePetByType?: PetByAge | PetByType, _options?: Configuration): Promise { + public async petsFilteredPatch(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -75,7 +73,7 @@ export class DefaultApiRequestFactory extends BaseAPIRequestFactory { ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( - ObjectSerializer.serialize(petByAgePetByType, "PetByAge | PetByType", ""), + ObjectSerializer.serialize(petsFilteredPatchRequest, "PetsFilteredPatchRequest", ""), contentType ); requestContext.setBody(serializedBody); @@ -90,9 +88,9 @@ export class DefaultApiRequestFactory extends BaseAPIRequestFactory { } /** - * @param catDog + * @param petsPatchRequest */ - public async petsPatch(catDog?: Cat | Dog, _options?: Configuration): Promise { + public async petsPatch(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -110,7 +108,7 @@ export class DefaultApiRequestFactory extends BaseAPIRequestFactory { ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( - ObjectSerializer.serialize(catDog, "Cat | Dog", ""), + ObjectSerializer.serialize(petsPatchRequest, "PetsPatchRequest", ""), contentType ); requestContext.setBody(serializedBody); 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 c7feafbccb7..2790b653b55 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 @@ -10,7 +10,6 @@ * Do not edit the class manually. */ -import { CatAllOf } from 'CatAllOf'; import { HttpFile } from '../http/http'; export class Cat { 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 ea1ed62647b..dd2380572f6 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 @@ -10,7 +10,6 @@ * Do not edit the class manually. */ -import { DogAllOf } from 'DogAllOf'; import { HttpFile } from '../http/http'; export class Dog { diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/ObjectSerializer.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/ObjectSerializer.ts index 265efbd162b..6317becfd98 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/ObjectSerializer.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/ObjectSerializer.ts @@ -1,18 +1,22 @@ -export * from '.models.Cat'; -export * from '.models.CatAllOf'; -export * from '.models.Dog'; -export * from '.models.DogAllOf'; -export * from '.models.InlineObject'; -export * from '.models.PetByAge'; -export * from '.models.PetByType'; +export * from '../models/Cat'; +export * from '../models/CatAllOf'; +export * from '../models/Dog'; +export * from '../models/DogAllOf'; +export * from '../models/FilePostRequest'; +export * from '../models/PetByAge'; +export * from '../models/PetByType'; +export * from '../models/PetsFilteredPatchRequest'; +export * from '../models/PetsPatchRequest'; -import { Cat } from '.models.Cat'; -import { CatAllOf } from '.models.CatAllOf'; -import { Dog , DogBreedEnum } from '.models.Dog'; -import { DogAllOf , DogAllOfBreedEnum } from '.models.DogAllOf'; -import { InlineObject } from '.models.InlineObject'; -import { PetByAge } from '.models.PetByAge'; -import { PetByType, PetByTypePetTypeEnum } from '.models.PetByType'; +import { Cat } from '../models/Cat'; +import { CatAllOf } from '../models/CatAllOf'; +import { Dog , DogBreedEnum } from '../models/Dog'; +import { DogAllOf , DogAllOfBreedEnum } from '../models/DogAllOf'; +import { FilePostRequest } from '../models/FilePostRequest'; +import { PetByAge } from '../models/PetByAge'; +import { PetByType, PetByTypePetTypeEnum } from '../models/PetByType'; +import { PetsFilteredPatchRequest , PetsFilteredPatchRequestPetTypeEnum } from '../models/PetsFilteredPatchRequest'; +import { PetsPatchRequest , PetsPatchRequestBreedEnum } from '../models/PetsPatchRequest'; /* tslint:disable:no-unused-variable */ let primitives = [ @@ -37,6 +41,8 @@ let enumsMap: Set = new Set([ "DogBreedEnum", "DogAllOfBreedEnum", "PetByTypePetTypeEnum", + "PetsFilteredPatchRequestPetTypeEnum", + "PetsPatchRequestBreedEnum", ]); let typeMap: {[index: string]: any} = { @@ -44,9 +50,11 @@ let typeMap: {[index: string]: any} = { "CatAllOf": CatAllOf, "Dog": Dog, "DogAllOf": DogAllOf, - "InlineObject": InlineObject, + "FilePostRequest": FilePostRequest, "PetByAge": PetByAge, "PetByType": PetByType, + "PetsFilteredPatchRequest": PetsFilteredPatchRequest, + "PetsPatchRequest": PetsPatchRequest, } export class ObjectSerializer { diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/all.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/all.ts index b56506baf14..029557b7a2a 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/all.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/models/all.ts @@ -1,7 +1,9 @@ -export * from '.models.Cat' -export * from '.models.CatAllOf' -export * from '.models.Dog' -export * from '.models.DogAllOf' -export * from '.models.InlineObject' -export * from '.models.PetByAge' -export * from '.models.PetByType' +export * from '../models/Cat' +export * from '../models/CatAllOf' +export * from '../models/Dog' +export * from '../models/DogAllOf' +export * from '../models/FilePostRequest' +export * from '../models/PetByAge' +export * from '../models/PetByType' +export * from '../models/PetsFilteredPatchRequest' +export * from '../models/PetsPatchRequest' diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/types/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/types/ObjectParamAPI.ts index 2b37e03003a..073f6550336 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/types/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/types/ObjectParamAPI.ts @@ -1,13 +1,15 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { Cat } from '.models.Cat'; -import { CatAllOf } from '.models.CatAllOf'; -import { Dog } from '.models.Dog'; -import { DogAllOf } from '.models.DogAllOf'; -import { InlineObject } from '.models.InlineObject'; -import { PetByAge } from '.models.PetByAge'; -import { PetByType } from '.models.PetByType'; +import { Cat } from '../models/Cat'; +import { CatAllOf } from '../models/CatAllOf'; +import { Dog } from '../models/Dog'; +import { DogAllOf } from '../models/DogAllOf'; +import { FilePostRequest } from '../models/FilePostRequest'; +import { PetByAge } from '../models/PetByAge'; +import { PetByType } from '../models/PetByType'; +import { PetsFilteredPatchRequest } from '../models/PetsFilteredPatchRequest'; +import { PetsPatchRequest } from '../models/PetsPatchRequest'; import { ObservableDefaultApi } from "./ObservableAPI"; import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi"; @@ -15,28 +17,28 @@ import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/De export interface DefaultApiFilePostRequest { /** * - * @type InlineObject + * @type FilePostRequest * @memberof DefaultApifilePost */ - inlineObject?: InlineObject + filePostRequest?: FilePostRequest } export interface DefaultApiPetsFilteredPatchRequest { /** * - * @type PetByAge | PetByType + * @type PetsFilteredPatchRequest * @memberof DefaultApipetsFilteredPatch */ - petByAgePetByType?: PetByAge | PetByType + petsFilteredPatchRequest?: PetsFilteredPatchRequest } export interface DefaultApiPetsPatchRequest { /** * - * @type Cat | Dog + * @type PetsPatchRequest * @memberof DefaultApipetsPatch */ - catDog?: Cat | Dog + petsPatchRequest?: PetsPatchRequest } export class ObjectDefaultApi { @@ -50,21 +52,21 @@ export class ObjectDefaultApi { * @param param the request object */ public filePost(param: DefaultApiFilePostRequest = {}, options?: Configuration): Promise { - return this.api.filePost(param.inlineObject, options).toPromise(); + return this.api.filePost(param.filePostRequest, options).toPromise(); } /** * @param param the request object */ public petsFilteredPatch(param: DefaultApiPetsFilteredPatchRequest = {}, options?: Configuration): Promise { - return this.api.petsFilteredPatch(param.petByAgePetByType, options).toPromise(); + return this.api.petsFilteredPatch(param.petsFilteredPatchRequest, options).toPromise(); } /** * @param param the request object */ public petsPatch(param: DefaultApiPetsPatchRequest = {}, options?: Configuration): Promise { - return this.api.petsPatch(param.catDog, options).toPromise(); + return this.api.petsPatch(param.petsPatchRequest, options).toPromise(); } } diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/types/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/types/ObservableAPI.ts index 9c62b297c49..52b5367f4b7 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/types/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/types/ObservableAPI.ts @@ -2,13 +2,15 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' import { Observable, of, from } from '../rxjsStub'; import {mergeMap, map} from '../rxjsStub'; -import { Cat } from '.models.Cat'; -import { CatAllOf } from '.models.CatAllOf'; -import { Dog } from '.models.Dog'; -import { DogAllOf } from '.models.DogAllOf'; -import { InlineObject } from '.models.InlineObject'; -import { PetByAge } from '.models.PetByAge'; -import { PetByType } from '.models.PetByType'; +import { Cat } from '../models/Cat'; +import { CatAllOf } from '../models/CatAllOf'; +import { Dog } from '../models/Dog'; +import { DogAllOf } from '../models/DogAllOf'; +import { FilePostRequest } from '../models/FilePostRequest'; +import { PetByAge } from '../models/PetByAge'; +import { PetByType } from '../models/PetByType'; +import { PetsFilteredPatchRequest } from '../models/PetsFilteredPatchRequest'; +import { PetsPatchRequest } from '../models/PetsPatchRequest'; import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi"; export class ObservableDefaultApi { @@ -27,10 +29,10 @@ export class ObservableDefaultApi { } /** - * @param inlineObject + * @param filePostRequest */ - public filePost(inlineObject?: InlineObject, _options?: Configuration): Observable { - const requestContextPromise = this.requestFactory.filePost(inlineObject, _options); + public filePost(filePostRequest?: FilePostRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.filePost(filePostRequest, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -49,10 +51,10 @@ export class ObservableDefaultApi { } /** - * @param petByAgePetByType + * @param petsFilteredPatchRequest */ - public petsFilteredPatch(petByAgePetByType?: PetByAge | PetByType, _options?: Configuration): Observable { - const requestContextPromise = this.requestFactory.petsFilteredPatch(petByAgePetByType, _options); + public petsFilteredPatch(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.petsFilteredPatch(petsFilteredPatchRequest, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -71,10 +73,10 @@ export class ObservableDefaultApi { } /** - * @param catDog + * @param petsPatchRequest */ - public petsPatch(catDog?: Cat | Dog, _options?: Configuration): Observable { - const requestContextPromise = this.requestFactory.petsPatch(catDog, _options); + public petsPatch(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Observable { + const requestContextPromise = this.requestFactory.petsPatch(petsPatchRequest, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/types/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/types/PromiseAPI.ts index a7ea6f257ec..a42cc756888 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/types/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/types/PromiseAPI.ts @@ -1,13 +1,15 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { Cat } from '.models.Cat'; -import { CatAllOf } from '.models.CatAllOf'; -import { Dog } from '.models.Dog'; -import { DogAllOf } from '.models.DogAllOf'; -import { InlineObject } from '.models.InlineObject'; -import { PetByAge } from '.models.PetByAge'; -import { PetByType } from '.models.PetByType'; +import { Cat } from '../models/Cat'; +import { CatAllOf } from '../models/CatAllOf'; +import { Dog } from '../models/Dog'; +import { DogAllOf } from '../models/DogAllOf'; +import { FilePostRequest } from '../models/FilePostRequest'; +import { PetByAge } from '../models/PetByAge'; +import { PetByType } from '../models/PetByType'; +import { PetsFilteredPatchRequest } from '../models/PetsFilteredPatchRequest'; +import { PetsPatchRequest } from '../models/PetsPatchRequest'; import { ObservableDefaultApi } from './ObservableAPI'; import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi"; @@ -23,26 +25,26 @@ export class PromiseDefaultApi { } /** - * @param inlineObject + * @param filePostRequest */ - public filePost(inlineObject?: InlineObject, _options?: Configuration): Promise { - const result = this.api.filePost(inlineObject, _options); + public filePost(filePostRequest?: FilePostRequest, _options?: Configuration): Promise { + const result = this.api.filePost(filePostRequest, _options); return result.toPromise(); } /** - * @param petByAgePetByType + * @param petsFilteredPatchRequest */ - public petsFilteredPatch(petByAgePetByType?: PetByAge | PetByType, _options?: Configuration): Promise { - const result = this.api.petsFilteredPatch(petByAgePetByType, _options); + public petsFilteredPatch(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Promise { + const result = this.api.petsFilteredPatch(petsFilteredPatchRequest, _options); return result.toPromise(); } /** - * @param catDog + * @param petsPatchRequest */ - public petsPatch(catDog?: Cat | Dog, _options?: Configuration): Promise { - const result = this.api.petsPatch(catDog, _options); + public petsPatch(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Promise { + const result = this.api.petsPatch(petsPatchRequest, _options); return result.toPromise(); } diff --git a/samples/openapi3/client/petstore/typescript/builds/default/.openapi-generator/VERSION b/samples/openapi3/client/petstore/typescript/builds/default/.openapi-generator/VERSION index 4b448de535c..d6b4ec4aa78 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/.openapi-generator/VERSION +++ b/samples/openapi3/client/petstore/typescript/builds/default/.openapi-generator/VERSION @@ -1 +1 @@ -5.3.0-SNAPSHOT \ No newline at end of file +6.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/openapi3/client/petstore/typescript/builds/default/PetApi.md b/samples/openapi3/client/petstore/typescript/builds/default/PetApi.md index 2fe727d84fa..2aac946907b 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/PetApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/default/PetApi.md @@ -18,6 +18,7 @@ Method | HTTP request | Description > Pet addPet(pet) + ### Example @@ -89,6 +90,7 @@ Name | Type | Description | Notes > deletePet() + ### Example @@ -315,6 +317,7 @@ Name | Type | Description | Notes > Pet updatePet(pet) + ### Example @@ -388,6 +391,7 @@ Name | Type | Description | Notes > updatePetWithForm() + ### Example @@ -447,6 +451,7 @@ void (empty response body) > ApiResponse uploadFile() + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/default/StoreApi.md b/samples/openapi3/client/petstore/typescript/builds/default/StoreApi.md index 866f3c6ab97..b7d89db061f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/StoreApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/default/StoreApi.md @@ -173,6 +173,7 @@ No authorization required > Order placeOrder(order) + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/default/UserApi.md b/samples/openapi3/client/petstore/typescript/builds/default/UserApi.md index 3aa75a41422..c18f5d94896 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/UserApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/default/UserApi.md @@ -81,6 +81,7 @@ void (empty response body) > createUsersWithArrayInput(user) + ### Example @@ -145,6 +146,7 @@ void (empty response body) > createUsersWithListInput(user) + ### Example @@ -264,6 +266,7 @@ void (empty response body) > User getUserByName() + ### Example @@ -319,6 +322,7 @@ No authorization required > string loginUser() + ### Example @@ -376,6 +380,7 @@ No authorization required > logoutUser() + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/default/apis/PetApi.ts b/samples/openapi3/client/petstore/typescript/builds/default/apis/PetApi.ts index 2d5ee33a5e9..5b3d37fe35a 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/apis/PetApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/apis/PetApi.ts @@ -10,8 +10,8 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { ApiResponse } from '/models/ApiResponse'; -import { Pet } from '/models/Pet'; +import { ApiResponse } from '../models/ApiResponse'; +import { Pet } from '../models/Pet'; /** * no description @@ -19,6 +19,7 @@ import { Pet } from '/models/Pet'; export class PetApiRequestFactory extends BaseAPIRequestFactory { /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -68,6 +69,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -232,6 +234,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -281,6 +284,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -351,6 +355,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server diff --git a/samples/openapi3/client/petstore/typescript/builds/default/apis/StoreApi.ts b/samples/openapi3/client/petstore/typescript/builds/default/apis/StoreApi.ts index 7b597dcf926..3bb0a2de754 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/apis/StoreApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/apis/StoreApi.ts @@ -10,7 +10,7 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { Order } from '/models/Order'; +import { Order } from '../models/Order'; /** * no description @@ -112,6 +112,7 @@ export class StoreApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ diff --git a/samples/openapi3/client/petstore/typescript/builds/default/apis/UserApi.ts b/samples/openapi3/client/petstore/typescript/builds/default/apis/UserApi.ts index b44bed69aff..352b499b378 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/apis/UserApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/apis/UserApi.ts @@ -10,7 +10,7 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { User } from '/models/User'; +import { User } from '../models/User'; /** * no description @@ -66,6 +66,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -113,6 +114,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -198,6 +200,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -229,6 +232,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -276,6 +280,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Logs out current logged in user session */ public async logoutUser(_options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/default/models/ObjectSerializer.ts b/samples/openapi3/client/petstore/typescript/builds/default/models/ObjectSerializer.ts index 28b6b13fd3e..a5f5708b12c 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/models/ObjectSerializer.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/models/ObjectSerializer.ts @@ -1,16 +1,16 @@ -export * from '.models.ApiResponse'; -export * from '.models.Category'; -export * from '.models.Order'; -export * from '.models.Pet'; -export * from '.models.Tag'; -export * from '.models.User'; +export * from '../models/ApiResponse'; +export * from '../models/Category'; +export * from '../models/Order'; +export * from '../models/Pet'; +export * from '../models/Tag'; +export * from '../models/User'; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order , OrderStatusEnum } from '.models.Order'; -import { Pet , PetStatusEnum } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order , OrderStatusEnum } from '../models/Order'; +import { Pet , PetStatusEnum } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; /* tslint:disable:no-unused-variable */ let primitives = [ 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 414f1be4944..b3a7ddb9f71 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/models/Pet.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/models/Pet.ts @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { Category } from 'Category'; -import { Tag } from 'Tag'; +import { Category } from '../models/Category'; +import { Tag } from '../models/Tag'; import { HttpFile } from '../http/http'; /** diff --git a/samples/openapi3/client/petstore/typescript/builds/default/models/all.ts b/samples/openapi3/client/petstore/typescript/builds/default/models/all.ts index e0118328c0f..d63b43c9674 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/models/all.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/models/all.ts @@ -1,6 +1,6 @@ -export * from '.models.ApiResponse' -export * from '.models.Category' -export * from '.models.Order' -export * from '.models.Pet' -export * from '.models.Tag' -export * from '.models.User' +export * from '../models/ApiResponse' +export * from '../models/Category' +export * from '../models/Order' +export * from '../models/Pet' +export * from '../models/Tag' +export * from '../models/User' diff --git a/samples/openapi3/client/petstore/typescript/builds/default/types/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/default/types/ObjectParamAPI.ts index 22e5983c7f2..41dfaebdde1 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/types/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/types/ObjectParamAPI.ts @@ -1,12 +1,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { ObservablePetApi } from "./ObservableAPI"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; @@ -121,6 +121,7 @@ export class ObjectPetApi { } /** + * * Add a new pet to the store * @param param the request object */ @@ -129,6 +130,7 @@ export class ObjectPetApi { } /** + * * Deletes a pet * @param param the request object */ @@ -164,6 +166,7 @@ export class ObjectPetApi { } /** + * * Update an existing pet * @param param the request object */ @@ -172,6 +175,7 @@ export class ObjectPetApi { } /** + * * Updates a pet in the store with form data * @param param the request object */ @@ -180,6 +184,7 @@ export class ObjectPetApi { } /** + * * uploads an image * @param param the request object */ @@ -257,6 +262,7 @@ export class ObjectStoreApi { } /** + * * Place an order for a pet * @param param the request object */ @@ -364,6 +370,7 @@ export class ObjectUserApi { } /** + * * Creates list of users with given input array * @param param the request object */ @@ -372,6 +379,7 @@ export class ObjectUserApi { } /** + * * Creates list of users with given input array * @param param the request object */ @@ -389,6 +397,7 @@ export class ObjectUserApi { } /** + * * Get user by user name * @param param the request object */ @@ -397,6 +406,7 @@ export class ObjectUserApi { } /** + * * Logs user into the system * @param param the request object */ @@ -405,6 +415,7 @@ export class ObjectUserApi { } /** + * * Logs out current logged in user session * @param param the request object */ diff --git a/samples/openapi3/client/petstore/typescript/builds/default/types/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/default/types/ObservableAPI.ts index 5187367bc6c..5e9397ea69f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/types/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/types/ObservableAPI.ts @@ -2,12 +2,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' import { Observable, of, from } from '../rxjsStub'; import {mergeMap, map} from '../rxjsStub'; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; export class ObservablePetApi { @@ -26,6 +26,7 @@ export class ObservablePetApi { } /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -49,6 +50,7 @@ export class ObservablePetApi { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -145,6 +147,7 @@ export class ObservablePetApi { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -168,6 +171,7 @@ export class ObservablePetApi { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -193,6 +197,7 @@ export class ObservablePetApi { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server @@ -307,6 +312,7 @@ export class ObservableStoreApi { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ @@ -372,6 +378,7 @@ export class ObservableUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -395,6 +402,7 @@ export class ObservableUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -442,6 +450,7 @@ export class ObservableUserApi { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -465,6 +474,7 @@ export class ObservableUserApi { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -489,6 +499,7 @@ export class ObservableUserApi { } /** + * * Logs out current logged in user session */ public logoutUser(_options?: Configuration): Observable { diff --git a/samples/openapi3/client/petstore/typescript/builds/default/types/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/default/types/PromiseAPI.ts index 423866f336c..c86ac4a84f3 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/types/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/types/PromiseAPI.ts @@ -1,12 +1,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { ObservablePetApi } from './ObservableAPI'; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; @@ -22,6 +22,7 @@ export class PromisePetApi { } /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -31,6 +32,7 @@ export class PromisePetApi { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -71,6 +73,7 @@ export class PromisePetApi { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -80,6 +83,7 @@ export class PromisePetApi { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -91,6 +95,7 @@ export class PromisePetApi { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server @@ -150,6 +155,7 @@ export class PromiseStoreApi { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ @@ -188,6 +194,7 @@ export class PromiseUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -197,6 +204,7 @@ export class PromiseUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -216,6 +224,7 @@ export class PromiseUserApi { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -225,6 +234,7 @@ export class PromiseUserApi { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -235,6 +245,7 @@ export class PromiseUserApi { } /** + * * Logs out current logged in user session */ public logoutUser(_options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/.openapi-generator/VERSION b/samples/openapi3/client/petstore/typescript/builds/deno/.openapi-generator/VERSION index 4b448de535c..d6b4ec4aa78 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/.openapi-generator/VERSION +++ b/samples/openapi3/client/petstore/typescript/builds/deno/.openapi-generator/VERSION @@ -1 +1 @@ -5.3.0-SNAPSHOT \ No newline at end of file +6.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/PetApi.md b/samples/openapi3/client/petstore/typescript/builds/deno/PetApi.md index 2fe727d84fa..2aac946907b 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/PetApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/deno/PetApi.md @@ -18,6 +18,7 @@ Method | HTTP request | Description > Pet addPet(pet) + ### Example @@ -89,6 +90,7 @@ Name | Type | Description | Notes > deletePet() + ### Example @@ -315,6 +317,7 @@ Name | Type | Description | Notes > Pet updatePet(pet) + ### Example @@ -388,6 +391,7 @@ Name | Type | Description | Notes > updatePetWithForm() + ### Example @@ -447,6 +451,7 @@ void (empty response body) > ApiResponse uploadFile() + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/StoreApi.md b/samples/openapi3/client/petstore/typescript/builds/deno/StoreApi.md index 866f3c6ab97..b7d89db061f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/StoreApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/deno/StoreApi.md @@ -173,6 +173,7 @@ No authorization required > Order placeOrder(order) + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/UserApi.md b/samples/openapi3/client/petstore/typescript/builds/deno/UserApi.md index 3aa75a41422..c18f5d94896 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/UserApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/deno/UserApi.md @@ -81,6 +81,7 @@ void (empty response body) > createUsersWithArrayInput(user) + ### Example @@ -145,6 +146,7 @@ void (empty response body) > createUsersWithListInput(user) + ### Example @@ -264,6 +266,7 @@ void (empty response body) > User getUserByName() + ### Example @@ -319,6 +322,7 @@ No authorization required > string loginUser() + ### Example @@ -376,6 +380,7 @@ No authorization required > logoutUser() + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/apis/PetApi.ts b/samples/openapi3/client/petstore/typescript/builds/deno/apis/PetApi.ts index f00c393797b..8c2c2bf98b7 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/apis/PetApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/apis/PetApi.ts @@ -1,15 +1,15 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; -import {Configuration} from '../configuration'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; -import {ObjectSerializer} from '../models/ObjectSerializer'; -import {ApiException} from './exception'; -import {canConsumeForm, isCodeInRange} from '../util'; -import {SecurityAuthentication} from '../auth/auth'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.ts'; +import {Configuration} from '../configuration.ts'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http.ts'; +import {ObjectSerializer} from '../models/ObjectSerializer.ts'; +import {ApiException} from './exception.ts'; +import {canConsumeForm, isCodeInRange} from '../util.ts'; +import {SecurityAuthentication} from '../auth/auth.ts'; -import { ApiResponse } from '/models/ApiResponse'; -import { Pet } from '/models/Pet'; +import { ApiResponse } from '../models/ApiResponse.ts'; +import { Pet } from '../models/Pet.ts'; /** * no description @@ -17,6 +17,7 @@ import { Pet } from '/models/Pet'; export class PetApiRequestFactory extends BaseAPIRequestFactory { /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -66,6 +67,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -230,6 +232,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -279,6 +282,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -349,6 +353,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/apis/StoreApi.ts b/samples/openapi3/client/petstore/typescript/builds/deno/apis/StoreApi.ts index 9f8ed0298c5..99e2f62d65e 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/apis/StoreApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/apis/StoreApi.ts @@ -1,14 +1,14 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; -import {Configuration} from '../configuration'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; -import {ObjectSerializer} from '../models/ObjectSerializer'; -import {ApiException} from './exception'; -import {canConsumeForm, isCodeInRange} from '../util'; -import {SecurityAuthentication} from '../auth/auth'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.ts'; +import {Configuration} from '../configuration.ts'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http.ts'; +import {ObjectSerializer} from '../models/ObjectSerializer.ts'; +import {ApiException} from './exception.ts'; +import {canConsumeForm, isCodeInRange} from '../util.ts'; +import {SecurityAuthentication} from '../auth/auth.ts'; -import { Order } from '/models/Order'; +import { Order } from '../models/Order.ts'; /** * no description @@ -110,6 +110,7 @@ export class StoreApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/apis/UserApi.ts b/samples/openapi3/client/petstore/typescript/builds/deno/apis/UserApi.ts index f014335f199..cf96436616e 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/apis/UserApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/apis/UserApi.ts @@ -1,14 +1,14 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; -import {Configuration} from '../configuration'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http'; -import {ObjectSerializer} from '../models/ObjectSerializer'; -import {ApiException} from './exception'; -import {canConsumeForm, isCodeInRange} from '../util'; -import {SecurityAuthentication} from '../auth/auth'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.ts'; +import {Configuration} from '../configuration.ts'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http.ts'; +import {ObjectSerializer} from '../models/ObjectSerializer.ts'; +import {ApiException} from './exception.ts'; +import {canConsumeForm, isCodeInRange} from '../util.ts'; +import {SecurityAuthentication} from '../auth/auth.ts'; -import { User } from '/models/User'; +import { User } from '../models/User.ts'; /** * no description @@ -64,6 +64,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -111,6 +112,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -196,6 +198,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -227,6 +230,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -274,6 +278,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Logs out current logged in user session */ public async logoutUser(_options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/apis/baseapi.ts b/samples/openapi3/client/petstore/typescript/builds/deno/apis/baseapi.ts index ce1e2dbc47e..46ed74bb556 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/apis/baseapi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/apis/baseapi.ts @@ -1,4 +1,4 @@ -import { Configuration } from '../configuration' +import { Configuration } from '../configuration.ts' /** * diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/auth/auth.ts b/samples/openapi3/client/petstore/typescript/builds/deno/auth/auth.ts index 7c393656367..2f891fb94ea 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/auth/auth.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/auth/auth.ts @@ -1,4 +1,4 @@ -import { RequestContext } from "../http/http"; +import { RequestContext } from "../http/http.ts"; /** * Interface authentication schemes. diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/configuration.ts b/samples/openapi3/client/petstore/typescript/builds/deno/configuration.ts index 7acb56e6647..0a170f0d507 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/configuration.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/configuration.ts @@ -1,8 +1,8 @@ -import { HttpLibrary } from "./http/http"; -import { Middleware, PromiseMiddleware, PromiseMiddlewareWrapper } from "./middleware"; -import { IsomorphicFetchHttpLibrary as DefaultHttpLibrary } from "./http/isomorphic-fetch"; -import { BaseServerConfiguration, server1 } from "./servers"; -import { configureAuthMethods, AuthMethods, AuthMethodsConfiguration } from "./auth/auth"; +import { HttpLibrary } from "./http/http.ts"; +import { Middleware, PromiseMiddleware, PromiseMiddlewareWrapper } from "./middleware.ts"; +import { IsomorphicFetchHttpLibrary as DefaultHttpLibrary } from "./http/isomorphic-fetch.ts"; +import { BaseServerConfiguration, server1 } from "./servers.ts"; +import { configureAuthMethods, AuthMethods, AuthMethodsConfiguration } from "./auth/auth.ts"; export interface Configuration { readonly baseServer: BaseServerConfiguration; diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/http/http.ts b/samples/openapi3/client/petstore/typescript/builds/deno/http/http.ts index af2212d3b4a..a286eac8a41 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/http/http.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/http/http.ts @@ -1,4 +1,4 @@ -import { Observable, from } from '../rxjsStub'; +import { Observable, from } from '../rxjsStub.ts'; /** diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/http/isomorphic-fetch.ts b/samples/openapi3/client/petstore/typescript/builds/deno/http/isomorphic-fetch.ts index 8c9c8259781..a7521351e06 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/http/isomorphic-fetch.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/http/isomorphic-fetch.ts @@ -1,5 +1,5 @@ -import {HttpLibrary, RequestContext, ResponseContext} from './http'; -import { from, Observable } from '../rxjsStub'; +import {HttpLibrary, RequestContext, ResponseContext} from './http.ts'; +import { from, Observable } from '../rxjsStub.ts'; export class IsomorphicFetchHttpLibrary implements HttpLibrary { diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/index.ts b/samples/openapi3/client/petstore/typescript/builds/deno/index.ts index 8e69260419b..b73e795b265 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/index.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/index.ts @@ -1,12 +1,12 @@ -export * from "./http/http"; -export * from "./auth/auth"; -export * from "./models/all"; -export { createConfiguration } from "./configuration" -export type { Configuration } from "./configuration" -export * from "./apis/exception"; -export * from "./servers"; -export { RequiredError } from "./apis/baseapi"; +export * from "./http/http.ts"; +export * from "./auth/auth.ts"; +export * from "./models/all.ts"; +export { createConfiguration } from "./configuration.ts" +export type { Configuration } from "./configuration.ts" +export * from "./apis/exception.ts"; +export * from "./servers.ts"; +export { RequiredError } from "./apis/baseapi.ts"; -export type { PromiseMiddleware as Middleware } from './middleware'; -export { PromisePetApi as PetApi, PromiseStoreApi as StoreApi, PromiseUserApi as UserApi } from './types/PromiseAPI'; +export type { PromiseMiddleware as Middleware } from './middleware.ts'; +export { PromisePetApi as PetApi, PromiseStoreApi as StoreApi, PromiseUserApi as UserApi } from './types/PromiseAPI.ts'; diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/middleware.ts b/samples/openapi3/client/petstore/typescript/builds/deno/middleware.ts index 524f93f016b..ae36e6c3d7d 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/middleware.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/middleware.ts @@ -1,5 +1,5 @@ -import {RequestContext, ResponseContext} from './http/http'; -import { Observable, from } from './rxjsStub'; +import {RequestContext, ResponseContext} from './http/http.ts'; +import { Observable, from } from './rxjsStub.ts'; /** * Defines the contract for a middleware intercepting requests before 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 f4b2d010fb7..b5cfa4948a0 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/ApiResponse.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/ApiResponse.ts @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { HttpFile } from '../http/http.ts'; /** * Describes the result of uploading an image resource 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 5d63fc87a99..9c1bdd23614 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/Category.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/Category.ts @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { HttpFile } from '../http/http.ts'; /** * A category for a pet diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/models/ObjectSerializer.ts b/samples/openapi3/client/petstore/typescript/builds/deno/models/ObjectSerializer.ts index 28b6b13fd3e..a56a21255c2 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/ObjectSerializer.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/ObjectSerializer.ts @@ -1,16 +1,16 @@ -export * from '.models.ApiResponse'; -export * from '.models.Category'; -export * from '.models.Order'; -export * from '.models.Pet'; -export * from '.models.Tag'; -export * from '.models.User'; +export * from '../models/ApiResponse.ts'; +export * from '../models/Category.ts'; +export * from '../models/Order.ts'; +export * from '../models/Pet.ts'; +export * from '../models/Tag.ts'; +export * from '../models/User.ts'; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order , OrderStatusEnum } from '.models.Order'; -import { Pet , PetStatusEnum } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse.ts'; +import { Category } from '../models/Category.ts'; +import { Order , OrderStatusEnum } from '../models/Order.ts'; +import { Pet , PetStatusEnum } from '../models/Pet.ts'; +import { Tag } from '../models/Tag.ts'; +import { User } from '../models/User.ts'; /* tslint:disable:no-unused-variable */ let primitives = [ 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 a2f84555ff1..644657299f3 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/Order.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/Order.ts @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { HttpFile } from '../http/http.ts'; /** * An order for a pets from the pet store 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 414f1be4944..229681feacd 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/Pet.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/Pet.ts @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { Category } from 'Category'; -import { Tag } from 'Tag'; -import { HttpFile } from '../http/http'; +import { Category } from '../models/Category.ts'; +import { Tag } from '../models/Tag.ts'; +import { HttpFile } from '../http/http.ts'; /** * A pet for sale in the pet store 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 8c4f6967b9a..dc2c98212c3 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/Tag.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/Tag.ts @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { HttpFile } from '../http/http.ts'; /** * A tag for a pet 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 68528ad3c9e..76c6a9ae869 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/User.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/User.ts @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { HttpFile } from '../http/http.ts'; /** * A User who is purchasing from the pet store diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/models/all.ts b/samples/openapi3/client/petstore/typescript/builds/deno/models/all.ts index e0118328c0f..374b1e44e2b 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/models/all.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/models/all.ts @@ -1,6 +1,6 @@ -export * from '.models.ApiResponse' -export * from '.models.Category' -export * from '.models.Order' -export * from '.models.Pet' -export * from '.models.Tag' -export * from '.models.User' +export * from '../models/ApiResponse.ts' +export * from '../models/Category.ts' +export * from '../models/Order.ts' +export * from '../models/Pet.ts' +export * from '../models/Tag.ts' +export * from '../models/User.ts' diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/servers.ts b/samples/openapi3/client/petstore/typescript/builds/deno/servers.ts index b6b3e111acb..ba605b218bc 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/servers.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/servers.ts @@ -1,4 +1,4 @@ -import { RequestContext, HttpMethod } from "./http/http"; +import { RequestContext, HttpMethod } from "./http/http.ts"; export interface BaseServerConfiguration { makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext; diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/types/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/deno/types/ObjectParamAPI.ts index 22e5983c7f2..e499b3bc620 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/types/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/types/ObjectParamAPI.ts @@ -1,15 +1,15 @@ -import { ResponseContext, RequestContext, HttpFile } from '../http/http'; -import { Configuration} from '../configuration' +import { ResponseContext, RequestContext, HttpFile } from '../http/http.ts'; +import { Configuration} from '../configuration.ts' -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse.ts'; +import { Category } from '../models/Category.ts'; +import { Order } from '../models/Order.ts'; +import { Pet } from '../models/Pet.ts'; +import { Tag } from '../models/Tag.ts'; +import { User } from '../models/User.ts'; -import { ObservablePetApi } from "./ObservableAPI"; -import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; +import { ObservablePetApi } from "./ObservableAPI.ts"; +import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi.ts"; export interface PetApiAddPetRequest { /** @@ -121,6 +121,7 @@ export class ObjectPetApi { } /** + * * Add a new pet to the store * @param param the request object */ @@ -129,6 +130,7 @@ export class ObjectPetApi { } /** + * * Deletes a pet * @param param the request object */ @@ -164,6 +166,7 @@ export class ObjectPetApi { } /** + * * Update an existing pet * @param param the request object */ @@ -172,6 +175,7 @@ export class ObjectPetApi { } /** + * * Updates a pet in the store with form data * @param param the request object */ @@ -180,6 +184,7 @@ export class ObjectPetApi { } /** + * * uploads an image * @param param the request object */ @@ -189,8 +194,8 @@ export class ObjectPetApi { } -import { ObservableStoreApi } from "./ObservableAPI"; -import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreApi"; +import { ObservableStoreApi } from "./ObservableAPI.ts"; +import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreApi.ts"; export interface StoreApiDeleteOrderRequest { /** @@ -257,6 +262,7 @@ export class ObjectStoreApi { } /** + * * Place an order for a pet * @param param the request object */ @@ -266,8 +272,8 @@ export class ObjectStoreApi { } -import { ObservableUserApi } from "./ObservableAPI"; -import { UserApiRequestFactory, UserApiResponseProcessor} from "../apis/UserApi"; +import { ObservableUserApi } from "./ObservableAPI.ts"; +import { UserApiRequestFactory, UserApiResponseProcessor} from "../apis/UserApi.ts"; export interface UserApiCreateUserRequest { /** @@ -364,6 +370,7 @@ export class ObjectUserApi { } /** + * * Creates list of users with given input array * @param param the request object */ @@ -372,6 +379,7 @@ export class ObjectUserApi { } /** + * * Creates list of users with given input array * @param param the request object */ @@ -389,6 +397,7 @@ export class ObjectUserApi { } /** + * * Get user by user name * @param param the request object */ @@ -397,6 +406,7 @@ export class ObjectUserApi { } /** + * * Logs user into the system * @param param the request object */ @@ -405,6 +415,7 @@ export class ObjectUserApi { } /** + * * Logs out current logged in user session * @param param the request object */ diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/types/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/deno/types/ObservableAPI.ts index 5187367bc6c..1857aba9f38 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/types/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/types/ObservableAPI.ts @@ -1,15 +1,15 @@ -import { ResponseContext, RequestContext, HttpFile } from '../http/http'; -import { Configuration} from '../configuration' -import { Observable, of, from } from '../rxjsStub'; -import {mergeMap, map} from '../rxjsStub'; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ResponseContext, RequestContext, HttpFile } from '../http/http.ts'; +import { Configuration} from '../configuration.ts' +import { Observable, of, from } from '../rxjsStub.ts'; +import {mergeMap, map} from '../rxjsStub.ts'; +import { ApiResponse } from '../models/ApiResponse.ts'; +import { Category } from '../models/Category.ts'; +import { Order } from '../models/Order.ts'; +import { Pet } from '../models/Pet.ts'; +import { Tag } from '../models/Tag.ts'; +import { User } from '../models/User.ts'; -import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; +import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi.ts"; export class ObservablePetApi { private requestFactory: PetApiRequestFactory; private responseProcessor: PetApiResponseProcessor; @@ -26,6 +26,7 @@ export class ObservablePetApi { } /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -49,6 +50,7 @@ export class ObservablePetApi { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -145,6 +147,7 @@ export class ObservablePetApi { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -168,6 +171,7 @@ export class ObservablePetApi { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -193,6 +197,7 @@ export class ObservablePetApi { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server @@ -219,7 +224,7 @@ export class ObservablePetApi { } -import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreApi"; +import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreApi.ts"; export class ObservableStoreApi { private requestFactory: StoreApiRequestFactory; private responseProcessor: StoreApiResponseProcessor; @@ -307,6 +312,7 @@ export class ObservableStoreApi { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ @@ -331,7 +337,7 @@ export class ObservableStoreApi { } -import { UserApiRequestFactory, UserApiResponseProcessor} from "../apis/UserApi"; +import { UserApiRequestFactory, UserApiResponseProcessor} from "../apis/UserApi.ts"; export class ObservableUserApi { private requestFactory: UserApiRequestFactory; private responseProcessor: UserApiResponseProcessor; @@ -372,6 +378,7 @@ export class ObservableUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -395,6 +402,7 @@ export class ObservableUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -442,6 +450,7 @@ export class ObservableUserApi { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -465,6 +474,7 @@ export class ObservableUserApi { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -489,6 +499,7 @@ export class ObservableUserApi { } /** + * * Logs out current logged in user session */ public logoutUser(_options?: Configuration): Observable { diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/types/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/deno/types/PromiseAPI.ts index 423866f336c..087bc60cbe7 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/types/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/types/PromiseAPI.ts @@ -1,15 +1,15 @@ -import { ResponseContext, RequestContext, HttpFile } from '../http/http'; -import { Configuration} from '../configuration' +import { ResponseContext, RequestContext, HttpFile } from '../http/http.ts'; +import { Configuration} from '../configuration.ts' -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; -import { ObservablePetApi } from './ObservableAPI'; +import { ApiResponse } from '../models/ApiResponse.ts'; +import { Category } from '../models/Category.ts'; +import { Order } from '../models/Order.ts'; +import { Pet } from '../models/Pet.ts'; +import { Tag } from '../models/Tag.ts'; +import { User } from '../models/User.ts'; +import { ObservablePetApi } from './ObservableAPI.ts'; -import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; +import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi.ts"; export class PromisePetApi { private api: ObservablePetApi @@ -22,6 +22,7 @@ export class PromisePetApi { } /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -31,6 +32,7 @@ export class PromisePetApi { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -71,6 +73,7 @@ export class PromisePetApi { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -80,6 +83,7 @@ export class PromisePetApi { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -91,6 +95,7 @@ export class PromisePetApi { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server @@ -106,9 +111,9 @@ export class PromisePetApi { -import { ObservableStoreApi } from './ObservableAPI'; +import { ObservableStoreApi } from './ObservableAPI.ts'; -import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreApi"; +import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreApi.ts"; export class PromiseStoreApi { private api: ObservableStoreApi @@ -150,6 +155,7 @@ export class PromiseStoreApi { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ @@ -163,9 +169,9 @@ export class PromiseStoreApi { -import { ObservableUserApi } from './ObservableAPI'; +import { ObservableUserApi } from './ObservableAPI.ts'; -import { UserApiRequestFactory, UserApiResponseProcessor} from "../apis/UserApi"; +import { UserApiRequestFactory, UserApiResponseProcessor} from "../apis/UserApi.ts"; export class PromiseUserApi { private api: ObservableUserApi @@ -188,6 +194,7 @@ export class PromiseUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -197,6 +204,7 @@ export class PromiseUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -216,6 +224,7 @@ export class PromiseUserApi { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -225,6 +234,7 @@ export class PromiseUserApi { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -235,6 +245,7 @@ export class PromiseUserApi { } /** + * * Logs out current logged in user session */ public logoutUser(_options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/.openapi-generator/VERSION b/samples/openapi3/client/petstore/typescript/builds/inversify/.openapi-generator/VERSION index 4b448de535c..d6b4ec4aa78 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/.openapi-generator/VERSION +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/.openapi-generator/VERSION @@ -1 +1 @@ -5.3.0-SNAPSHOT \ No newline at end of file +6.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/PetApi.md b/samples/openapi3/client/petstore/typescript/builds/inversify/PetApi.md index 2fe727d84fa..2aac946907b 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/PetApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/PetApi.md @@ -18,6 +18,7 @@ Method | HTTP request | Description > Pet addPet(pet) + ### Example @@ -89,6 +90,7 @@ Name | Type | Description | Notes > deletePet() + ### Example @@ -315,6 +317,7 @@ Name | Type | Description | Notes > Pet updatePet(pet) + ### Example @@ -388,6 +391,7 @@ Name | Type | Description | Notes > updatePetWithForm() + ### Example @@ -447,6 +451,7 @@ void (empty response body) > ApiResponse uploadFile() + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/StoreApi.md b/samples/openapi3/client/petstore/typescript/builds/inversify/StoreApi.md index 866f3c6ab97..b7d89db061f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/StoreApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/StoreApi.md @@ -173,6 +173,7 @@ No authorization required > Order placeOrder(order) + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/UserApi.md b/samples/openapi3/client/petstore/typescript/builds/inversify/UserApi.md index 3aa75a41422..c18f5d94896 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/UserApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/UserApi.md @@ -81,6 +81,7 @@ void (empty response body) > createUsersWithArrayInput(user) + ### Example @@ -145,6 +146,7 @@ void (empty response body) > createUsersWithListInput(user) + ### Example @@ -264,6 +266,7 @@ void (empty response body) > User getUserByName() + ### Example @@ -319,6 +322,7 @@ No authorization required > string loginUser() + ### Example @@ -376,6 +380,7 @@ No authorization required > logoutUser() + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/PetApi.service.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/PetApi.service.ts index 7cd94eeda6b..e96ab5e1482 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/PetApi.service.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/PetApi.service.ts @@ -1,8 +1,8 @@ import type { Configuration } from "../configuration"; import type { HttpFile, RequestContext, ResponseContext } from "../http/http"; -import { ApiResponse } from "/models/ApiResponse"; -import { Pet } from "/models/Pet"; +import { ApiResponse } from "../models/ApiResponse"; +import { Pet } from "../models/Pet"; export abstract class AbstractPetApiRequestFactory { public abstract addPet(pet: Pet, options?: Configuration): Promise; diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/PetApi.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/PetApi.ts index b808bb021c3..93928166fcd 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/PetApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/PetApi.ts @@ -11,8 +11,8 @@ import {SecurityAuthentication} from '../auth/auth'; import { injectable } from "inversify"; -import { ApiResponse } from '/models/ApiResponse'; -import { Pet } from '/models/Pet'; +import { ApiResponse } from '../models/ApiResponse'; +import { Pet } from '../models/Pet'; /** * no description @@ -21,6 +21,7 @@ import { Pet } from '/models/Pet'; export class PetApiRequestFactory extends BaseAPIRequestFactory { /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -66,6 +67,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -214,6 +216,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -259,6 +262,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -325,6 +329,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/StoreApi.service.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/StoreApi.service.ts index ade8a313813..b2e61032a7f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/StoreApi.service.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/StoreApi.service.ts @@ -1,7 +1,7 @@ import type { Configuration } from "../configuration"; import type { HttpFile, RequestContext, ResponseContext } from "../http/http"; -import { Order } from "/models/Order"; +import { Order } from "../models/Order"; export abstract class AbstractStoreApiRequestFactory { public abstract deleteOrder(orderId: string, options?: Configuration): Promise; diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/StoreApi.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/StoreApi.ts index a06820651e3..7537e2b4ecc 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/StoreApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/StoreApi.ts @@ -11,7 +11,7 @@ import {SecurityAuthentication} from '../auth/auth'; import { injectable } from "inversify"; -import { Order } from '/models/Order'; +import { Order } from '../models/Order'; /** * no description @@ -102,6 +102,7 @@ export class StoreApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/UserApi.service.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/UserApi.service.ts index 48f10797054..0ea540fef87 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/UserApi.service.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/UserApi.service.ts @@ -1,7 +1,7 @@ import type { Configuration } from "../configuration"; import type { HttpFile, RequestContext, ResponseContext } from "../http/http"; -import { User } from "/models/User"; +import { User } from "../models/User"; export abstract class AbstractUserApiRequestFactory { public abstract createUser(user: User, options?: Configuration): Promise; diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/UserApi.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/UserApi.ts index d6d76d4bc17..9f81f5e77f0 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/UserApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/UserApi.ts @@ -11,7 +11,7 @@ import {SecurityAuthentication} from '../auth/auth'; import { injectable } from "inversify"; -import { User } from '/models/User'; +import { User } from '../models/User'; /** * no description @@ -64,6 +64,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -107,6 +108,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -184,6 +186,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -211,6 +214,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -254,6 +258,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Logs out current logged in user session */ public async logoutUser(_options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/models/ObjectSerializer.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/models/ObjectSerializer.ts index 28b6b13fd3e..a5f5708b12c 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/models/ObjectSerializer.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/models/ObjectSerializer.ts @@ -1,16 +1,16 @@ -export * from '.models.ApiResponse'; -export * from '.models.Category'; -export * from '.models.Order'; -export * from '.models.Pet'; -export * from '.models.Tag'; -export * from '.models.User'; +export * from '../models/ApiResponse'; +export * from '../models/Category'; +export * from '../models/Order'; +export * from '../models/Pet'; +export * from '../models/Tag'; +export * from '../models/User'; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order , OrderStatusEnum } from '.models.Order'; -import { Pet , PetStatusEnum } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order , OrderStatusEnum } from '../models/Order'; +import { Pet , PetStatusEnum } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; /* tslint:disable:no-unused-variable */ let primitives = [ 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 414f1be4944..b3a7ddb9f71 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/models/Pet.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/models/Pet.ts @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { Category } from 'Category'; -import { Tag } from 'Tag'; +import { Category } from '../models/Category'; +import { Tag } from '../models/Tag'; import { HttpFile } from '../http/http'; /** diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/models/all.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/models/all.ts index e0118328c0f..d63b43c9674 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/models/all.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/models/all.ts @@ -1,6 +1,6 @@ -export * from '.models.ApiResponse' -export * from '.models.Category' -export * from '.models.Order' -export * from '.models.Pet' -export * from '.models.Tag' -export * from '.models.User' +export * from '../models/ApiResponse' +export * from '../models/Category' +export * from '../models/Order' +export * from '../models/Pet' +export * from '../models/Tag' +export * from '../models/User' diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/services/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/services/ObjectParamAPI.ts index 67391c4fcb9..09bf61437b2 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/services/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/services/ObjectParamAPI.ts @@ -2,22 +2,24 @@ import type { HttpFile } from '../http/http'; import type { Configuration } from '../configuration' import type * as req from "../types/ObjectParamAPI"; -import type { ApiResponse } from '.models.ApiResponse'; -import type { Category } from '.models.Category'; -import type { Order } from '.models.Order'; -import type { Pet } from '.models.Pet'; -import type { Tag } from '.models.Tag'; -import type { User } from '.models.User'; +import type { ApiResponse } from '../models/ApiResponse'; +import type { Category } from '../models/Category'; +import type { Order } from '../models/Order'; +import type { Pet } from '../models/Pet'; +import type { Tag } from '../models/Tag'; +import type { User } from '../models/User'; export abstract class AbstractObjectPetApi { /** + * * Add a new pet to the store * @param param the request object */ public abstract addPet(param: req.PetApiAddPetRequest, options?: Configuration): Promise; /** + * * Deletes a pet * @param param the request object */ @@ -45,18 +47,21 @@ export abstract class AbstractObjectPetApi { public abstract getPetById(param: req.PetApiGetPetByIdRequest, options?: Configuration): Promise; /** + * * Update an existing pet * @param param the request object */ public abstract updatePet(param: req.PetApiUpdatePetRequest, options?: Configuration): Promise; /** + * * Updates a pet in the store with form data * @param param the request object */ public abstract updatePetWithForm(param: req.PetApiUpdatePetWithFormRequest, options?: Configuration): Promise; /** + * * uploads an image * @param param the request object */ @@ -88,6 +93,7 @@ export abstract class AbstractObjectStoreApi { public abstract getOrderById(param: req.StoreApiGetOrderByIdRequest, options?: Configuration): Promise; /** + * * Place an order for a pet * @param param the request object */ @@ -105,12 +111,14 @@ export abstract class AbstractObjectUserApi { public abstract createUser(param: req.UserApiCreateUserRequest, options?: Configuration): Promise; /** + * * Creates list of users with given input array * @param param the request object */ public abstract createUsersWithArrayInput(param: req.UserApiCreateUsersWithArrayInputRequest, options?: Configuration): Promise; /** + * * Creates list of users with given input array * @param param the request object */ @@ -124,18 +132,21 @@ export abstract class AbstractObjectUserApi { public abstract deleteUser(param: req.UserApiDeleteUserRequest, options?: Configuration): Promise; /** + * * Get user by user name * @param param the request object */ public abstract getUserByName(param: req.UserApiGetUserByNameRequest, options?: Configuration): Promise; /** + * * Logs user into the system * @param param the request object */ public abstract loginUser(param: req.UserApiLoginUserRequest, options?: Configuration): Promise; /** + * * Logs out current logged in user session * @param param the request object */ diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/services/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/services/ObservableAPI.ts index cbc63842b63..014636645ab 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/services/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/services/ObservableAPI.ts @@ -2,12 +2,12 @@ import type { HttpFile } from "../http/http"; import type { Observable } from "../rxjsStub"; import type { Configuration } from "../configuration"; -import { ApiResponse } from ".models.ApiResponse"; -import { Category } from ".models.Category"; -import { Order } from ".models.Order"; -import { Pet } from ".models.Pet"; -import { Tag } from ".models.Tag"; -import { User } from ".models.User"; +import { ApiResponse } from "../models/ApiResponse"; +import { Category } from "../models/Category"; +import { Order } from "../models/Order"; +import { Pet } from "../models/Pet"; +import { Tag } from "../models/Tag"; +import { User } from "../models/User"; export abstract class AbstractObservablePetApi { diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/services/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/services/PromiseAPI.ts index c163eaf2647..121ef651dae 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/services/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/services/PromiseAPI.ts @@ -1,12 +1,12 @@ import type { HttpFile } from "../http/http"; import type { Configuration } from "../configuration"; -import { ApiResponse } from ".models.ApiResponse"; -import { Category } from ".models.Category"; -import { Order } from ".models.Order"; -import { Pet } from ".models.Pet"; -import { Tag } from ".models.Tag"; -import { User } from ".models.User"; +import { ApiResponse } from "../models/ApiResponse"; +import { Category } from "../models/Category"; +import { Order } from "../models/Order"; +import { Pet } from "../models/Pet"; +import { Tag } from "../models/Tag"; +import { User } from "../models/User"; export abstract class AbstractPromisePetApi { diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObjectParamAPI.ts index 22e5983c7f2..41dfaebdde1 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObjectParamAPI.ts @@ -1,12 +1,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { ObservablePetApi } from "./ObservableAPI"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; @@ -121,6 +121,7 @@ export class ObjectPetApi { } /** + * * Add a new pet to the store * @param param the request object */ @@ -129,6 +130,7 @@ export class ObjectPetApi { } /** + * * Deletes a pet * @param param the request object */ @@ -164,6 +166,7 @@ export class ObjectPetApi { } /** + * * Update an existing pet * @param param the request object */ @@ -172,6 +175,7 @@ export class ObjectPetApi { } /** + * * Updates a pet in the store with form data * @param param the request object */ @@ -180,6 +184,7 @@ export class ObjectPetApi { } /** + * * uploads an image * @param param the request object */ @@ -257,6 +262,7 @@ export class ObjectStoreApi { } /** + * * Place an order for a pet * @param param the request object */ @@ -364,6 +370,7 @@ export class ObjectUserApi { } /** + * * Creates list of users with given input array * @param param the request object */ @@ -372,6 +379,7 @@ export class ObjectUserApi { } /** + * * Creates list of users with given input array * @param param the request object */ @@ -389,6 +397,7 @@ export class ObjectUserApi { } /** + * * Get user by user name * @param param the request object */ @@ -397,6 +406,7 @@ export class ObjectUserApi { } /** + * * Logs user into the system * @param param the request object */ @@ -405,6 +415,7 @@ export class ObjectUserApi { } /** + * * Logs out current logged in user session * @param param the request object */ diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObservableAPI.ts index a356d36cbc3..c3c1dc41516 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObservableAPI.ts @@ -4,12 +4,12 @@ import { Observable, of, from } from '../rxjsStub'; import {mergeMap, map} from '../rxjsStub'; import { injectable, inject, optional } from "inversify"; import { AbstractConfiguration } from "../services/configuration"; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; import { AbstractPetApiRequestFactory, AbstractPetApiResponseProcessor } from "../apis/PetApi.service"; @@ -31,6 +31,7 @@ export class ObservablePetApi { } /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -54,6 +55,7 @@ export class ObservablePetApi { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -150,6 +152,7 @@ export class ObservablePetApi { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -173,6 +176,7 @@ export class ObservablePetApi { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -198,6 +202,7 @@ export class ObservablePetApi { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server @@ -315,6 +320,7 @@ export class ObservableStoreApi { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ @@ -383,6 +389,7 @@ export class ObservableUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -406,6 +413,7 @@ export class ObservableUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -453,6 +461,7 @@ export class ObservableUserApi { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -476,6 +485,7 @@ export class ObservableUserApi { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -500,6 +510,7 @@ export class ObservableUserApi { } /** + * * Logs out current logged in user session */ public logoutUser(_options?: Configuration): Observable { diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/types/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/types/PromiseAPI.ts index 9971dd2d61e..d1ade068256 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/types/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/types/PromiseAPI.ts @@ -3,12 +3,12 @@ import { Configuration} from '../configuration' import { injectable, inject, optional } from "inversify"; import { AbstractConfiguration } from "../services/configuration"; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { ObservablePetApi } from './ObservableAPI'; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; @@ -27,6 +27,7 @@ export class PromisePetApi { } /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -36,6 +37,7 @@ export class PromisePetApi { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -76,6 +78,7 @@ export class PromisePetApi { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -85,6 +88,7 @@ export class PromisePetApi { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -96,6 +100,7 @@ export class PromisePetApi { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server @@ -158,6 +163,7 @@ export class PromiseStoreApi { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ @@ -199,6 +205,7 @@ export class PromiseUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -208,6 +215,7 @@ export class PromiseUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -227,6 +235,7 @@ export class PromiseUserApi { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -236,6 +245,7 @@ export class PromiseUserApi { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -246,6 +256,7 @@ export class PromiseUserApi { } /** + * * Logs out current logged in user session */ public logoutUser(_options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/.openapi-generator/VERSION b/samples/openapi3/client/petstore/typescript/builds/jquery/.openapi-generator/VERSION index 4b448de535c..d6b4ec4aa78 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/.openapi-generator/VERSION +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/.openapi-generator/VERSION @@ -1 +1 @@ -5.3.0-SNAPSHOT \ No newline at end of file +6.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/PetApi.md b/samples/openapi3/client/petstore/typescript/builds/jquery/PetApi.md index 2fe727d84fa..2aac946907b 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/PetApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/PetApi.md @@ -18,6 +18,7 @@ Method | HTTP request | Description > Pet addPet(pet) + ### Example @@ -89,6 +90,7 @@ Name | Type | Description | Notes > deletePet() + ### Example @@ -315,6 +317,7 @@ Name | Type | Description | Notes > Pet updatePet(pet) + ### Example @@ -388,6 +391,7 @@ Name | Type | Description | Notes > updatePetWithForm() + ### Example @@ -447,6 +451,7 @@ void (empty response body) > ApiResponse uploadFile() + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/StoreApi.md b/samples/openapi3/client/petstore/typescript/builds/jquery/StoreApi.md index 866f3c6ab97..b7d89db061f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/StoreApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/StoreApi.md @@ -173,6 +173,7 @@ No authorization required > Order placeOrder(order) + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/UserApi.md b/samples/openapi3/client/petstore/typescript/builds/jquery/UserApi.md index 3aa75a41422..c18f5d94896 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/UserApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/UserApi.md @@ -81,6 +81,7 @@ void (empty response body) > createUsersWithArrayInput(user) + ### Example @@ -145,6 +146,7 @@ void (empty response body) > createUsersWithListInput(user) + ### Example @@ -264,6 +266,7 @@ void (empty response body) > User getUserByName() + ### Example @@ -319,6 +322,7 @@ No authorization required > string loginUser() + ### Example @@ -376,6 +380,7 @@ No authorization required > logoutUser() + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/apis/PetApi.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/apis/PetApi.ts index f00c393797b..514291812d2 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/apis/PetApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/apis/PetApi.ts @@ -8,8 +8,8 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { ApiResponse } from '/models/ApiResponse'; -import { Pet } from '/models/Pet'; +import { ApiResponse } from '../models/ApiResponse'; +import { Pet } from '../models/Pet'; /** * no description @@ -17,6 +17,7 @@ import { Pet } from '/models/Pet'; export class PetApiRequestFactory extends BaseAPIRequestFactory { /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -66,6 +67,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -230,6 +232,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -279,6 +282,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -349,6 +353,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/apis/StoreApi.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/apis/StoreApi.ts index 9f8ed0298c5..31cf3aa1f55 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/apis/StoreApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/apis/StoreApi.ts @@ -8,7 +8,7 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { Order } from '/models/Order'; +import { Order } from '../models/Order'; /** * no description @@ -110,6 +110,7 @@ export class StoreApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/apis/UserApi.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/apis/UserApi.ts index f014335f199..0331c7117d5 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/apis/UserApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/apis/UserApi.ts @@ -8,7 +8,7 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { User } from '/models/User'; +import { User } from '../models/User'; /** * no description @@ -64,6 +64,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -111,6 +112,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -196,6 +198,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -227,6 +230,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -274,6 +278,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Logs out current logged in user session */ public async logoutUser(_options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/models/ObjectSerializer.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/models/ObjectSerializer.ts index 28b6b13fd3e..a5f5708b12c 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/models/ObjectSerializer.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/models/ObjectSerializer.ts @@ -1,16 +1,16 @@ -export * from '.models.ApiResponse'; -export * from '.models.Category'; -export * from '.models.Order'; -export * from '.models.Pet'; -export * from '.models.Tag'; -export * from '.models.User'; +export * from '../models/ApiResponse'; +export * from '../models/Category'; +export * from '../models/Order'; +export * from '../models/Pet'; +export * from '../models/Tag'; +export * from '../models/User'; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order , OrderStatusEnum } from '.models.Order'; -import { Pet , PetStatusEnum } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order , OrderStatusEnum } from '../models/Order'; +import { Pet , PetStatusEnum } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; /* tslint:disable:no-unused-variable */ let primitives = [ 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 414f1be4944..b3a7ddb9f71 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/models/Pet.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/models/Pet.ts @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { Category } from 'Category'; -import { Tag } from 'Tag'; +import { Category } from '../models/Category'; +import { Tag } from '../models/Tag'; import { HttpFile } from '../http/http'; /** diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/models/all.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/models/all.ts index e0118328c0f..d63b43c9674 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/models/all.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/models/all.ts @@ -1,6 +1,6 @@ -export * from '.models.ApiResponse' -export * from '.models.Category' -export * from '.models.Order' -export * from '.models.Pet' -export * from '.models.Tag' -export * from '.models.User' +export * from '../models/ApiResponse' +export * from '../models/Category' +export * from '../models/Order' +export * from '../models/Pet' +export * from '../models/Tag' +export * from '../models/User' diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObjectParamAPI.ts index 22e5983c7f2..41dfaebdde1 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObjectParamAPI.ts @@ -1,12 +1,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { ObservablePetApi } from "./ObservableAPI"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; @@ -121,6 +121,7 @@ export class ObjectPetApi { } /** + * * Add a new pet to the store * @param param the request object */ @@ -129,6 +130,7 @@ export class ObjectPetApi { } /** + * * Deletes a pet * @param param the request object */ @@ -164,6 +166,7 @@ export class ObjectPetApi { } /** + * * Update an existing pet * @param param the request object */ @@ -172,6 +175,7 @@ export class ObjectPetApi { } /** + * * Updates a pet in the store with form data * @param param the request object */ @@ -180,6 +184,7 @@ export class ObjectPetApi { } /** + * * uploads an image * @param param the request object */ @@ -257,6 +262,7 @@ export class ObjectStoreApi { } /** + * * Place an order for a pet * @param param the request object */ @@ -364,6 +370,7 @@ export class ObjectUserApi { } /** + * * Creates list of users with given input array * @param param the request object */ @@ -372,6 +379,7 @@ export class ObjectUserApi { } /** + * * Creates list of users with given input array * @param param the request object */ @@ -389,6 +397,7 @@ export class ObjectUserApi { } /** + * * Get user by user name * @param param the request object */ @@ -397,6 +406,7 @@ export class ObjectUserApi { } /** + * * Logs user into the system * @param param the request object */ @@ -405,6 +415,7 @@ export class ObjectUserApi { } /** + * * Logs out current logged in user session * @param param the request object */ diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObservableAPI.ts index 5187367bc6c..5e9397ea69f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObservableAPI.ts @@ -2,12 +2,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' import { Observable, of, from } from '../rxjsStub'; import {mergeMap, map} from '../rxjsStub'; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; export class ObservablePetApi { @@ -26,6 +26,7 @@ export class ObservablePetApi { } /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -49,6 +50,7 @@ export class ObservablePetApi { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -145,6 +147,7 @@ export class ObservablePetApi { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -168,6 +171,7 @@ export class ObservablePetApi { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -193,6 +197,7 @@ export class ObservablePetApi { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server @@ -307,6 +312,7 @@ export class ObservableStoreApi { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ @@ -372,6 +378,7 @@ export class ObservableUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -395,6 +402,7 @@ export class ObservableUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -442,6 +450,7 @@ export class ObservableUserApi { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -465,6 +474,7 @@ export class ObservableUserApi { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -489,6 +499,7 @@ export class ObservableUserApi { } /** + * * Logs out current logged in user session */ public logoutUser(_options?: Configuration): Observable { diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/types/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/types/PromiseAPI.ts index 423866f336c..c86ac4a84f3 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/types/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/types/PromiseAPI.ts @@ -1,12 +1,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { ObservablePetApi } from './ObservableAPI'; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; @@ -22,6 +22,7 @@ export class PromisePetApi { } /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -31,6 +32,7 @@ export class PromisePetApi { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -71,6 +73,7 @@ export class PromisePetApi { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -80,6 +83,7 @@ export class PromisePetApi { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -91,6 +95,7 @@ export class PromisePetApi { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server @@ -150,6 +155,7 @@ export class PromiseStoreApi { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ @@ -188,6 +194,7 @@ export class PromiseUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -197,6 +204,7 @@ export class PromiseUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -216,6 +224,7 @@ export class PromiseUserApi { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -225,6 +234,7 @@ export class PromiseUserApi { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -235,6 +245,7 @@ export class PromiseUserApi { } /** + * * Logs out current logged in user session */ public logoutUser(_options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/.openapi-generator/VERSION b/samples/openapi3/client/petstore/typescript/builds/object_params/.openapi-generator/VERSION index 4b448de535c..d6b4ec4aa78 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/.openapi-generator/VERSION +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/.openapi-generator/VERSION @@ -1 +1 @@ -5.3.0-SNAPSHOT \ No newline at end of file +6.3.0-SNAPSHOT \ No newline at end of file diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/PetApi.md b/samples/openapi3/client/petstore/typescript/builds/object_params/PetApi.md index 2fe727d84fa..2aac946907b 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/PetApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/PetApi.md @@ -18,6 +18,7 @@ Method | HTTP request | Description > Pet addPet(pet) + ### Example @@ -89,6 +90,7 @@ Name | Type | Description | Notes > deletePet() + ### Example @@ -315,6 +317,7 @@ Name | Type | Description | Notes > Pet updatePet(pet) + ### Example @@ -388,6 +391,7 @@ Name | Type | Description | Notes > updatePetWithForm() + ### Example @@ -447,6 +451,7 @@ void (empty response body) > ApiResponse uploadFile() + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/StoreApi.md b/samples/openapi3/client/petstore/typescript/builds/object_params/StoreApi.md index 866f3c6ab97..b7d89db061f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/StoreApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/StoreApi.md @@ -173,6 +173,7 @@ No authorization required > Order placeOrder(order) + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/UserApi.md b/samples/openapi3/client/petstore/typescript/builds/object_params/UserApi.md index 3aa75a41422..c18f5d94896 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/UserApi.md +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/UserApi.md @@ -81,6 +81,7 @@ void (empty response body) > createUsersWithArrayInput(user) + ### Example @@ -145,6 +146,7 @@ void (empty response body) > createUsersWithListInput(user) + ### Example @@ -264,6 +266,7 @@ void (empty response body) > User getUserByName() + ### Example @@ -319,6 +322,7 @@ No authorization required > string loginUser() + ### Example @@ -376,6 +380,7 @@ No authorization required > logoutUser() + ### Example diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/apis/PetApi.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/apis/PetApi.ts index 2d5ee33a5e9..5b3d37fe35a 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/apis/PetApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/apis/PetApi.ts @@ -10,8 +10,8 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { ApiResponse } from '/models/ApiResponse'; -import { Pet } from '/models/Pet'; +import { ApiResponse } from '../models/ApiResponse'; +import { Pet } from '../models/Pet'; /** * no description @@ -19,6 +19,7 @@ import { Pet } from '/models/Pet'; export class PetApiRequestFactory extends BaseAPIRequestFactory { /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -68,6 +69,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -232,6 +234,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -281,6 +284,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -351,6 +355,7 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/apis/StoreApi.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/apis/StoreApi.ts index 7b597dcf926..3bb0a2de754 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/apis/StoreApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/apis/StoreApi.ts @@ -10,7 +10,7 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { Order } from '/models/Order'; +import { Order } from '../models/Order'; /** * no description @@ -112,6 +112,7 @@ export class StoreApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/apis/UserApi.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/apis/UserApi.ts index b44bed69aff..352b499b378 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/apis/UserApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/apis/UserApi.ts @@ -10,7 +10,7 @@ import {canConsumeForm, isCodeInRange} from '../util'; import {SecurityAuthentication} from '../auth/auth'; -import { User } from '/models/User'; +import { User } from '../models/User'; /** * no description @@ -66,6 +66,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -113,6 +114,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -198,6 +200,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -229,6 +232,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -276,6 +280,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { } /** + * * Logs out current logged in user session */ public async logoutUser(_options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/models/ObjectSerializer.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/models/ObjectSerializer.ts index 28b6b13fd3e..a5f5708b12c 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/models/ObjectSerializer.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/models/ObjectSerializer.ts @@ -1,16 +1,16 @@ -export * from '.models.ApiResponse'; -export * from '.models.Category'; -export * from '.models.Order'; -export * from '.models.Pet'; -export * from '.models.Tag'; -export * from '.models.User'; +export * from '../models/ApiResponse'; +export * from '../models/Category'; +export * from '../models/Order'; +export * from '../models/Pet'; +export * from '../models/Tag'; +export * from '../models/User'; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order , OrderStatusEnum } from '.models.Order'; -import { Pet , PetStatusEnum } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order , OrderStatusEnum } from '../models/Order'; +import { Pet , PetStatusEnum } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; /* tslint:disable:no-unused-variable */ let primitives = [ 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 414f1be4944..b3a7ddb9f71 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 @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { Category } from 'Category'; -import { Tag } from 'Tag'; +import { Category } from '../models/Category'; +import { Tag } from '../models/Tag'; import { HttpFile } from '../http/http'; /** diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/models/all.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/models/all.ts index e0118328c0f..d63b43c9674 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/models/all.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/models/all.ts @@ -1,6 +1,6 @@ -export * from '.models.ApiResponse' -export * from '.models.Category' -export * from '.models.Order' -export * from '.models.Pet' -export * from '.models.Tag' -export * from '.models.User' +export * from '../models/ApiResponse' +export * from '../models/Category' +export * from '../models/Order' +export * from '../models/Pet' +export * from '../models/Tag' +export * from '../models/User' diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObjectParamAPI.ts index 22e5983c7f2..41dfaebdde1 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObjectParamAPI.ts @@ -1,12 +1,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { ObservablePetApi } from "./ObservableAPI"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; @@ -121,6 +121,7 @@ export class ObjectPetApi { } /** + * * Add a new pet to the store * @param param the request object */ @@ -129,6 +130,7 @@ export class ObjectPetApi { } /** + * * Deletes a pet * @param param the request object */ @@ -164,6 +166,7 @@ export class ObjectPetApi { } /** + * * Update an existing pet * @param param the request object */ @@ -172,6 +175,7 @@ export class ObjectPetApi { } /** + * * Updates a pet in the store with form data * @param param the request object */ @@ -180,6 +184,7 @@ export class ObjectPetApi { } /** + * * uploads an image * @param param the request object */ @@ -257,6 +262,7 @@ export class ObjectStoreApi { } /** + * * Place an order for a pet * @param param the request object */ @@ -364,6 +370,7 @@ export class ObjectUserApi { } /** + * * Creates list of users with given input array * @param param the request object */ @@ -372,6 +379,7 @@ export class ObjectUserApi { } /** + * * Creates list of users with given input array * @param param the request object */ @@ -389,6 +397,7 @@ export class ObjectUserApi { } /** + * * Get user by user name * @param param the request object */ @@ -397,6 +406,7 @@ export class ObjectUserApi { } /** + * * Logs user into the system * @param param the request object */ @@ -405,6 +415,7 @@ export class ObjectUserApi { } /** + * * Logs out current logged in user session * @param param the request object */ diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObservableAPI.ts index 5187367bc6c..5e9397ea69f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObservableAPI.ts @@ -2,12 +2,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' import { Observable, of, from } from '../rxjsStub'; import {mergeMap, map} from '../rxjsStub'; -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; export class ObservablePetApi { @@ -26,6 +26,7 @@ export class ObservablePetApi { } /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -49,6 +50,7 @@ export class ObservablePetApi { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -145,6 +147,7 @@ export class ObservablePetApi { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -168,6 +171,7 @@ export class ObservablePetApi { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -193,6 +197,7 @@ export class ObservablePetApi { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server @@ -307,6 +312,7 @@ export class ObservableStoreApi { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ @@ -372,6 +378,7 @@ export class ObservableUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -395,6 +402,7 @@ export class ObservableUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -442,6 +450,7 @@ export class ObservableUserApi { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -465,6 +474,7 @@ export class ObservableUserApi { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -489,6 +499,7 @@ export class ObservableUserApi { } /** + * * Logs out current logged in user session */ public logoutUser(_options?: Configuration): Observable { diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/types/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/types/PromiseAPI.ts index 423866f336c..c86ac4a84f3 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/types/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/types/PromiseAPI.ts @@ -1,12 +1,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { Configuration} from '../configuration' -import { ApiResponse } from '.models.ApiResponse'; -import { Category } from '.models.Category'; -import { Order } from '.models.Order'; -import { Pet } from '.models.Pet'; -import { Tag } from '.models.Tag'; -import { User } from '.models.User'; +import { ApiResponse } from '../models/ApiResponse'; +import { Category } from '../models/Category'; +import { Order } from '../models/Order'; +import { Pet } from '../models/Pet'; +import { Tag } from '../models/Tag'; +import { User } from '../models/User'; import { ObservablePetApi } from './ObservableAPI'; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; @@ -22,6 +22,7 @@ export class PromisePetApi { } /** + * * Add a new pet to the store * @param pet Pet object that needs to be added to the store */ @@ -31,6 +32,7 @@ export class PromisePetApi { } /** + * * Deletes a pet * @param petId Pet id to delete * @param apiKey @@ -71,6 +73,7 @@ export class PromisePetApi { } /** + * * Update an existing pet * @param pet Pet object that needs to be added to the store */ @@ -80,6 +83,7 @@ export class PromisePetApi { } /** + * * Updates a pet in the store with form data * @param petId ID of pet that needs to be updated * @param name Updated name of the pet @@ -91,6 +95,7 @@ export class PromisePetApi { } /** + * * uploads an image * @param petId ID of pet to update * @param additionalMetadata Additional data to pass to server @@ -150,6 +155,7 @@ export class PromiseStoreApi { } /** + * * Place an order for a pet * @param order order placed for purchasing the pet */ @@ -188,6 +194,7 @@ export class PromiseUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -197,6 +204,7 @@ export class PromiseUserApi { } /** + * * Creates list of users with given input array * @param user List of user object */ @@ -216,6 +224,7 @@ export class PromiseUserApi { } /** + * * Get user by user name * @param username The name that needs to be fetched. Use user1 for testing. */ @@ -225,6 +234,7 @@ export class PromiseUserApi { } /** + * * Logs user into the system * @param username The user name for login * @param password The password for login in clear text @@ -235,6 +245,7 @@ export class PromiseUserApi { } /** + * * Logs out current logged in user session */ public logoutUser(_options?: Configuration): Promise {