Regenerated samples

This commit is contained in:
Tino Fuhrmann 2023-01-10 12:58:23 +01:00
parent be67222c69
commit 02631143f2
122 changed files with 612 additions and 832 deletions

View File

@ -1 +1 @@
6.3.0-SNAPSHOT 5.3.0-SNAPSHOT

View File

@ -16,7 +16,7 @@ First build the package then run ```npm publish```
### Consuming ### Consuming
navigate to the folder of your consuming project and run one of the following commands. Navigate to the folder of your consuming project and run one of the following commands.
_published:_ _published:_
@ -28,3 +28,52 @@ _unPublished (not recommended):_
``` ```
npm install PATH_TO_GENERATED_PACKAGE --save npm install PATH_TO_GENERATED_PACKAGE --save
### Usage
Below code snippet shows exemplary usage of the configuration and the API based
on the typical `PetStore` example used for OpenAPI.
```
import * as your_api from 'your_api_package'
// Covers all auth methods included in your OpenAPI yaml definition
const authConfig: your_api.AuthMethodsConfiguration = {
"api_key": "YOUR_API_KEY"
}
// Implements a simple middleware to modify requests before (`pre`) they are sent
// and after (`post`) they have been received
class Test implements your_api.Middleware {
pre(context: your_api.RequestContext): Promise<your_api.RequestContext> {
// Modify context here and return
return Promise.resolve(context);
}
post(context: your_api.ResponseContext): Promise<your_api.ResponseContext> {
return Promise.resolve(context);
}
}
// Create configuration parameter object
const configurationParameters = {
httpApi: new your_api.JQueryHttpLibrary(), // Can also be ignored - default is usually fine
baseServer: your_api.servers[0], // First server is default
authMethods: authConfig, // No auth is default
promiseMiddleware: [new Test()],
}
// Convert to actual configuration
const config = your_api.createConfiguration(configurationParameters);
// Use configuration with your_api
const api = new your_api.PetApi(config);
your_api.Pet p = new your_api.Pet();
p.name = "My new pet";
p.photoUrls = [];
p.tags = [];
p.status = "available";
Promise<your_api.Pet> createdPet = api.addPet(p);
```

View File

@ -8,7 +8,7 @@ import {canConsumeForm, isCodeInRange} from '../util';
import {SecurityAuthentication} from '../auth/auth'; import {SecurityAuthentication} from '../auth/auth';
import { Response } from '../models/Response'; import { Response } from '/models/Response';
/** /**
* no description * no description

View File

@ -17,29 +17,45 @@ export interface Configuration {
*/ */
export interface ConfigurationParameters { export interface ConfigurationParameters {
/** /**
* Default server to use * Default server to use - a list of available servers (according to the
* OpenAPI yaml definition) is included in the `servers` const in `./servers`. You can also
* create your own server with the `ServerConfiguration` class from the same
* file.
*/ */
baseServer?: BaseServerConfiguration; baseServer?: BaseServerConfiguration;
/** /**
* HTTP library to use e.g. IsomorphicFetch * HTTP library to use e.g. IsomorphicFetch. This can usually be skipped as
* all generators come with a default library.
* If available, additional libraries can be imported from `./http/*`
*/ */
httpApi?: HttpLibrary; httpApi?: HttpLibrary;
/** /**
* The middlewares which will be applied to requests and responses * The middlewares which will be applied to requests and responses. You can
* add any number of middleware components to modify requests before they
* are sent or before they are deserialized by implementing the `Middleware`
* interface defined in `./middleware`
*/ */
middleware?: Middleware[]; middleware?: Middleware[];
/** /**
* Configures all middlewares using the promise api instead of observables (which Middleware uses) * Configures middleware functions that return promises instead of
* Observables (which are used by `middleware`). Otherwise allows for the
* same functionality as `middleware`, i.e., modifying requests before they
* are sent and before they are deserialized.
*/ */
promiseMiddleware?: PromiseMiddleware[]; promiseMiddleware?: PromiseMiddleware[];
/** /**
* Configuration for the available authentication methods * Configuration for the available authentication methods (e.g., api keys)
* according to the OpenAPI yaml definition. For the definition, please refer to
* `./auth/auth`
*/ */
authMethods?: AuthMethodsConfiguration authMethods?: AuthMethodsConfiguration
} }
/** /**
* Configuration factory function * Provide your `ConfigurationParameters` to this function to get a `Configuration`
* object that can be used to configure your APIs (in the constructor or
* for each request individually).
* *
* If a property is not included in conf, a default is used: * If a property is not included in conf, a default is used:
* - baseServer: server1 * - baseServer: server1

View File

@ -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 */ /* tslint:disable:no-unused-variable */
let primitives = [ let primitives = [

View File

@ -10,6 +10,7 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { Set } from 'Set';
import { HttpFile } from '../http/http'; import { HttpFile } from '../http/http';
export class Response { export class Response {

View File

@ -1 +1 @@
export * from '../models/Response' export * from '.models.Response'

View File

@ -14,9 +14,11 @@ export class ServerConfiguration<T extends { [key: string]: string }> implements
public constructor(private url: string, private variableConfiguration: T) {} public constructor(private url: string, private variableConfiguration: T) {}
/** /**
* Sets the value of the variables of this server. * Sets the value of the variables of this server. Variables are included in
* the `url` of this ServerConfiguration in the form `{variableName}`
* *
* @param variableConfiguration a partial variable configuration for the variables contained in the url * @param variableConfiguration a partial variable configuration for the
* variables contained in the url
*/ */
public setVariables(variableConfiguration: Partial<T>) { public setVariables(variableConfiguration: Partial<T>) {
Object.assign(this.variableConfiguration, variableConfiguration); Object.assign(this.variableConfiguration, variableConfiguration);

View File

@ -1,7 +1,7 @@
import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { Response } from '../models/Response'; import { Response } from '.models.Response';
import { ObservableDefaultApi } from "./ObservableAPI"; import { ObservableDefaultApi } from "./ObservableAPI";
import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi"; import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi";

View File

@ -2,7 +2,7 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { Observable, of, from } from '../rxjsStub'; import { Observable, of, from } from '../rxjsStub';
import {mergeMap, map} from '../rxjsStub'; import {mergeMap, map} from '../rxjsStub';
import { Response } from '../models/Response'; import { Response } from '.models.Response';
import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi"; import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi";
export class ObservableDefaultApi { export class ObservableDefaultApi {

View File

@ -1,7 +1,7 @@
import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { Response } from '../models/Response'; import { Response } from '.models.Response';
import { ObservableDefaultApi } from './ObservableAPI'; import { ObservableDefaultApi } from './ObservableAPI';
import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi"; import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi";

View File

@ -18,7 +18,6 @@ Method | HTTP request | Description
> Pet addPet(pet) > Pet addPet(pet)
### Example ### Example
@ -90,7 +89,6 @@ Name | Type | Description | Notes
> deletePet() > deletePet()
### Example ### Example
@ -317,7 +315,6 @@ Name | Type | Description | Notes
> Pet updatePet(pet) > Pet updatePet(pet)
### Example ### Example
@ -391,7 +388,6 @@ Name | Type | Description | Notes
> updatePetWithForm() > updatePetWithForm()
### Example ### Example
@ -451,7 +447,6 @@ void (empty response body)
> ApiResponse uploadFile() > ApiResponse uploadFile()
### Example ### Example

View File

@ -16,7 +16,7 @@ First build the package then run ```npm publish```
### Consuming ### Consuming
navigate to the folder of your consuming project and run one of the following commands. Navigate to the folder of your consuming project and run one of the following commands.
_published:_ _published:_
@ -28,3 +28,52 @@ _unPublished (not recommended):_
``` ```
npm install PATH_TO_GENERATED_PACKAGE --save npm install PATH_TO_GENERATED_PACKAGE --save
### Usage
Below code snippet shows exemplary usage of the configuration and the API based
on the typical `PetStore` example used for OpenAPI.
```
import * as your_api from 'your_api_package'
// Covers all auth methods included in your OpenAPI yaml definition
const authConfig: your_api.AuthMethodsConfiguration = {
"api_key": "YOUR_API_KEY"
}
// Implements a simple middleware to modify requests before (`pre`) they are sent
// and after (`post`) they have been received
class Test implements your_api.Middleware {
pre(context: your_api.RequestContext): Promise<your_api.RequestContext> {
// Modify context here and return
return Promise.resolve(context);
}
post(context: your_api.ResponseContext): Promise<your_api.ResponseContext> {
return Promise.resolve(context);
}
}
// Create configuration parameter object
const configurationParameters = {
httpApi: new your_api.JQueryHttpLibrary(), // Can also be ignored - default is usually fine
baseServer: your_api.servers[0], // First server is default
authMethods: authConfig, // No auth is default
promiseMiddleware: [new Test()],
}
// Convert to actual configuration
const config = your_api.createConfiguration(configurationParameters);
// Use configuration with your_api
const api = new your_api.PetApi(config);
your_api.Pet p = new your_api.Pet();
p.name = "My new pet";
p.photoUrls = [];
p.tags = [];
p.status = "available";
Promise<your_api.Pet> createdPet = api.addPet(p);
```

View File

@ -173,7 +173,6 @@ No authorization required
> Order placeOrder(order) > Order placeOrder(order)
### Example ### Example

View File

@ -81,7 +81,6 @@ void (empty response body)
> createUsersWithArrayInput(user) > createUsersWithArrayInput(user)
### Example ### Example
@ -146,7 +145,6 @@ void (empty response body)
> createUsersWithListInput(user) > createUsersWithListInput(user)
### Example ### Example
@ -266,7 +264,6 @@ void (empty response body)
> User getUserByName() > User getUserByName()
### Example ### Example
@ -322,7 +319,6 @@ No authorization required
> string loginUser() > string loginUser()
### Example ### Example
@ -380,7 +376,6 @@ No authorization required
> logoutUser() > logoutUser()
### Example ### Example

View File

@ -8,8 +8,8 @@ import {canConsumeForm, isCodeInRange} from '../util';
import {SecurityAuthentication} from '../auth/auth'; import {SecurityAuthentication} from '../auth/auth';
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '/models/ApiResponse';
import { Pet } from '../models/Pet'; import { Pet } from '/models/Pet';
/** /**
* no description * no description
@ -17,7 +17,6 @@ import { Pet } from '../models/Pet';
export class PetApiRequestFactory extends BaseAPIRequestFactory { export class PetApiRequestFactory extends BaseAPIRequestFactory {
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -67,7 +66,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param petId Pet id to delete * @param petId Pet id to delete
* @param apiKey * @param apiKey
@ -232,7 +230,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -282,7 +279,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param petId ID of pet that needs to be updated * @param petId ID of pet that needs to be updated
* @param name Updated name of the pet * @param name Updated name of the pet
@ -353,7 +349,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* uploads an image * uploads an image
* @param petId ID of pet to update * @param petId ID of pet to update
* @param additionalMetadata Additional data to pass to server * @param additionalMetadata Additional data to pass to server

View File

@ -8,7 +8,7 @@ import {canConsumeForm, isCodeInRange} from '../util';
import {SecurityAuthentication} from '../auth/auth'; import {SecurityAuthentication} from '../auth/auth';
import { Order } from '../models/Order'; import { Order } from '/models/Order';
/** /**
* no description * no description
@ -110,7 +110,6 @@ export class StoreApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param order order placed for purchasing the pet * @param order order placed for purchasing the pet
*/ */

View File

@ -8,7 +8,7 @@ import {canConsumeForm, isCodeInRange} from '../util';
import {SecurityAuthentication} from '../auth/auth'; import {SecurityAuthentication} from '../auth/auth';
import { User } from '../models/User'; import { User } from '/models/User';
/** /**
* no description * no description
@ -64,7 +64,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -112,7 +111,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -198,7 +196,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing. * @param username The name that needs to be fetched. Use user1 for testing.
*/ */
@ -230,7 +227,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param username The user name for login * @param username The user name for login
* @param password The password for login in clear text * @param password The password for login in clear text
@ -278,7 +274,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
*/ */
public async logoutUser(_options?: Configuration): Promise<RequestContext> { public async logoutUser(_options?: Configuration): Promise<RequestContext> {

View File

@ -17,29 +17,45 @@ export interface Configuration {
*/ */
export interface ConfigurationParameters { export interface ConfigurationParameters {
/** /**
* Default server to use * Default server to use - a list of available servers (according to the
* OpenAPI yaml definition) is included in the `servers` const in `./servers`. You can also
* create your own server with the `ServerConfiguration` class from the same
* file.
*/ */
baseServer?: BaseServerConfiguration; baseServer?: BaseServerConfiguration;
/** /**
* HTTP library to use e.g. IsomorphicFetch * HTTP library to use e.g. IsomorphicFetch. This can usually be skipped as
* all generators come with a default library.
* If available, additional libraries can be imported from `./http/*`
*/ */
httpApi?: HttpLibrary; httpApi?: HttpLibrary;
/** /**
* The middlewares which will be applied to requests and responses * The middlewares which will be applied to requests and responses. You can
* add any number of middleware components to modify requests before they
* are sent or before they are deserialized by implementing the `Middleware`
* interface defined in `./middleware`
*/ */
middleware?: Middleware[]; middleware?: Middleware[];
/** /**
* Configures all middlewares using the promise api instead of observables (which Middleware uses) * Configures middleware functions that return promises instead of
* Observables (which are used by `middleware`). Otherwise allows for the
* same functionality as `middleware`, i.e., modifying requests before they
* are sent and before they are deserialized.
*/ */
promiseMiddleware?: PromiseMiddleware[]; promiseMiddleware?: PromiseMiddleware[];
/** /**
* Configuration for the available authentication methods * Configuration for the available authentication methods (e.g., api keys)
* according to the OpenAPI yaml definition. For the definition, please refer to
* `./auth/auth`
*/ */
authMethods?: AuthMethodsConfiguration authMethods?: AuthMethodsConfiguration
} }
/** /**
* Configuration factory function * Provide your `ConfigurationParameters` to this function to get a `Configuration`
* object that can be used to configure your APIs (in the constructor or
* for each request individually).
* *
* If a property is not included in conf, a default is used: * If a property is not included in conf, a default is used:
* - baseServer: server1 * - baseServer: server1

View File

@ -1,16 +1,16 @@
export * from '../models/ApiResponse'; export * from '.models.ApiResponse';
export * from '../models/Category'; export * from '.models.Category';
export * from '../models/Order'; export * from '.models.Order';
export * from '../models/Pet'; export * from '.models.Pet';
export * from '../models/Tag'; export * from '.models.Tag';
export * from '../models/User'; export * from '.models.User';
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category'; import { Category } from '.models.Category';
import { Order , OrderStatusEnum } from '../models/Order'; import { Order , OrderStatusEnum } from '.models.Order';
import { Pet , PetStatusEnum } from '../models/Pet'; import { Pet , PetStatusEnum } from '.models.Pet';
import { Tag } from '../models/Tag'; import { Tag } from '.models.Tag';
import { User } from '../models/User'; import { User } from '.models.User';
/* tslint:disable:no-unused-variable */ /* tslint:disable:no-unused-variable */
let primitives = [ let primitives = [

View File

@ -10,8 +10,8 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { Category } from '../models/Category'; import { Category } from 'Category';
import { Tag } from '../models/Tag'; import { Tag } from 'Tag';
import { HttpFile } from '../http/http'; import { HttpFile } from '../http/http';
/** /**

View File

@ -1,6 +1,6 @@
export * from '../models/ApiResponse' export * from '.models.ApiResponse'
export * from '../models/Category' export * from '.models.Category'
export * from '../models/Order' export * from '.models.Order'
export * from '../models/Pet' export * from '.models.Pet'
export * from '../models/Tag' export * from '.models.Tag'
export * from '../models/User' export * from '.models.User'

View File

@ -14,9 +14,11 @@ export class ServerConfiguration<T extends { [key: string]: string }> implements
public constructor(private url: string, private variableConfiguration: T) {} public constructor(private url: string, private variableConfiguration: T) {}
/** /**
* Sets the value of the variables of this server. * Sets the value of the variables of this server. Variables are included in
* the `url` of this ServerConfiguration in the form `{variableName}`
* *
* @param variableConfiguration a partial variable configuration for the variables contained in the url * @param variableConfiguration a partial variable configuration for the
* variables contained in the url
*/ */
public setVariables(variableConfiguration: Partial<T>) { public setVariables(variableConfiguration: Partial<T>) {
Object.assign(this.variableConfiguration, variableConfiguration); Object.assign(this.variableConfiguration, variableConfiguration);

View File

@ -1,12 +1,12 @@
import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category'; import { Category } from '.models.Category';
import { Order } from '../models/Order'; import { Order } from '.models.Order';
import { Pet } from '../models/Pet'; import { Pet } from '.models.Pet';
import { Tag } from '../models/Tag'; import { Tag } from '.models.Tag';
import { User } from '../models/User'; import { User } from '.models.User';
import { ObservablePetApi } from "./ObservableAPI"; import { ObservablePetApi } from "./ObservableAPI";
import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi";
@ -121,7 +121,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param param the request object * @param param the request object
*/ */
@ -130,7 +129,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param param the request object * @param param the request object
*/ */
@ -166,7 +164,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param param the request object * @param param the request object
*/ */
@ -175,7 +172,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param param the request object * @param param the request object
*/ */
@ -184,7 +180,6 @@ export class ObjectPetApi {
} }
/** /**
*
* uploads an image * uploads an image
* @param param the request object * @param param the request object
*/ */
@ -262,7 +257,6 @@ export class ObjectStoreApi {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param param the request object * @param param the request object
*/ */
@ -370,7 +364,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param param the request object * @param param the request object
*/ */
@ -379,7 +372,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param param the request object * @param param the request object
*/ */
@ -397,7 +389,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param param the request object * @param param the request object
*/ */
@ -406,7 +397,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param param the request object * @param param the request object
*/ */
@ -415,7 +405,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
* @param param the request object * @param param the request object
*/ */

View File

@ -2,12 +2,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { Observable, of, from } from '../rxjsStub'; import { Observable, of, from } from '../rxjsStub';
import {mergeMap, map} from '../rxjsStub'; import {mergeMap, map} from '../rxjsStub';
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category'; import { Category } from '.models.Category';
import { Order } from '../models/Order'; import { Order } from '.models.Order';
import { Pet } from '../models/Pet'; import { Pet } from '.models.Pet';
import { Tag } from '../models/Tag'; import { Tag } from '.models.Tag';
import { User } from '../models/User'; import { User } from '.models.User';
import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi";
export class ObservablePetApi { export class ObservablePetApi {
@ -26,7 +26,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -50,7 +49,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param petId Pet id to delete * @param petId Pet id to delete
* @param apiKey * @param apiKey
@ -147,7 +145,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -171,7 +168,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param petId ID of pet that needs to be updated * @param petId ID of pet that needs to be updated
* @param name Updated name of the pet * @param name Updated name of the pet
@ -197,7 +193,6 @@ export class ObservablePetApi {
} }
/** /**
*
* uploads an image * uploads an image
* @param petId ID of pet to update * @param petId ID of pet to update
* @param additionalMetadata Additional data to pass to server * @param additionalMetadata Additional data to pass to server
@ -312,7 +307,6 @@ export class ObservableStoreApi {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param order order placed for purchasing the pet * @param order order placed for purchasing the pet
*/ */
@ -378,7 +372,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -402,7 +395,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -450,7 +442,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing. * @param username The name that needs to be fetched. Use user1 for testing.
*/ */
@ -474,7 +465,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param username The user name for login * @param username The user name for login
* @param password The password for login in clear text * @param password The password for login in clear text
@ -499,7 +489,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
*/ */
public logoutUser(_options?: Configuration): Observable<void> { public logoutUser(_options?: Configuration): Observable<void> {

View File

@ -1,12 +1,12 @@
import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category'; import { Category } from '.models.Category';
import { Order } from '../models/Order'; import { Order } from '.models.Order';
import { Pet } from '../models/Pet'; import { Pet } from '.models.Pet';
import { Tag } from '../models/Tag'; import { Tag } from '.models.Tag';
import { User } from '../models/User'; import { User } from '.models.User';
import { ObservablePetApi } from './ObservableAPI'; import { ObservablePetApi } from './ObservableAPI';
import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi";
@ -22,7 +22,6 @@ export class PromisePetApi {
} }
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -32,7 +31,6 @@ export class PromisePetApi {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param petId Pet id to delete * @param petId Pet id to delete
* @param apiKey * @param apiKey
@ -73,7 +71,6 @@ export class PromisePetApi {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -83,7 +80,6 @@ export class PromisePetApi {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param petId ID of pet that needs to be updated * @param petId ID of pet that needs to be updated
* @param name Updated name of the pet * @param name Updated name of the pet
@ -95,7 +91,6 @@ export class PromisePetApi {
} }
/** /**
*
* uploads an image * uploads an image
* @param petId ID of pet to update * @param petId ID of pet to update
* @param additionalMetadata Additional data to pass to server * @param additionalMetadata Additional data to pass to server
@ -155,7 +150,6 @@ export class PromiseStoreApi {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param order order placed for purchasing the pet * @param order order placed for purchasing the pet
*/ */
@ -194,7 +188,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -204,7 +197,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -224,7 +216,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing. * @param username The name that needs to be fetched. Use user1 for testing.
*/ */
@ -234,7 +225,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param username The user name for login * @param username The user name for login
* @param password The password for login in clear text * @param password The password for login in clear text
@ -245,7 +235,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
*/ */
public logoutUser(_options?: Configuration): Promise<void> { public logoutUser(_options?: Configuration): Promise<void> {

View File

@ -15,12 +15,10 @@ models/Cat.ts
models/CatAllOf.ts models/CatAllOf.ts
models/Dog.ts models/Dog.ts
models/DogAllOf.ts models/DogAllOf.ts
models/FilePostRequest.ts models/InlineObject.ts
models/ObjectSerializer.ts models/ObjectSerializer.ts
models/PetByAge.ts models/PetByAge.ts
models/PetByType.ts models/PetByType.ts
models/PetsFilteredPatchRequest.ts
models/PetsPatchRequest.ts
models/all.ts models/all.ts
package.json package.json
rxjsStub.ts rxjsStub.ts

View File

@ -24,9 +24,9 @@ const configuration = .createConfiguration();
const apiInstance = new .DefaultApi(configuration); const apiInstance = new .DefaultApi(configuration);
let body:.DefaultApiFilePostRequest = { let body:.DefaultApiFilePostRequest = {
// FilePostRequest (optional) // InlineObject (optional)
filePostRequest: { inlineObject: {
file: null, file: ,
}, },
}; };
@ -40,7 +40,7 @@ apiInstance.filePost(body).then((data:any) => {
Name | Type | Description | Notes Name | Type | Description | Notes
------------- | ------------- | ------------- | ------------- ------------- | ------------- | ------------- | -------------
**filePostRequest** | **FilePostRequest**| | **inlineObject** | **InlineObject**| |
### Return type ### Return type
@ -79,8 +79,8 @@ const configuration = .createConfiguration();
const apiInstance = new .DefaultApi(configuration); const apiInstance = new .DefaultApi(configuration);
let body:.DefaultApiPetsFilteredPatchRequest = { let body:.DefaultApiPetsFilteredPatchRequest = {
// PetsFilteredPatchRequest (optional) // PetByAge | PetByType (optional)
petsFilteredPatchRequest: null, petByAgePetByType: ,
}; };
apiInstance.petsFilteredPatch(body).then((data:any) => { apiInstance.petsFilteredPatch(body).then((data:any) => {
@ -93,7 +93,7 @@ apiInstance.petsFilteredPatch(body).then((data:any) => {
Name | Type | Description | Notes Name | Type | Description | Notes
------------- | ------------- | ------------- | ------------- ------------- | ------------- | ------------- | -------------
**petsFilteredPatchRequest** | **PetsFilteredPatchRequest**| | **petByAgePetByType** | **PetByAge | PetByType**| |
### Return type ### Return type
@ -132,8 +132,8 @@ const configuration = .createConfiguration();
const apiInstance = new .DefaultApi(configuration); const apiInstance = new .DefaultApi(configuration);
let body:.DefaultApiPetsPatchRequest = { let body:.DefaultApiPetsPatchRequest = {
// PetsPatchRequest (optional) // Cat | Dog (optional)
petsPatchRequest: null, catDog: ,
}; };
apiInstance.petsPatch(body).then((data:any) => { apiInstance.petsPatch(body).then((data:any) => {
@ -146,7 +146,7 @@ apiInstance.petsPatch(body).then((data:any) => {
Name | Type | Description | Notes Name | Type | Description | Notes
------------- | ------------- | ------------- | ------------- ------------- | ------------- | ------------- | -------------
**petsPatchRequest** | **PetsPatchRequest**| | **catDog** | **Cat | Dog**| |
### Return type ### Return type

View File

@ -8,9 +8,11 @@ import {canConsumeForm, isCodeInRange} from '../util';
import {SecurityAuthentication} from '../auth/auth'; import {SecurityAuthentication} from '../auth/auth';
import { FilePostRequest } from '../models/FilePostRequest'; import { Cat } from '/models/Cat';
import { PetsFilteredPatchRequest } from '../models/PetsFilteredPatchRequest'; import { Dog } from '/models/Dog';
import { PetsPatchRequest } from '../models/PetsPatchRequest'; import { InlineObject } from '/models/InlineObject';
import { PetByAge } from '/models/PetByAge';
import { PetByType } from '/models/PetByType';
/** /**
* no description * no description
@ -18,9 +20,9 @@ import { PetsPatchRequest } from '../models/PetsPatchRequest';
export class DefaultApiRequestFactory extends BaseAPIRequestFactory { export class DefaultApiRequestFactory extends BaseAPIRequestFactory {
/** /**
* @param filePostRequest * @param inlineObject
*/ */
public async filePost(filePostRequest?: FilePostRequest, _options?: Configuration): Promise<RequestContext> { public async filePost(inlineObject?: InlineObject, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration; let _config = _options || this.configuration;
@ -38,7 +40,7 @@ export class DefaultApiRequestFactory extends BaseAPIRequestFactory {
]); ]);
requestContext.setHeaderParam("Content-Type", contentType); requestContext.setHeaderParam("Content-Type", contentType);
const serializedBody = ObjectSerializer.stringify( const serializedBody = ObjectSerializer.stringify(
ObjectSerializer.serialize(filePostRequest, "FilePostRequest", ""), ObjectSerializer.serialize(inlineObject, "InlineObject", ""),
contentType contentType
); );
requestContext.setBody(serializedBody); requestContext.setBody(serializedBody);
@ -53,9 +55,9 @@ export class DefaultApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
* @param petsFilteredPatchRequest * @param petByAgePetByType
*/ */
public async petsFilteredPatch(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Promise<RequestContext> { public async petsFilteredPatch(petByAgePetByType?: PetByAge | PetByType, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration; let _config = _options || this.configuration;
@ -73,7 +75,7 @@ export class DefaultApiRequestFactory extends BaseAPIRequestFactory {
]); ]);
requestContext.setHeaderParam("Content-Type", contentType); requestContext.setHeaderParam("Content-Type", contentType);
const serializedBody = ObjectSerializer.stringify( const serializedBody = ObjectSerializer.stringify(
ObjectSerializer.serialize(petsFilteredPatchRequest, "PetsFilteredPatchRequest", ""), ObjectSerializer.serialize(petByAgePetByType, "PetByAge | PetByType", ""),
contentType contentType
); );
requestContext.setBody(serializedBody); requestContext.setBody(serializedBody);
@ -88,9 +90,9 @@ export class DefaultApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
* @param petsPatchRequest * @param catDog
*/ */
public async petsPatch(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Promise<RequestContext> { public async petsPatch(catDog?: Cat | Dog, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration; let _config = _options || this.configuration;
@ -108,7 +110,7 @@ export class DefaultApiRequestFactory extends BaseAPIRequestFactory {
]); ]);
requestContext.setHeaderParam("Content-Type", contentType); requestContext.setHeaderParam("Content-Type", contentType);
const serializedBody = ObjectSerializer.stringify( const serializedBody = ObjectSerializer.stringify(
ObjectSerializer.serialize(petsPatchRequest, "PetsPatchRequest", ""), ObjectSerializer.serialize(catDog, "Cat | Dog", ""),
contentType contentType
); );
requestContext.setBody(serializedBody); requestContext.setBody(serializedBody);

View File

@ -10,6 +10,7 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { CatAllOf } from 'CatAllOf';
import { HttpFile } from '../http/http'; import { HttpFile } from '../http/http';
export class Cat { export class Cat {

View File

@ -10,6 +10,7 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { DogAllOf } from 'DogAllOf';
import { HttpFile } from '../http/http'; import { HttpFile } from '../http/http';
export class Dog { export class Dog {

View File

@ -1,22 +1,18 @@
export * from '../models/Cat'; export * from '.models.Cat';
export * from '../models/CatAllOf'; export * from '.models.CatAllOf';
export * from '../models/Dog'; export * from '.models.Dog';
export * from '../models/DogAllOf'; export * from '.models.DogAllOf';
export * from '../models/FilePostRequest'; export * from '.models.InlineObject';
export * from '../models/PetByAge'; export * from '.models.PetByAge';
export * from '../models/PetByType'; export * from '.models.PetByType';
export * from '../models/PetsFilteredPatchRequest';
export * from '../models/PetsPatchRequest';
import { Cat } from '../models/Cat'; import { Cat } from '.models.Cat';
import { CatAllOf } from '../models/CatAllOf'; import { CatAllOf } from '.models.CatAllOf';
import { Dog , DogBreedEnum } from '../models/Dog'; import { Dog , DogBreedEnum } from '.models.Dog';
import { DogAllOf , DogAllOfBreedEnum } from '../models/DogAllOf'; import { DogAllOf , DogAllOfBreedEnum } from '.models.DogAllOf';
import { FilePostRequest } from '../models/FilePostRequest'; import { InlineObject } from '.models.InlineObject';
import { PetByAge } from '../models/PetByAge'; import { PetByAge } from '.models.PetByAge';
import { PetByType, PetByTypePetTypeEnum } from '../models/PetByType'; import { PetByType, PetByTypePetTypeEnum } from '.models.PetByType';
import { PetsFilteredPatchRequest , PetsFilteredPatchRequestPetTypeEnum } from '../models/PetsFilteredPatchRequest';
import { PetsPatchRequest , PetsPatchRequestBreedEnum } from '../models/PetsPatchRequest';
/* tslint:disable:no-unused-variable */ /* tslint:disable:no-unused-variable */
let primitives = [ let primitives = [
@ -41,8 +37,6 @@ let enumsMap: Set<string> = new Set<string>([
"DogBreedEnum", "DogBreedEnum",
"DogAllOfBreedEnum", "DogAllOfBreedEnum",
"PetByTypePetTypeEnum", "PetByTypePetTypeEnum",
"PetsFilteredPatchRequestPetTypeEnum",
"PetsPatchRequestBreedEnum",
]); ]);
let typeMap: {[index: string]: any} = { let typeMap: {[index: string]: any} = {
@ -50,11 +44,9 @@ let typeMap: {[index: string]: any} = {
"CatAllOf": CatAllOf, "CatAllOf": CatAllOf,
"Dog": Dog, "Dog": Dog,
"DogAllOf": DogAllOf, "DogAllOf": DogAllOf,
"FilePostRequest": FilePostRequest, "InlineObject": InlineObject,
"PetByAge": PetByAge, "PetByAge": PetByAge,
"PetByType": PetByType, "PetByType": PetByType,
"PetsFilteredPatchRequest": PetsFilteredPatchRequest,
"PetsPatchRequest": PetsPatchRequest,
} }
export class ObjectSerializer { export class ObjectSerializer {

View File

@ -1,9 +1,7 @@
export * from '../models/Cat' export * from '.models.Cat'
export * from '../models/CatAllOf' export * from '.models.CatAllOf'
export * from '../models/Dog' export * from '.models.Dog'
export * from '../models/DogAllOf' export * from '.models.DogAllOf'
export * from '../models/FilePostRequest' export * from '.models.InlineObject'
export * from '../models/PetByAge' export * from '.models.PetByAge'
export * from '../models/PetByType' export * from '.models.PetByType'
export * from '../models/PetsFilteredPatchRequest'
export * from '../models/PetsPatchRequest'

View File

@ -1,15 +1,13 @@
import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { Cat } from '../models/Cat'; import { Cat } from '.models.Cat';
import { CatAllOf } from '../models/CatAllOf'; import { CatAllOf } from '.models.CatAllOf';
import { Dog } from '../models/Dog'; import { Dog } from '.models.Dog';
import { DogAllOf } from '../models/DogAllOf'; import { DogAllOf } from '.models.DogAllOf';
import { FilePostRequest } from '../models/FilePostRequest'; import { InlineObject } from '.models.InlineObject';
import { PetByAge } from '../models/PetByAge'; import { PetByAge } from '.models.PetByAge';
import { PetByType } from '../models/PetByType'; import { PetByType } from '.models.PetByType';
import { PetsFilteredPatchRequest } from '../models/PetsFilteredPatchRequest';
import { PetsPatchRequest } from '../models/PetsPatchRequest';
import { ObservableDefaultApi } from "./ObservableAPI"; import { ObservableDefaultApi } from "./ObservableAPI";
import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi"; import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi";
@ -17,28 +15,28 @@ import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/De
export interface DefaultApiFilePostRequest { export interface DefaultApiFilePostRequest {
/** /**
* *
* @type FilePostRequest * @type InlineObject
* @memberof DefaultApifilePost * @memberof DefaultApifilePost
*/ */
filePostRequest?: FilePostRequest inlineObject?: InlineObject
} }
export interface DefaultApiPetsFilteredPatchRequest { export interface DefaultApiPetsFilteredPatchRequest {
/** /**
* *
* @type PetsFilteredPatchRequest * @type PetByAge | PetByType
* @memberof DefaultApipetsFilteredPatch * @memberof DefaultApipetsFilteredPatch
*/ */
petsFilteredPatchRequest?: PetsFilteredPatchRequest petByAgePetByType?: PetByAge | PetByType
} }
export interface DefaultApiPetsPatchRequest { export interface DefaultApiPetsPatchRequest {
/** /**
* *
* @type PetsPatchRequest * @type Cat | Dog
* @memberof DefaultApipetsPatch * @memberof DefaultApipetsPatch
*/ */
petsPatchRequest?: PetsPatchRequest catDog?: Cat | Dog
} }
export class ObjectDefaultApi { export class ObjectDefaultApi {
@ -52,21 +50,21 @@ export class ObjectDefaultApi {
* @param param the request object * @param param the request object
*/ */
public filePost(param: DefaultApiFilePostRequest = {}, options?: Configuration): Promise<void> { public filePost(param: DefaultApiFilePostRequest = {}, options?: Configuration): Promise<void> {
return this.api.filePost(param.filePostRequest, options).toPromise(); return this.api.filePost(param.inlineObject, options).toPromise();
} }
/** /**
* @param param the request object * @param param the request object
*/ */
public petsFilteredPatch(param: DefaultApiPetsFilteredPatchRequest = {}, options?: Configuration): Promise<void> { public petsFilteredPatch(param: DefaultApiPetsFilteredPatchRequest = {}, options?: Configuration): Promise<void> {
return this.api.petsFilteredPatch(param.petsFilteredPatchRequest, options).toPromise(); return this.api.petsFilteredPatch(param.petByAgePetByType, options).toPromise();
} }
/** /**
* @param param the request object * @param param the request object
*/ */
public petsPatch(param: DefaultApiPetsPatchRequest = {}, options?: Configuration): Promise<void> { public petsPatch(param: DefaultApiPetsPatchRequest = {}, options?: Configuration): Promise<void> {
return this.api.petsPatch(param.petsPatchRequest, options).toPromise(); return this.api.petsPatch(param.catDog, options).toPromise();
} }
} }

View File

@ -2,15 +2,13 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { Observable, of, from } from '../rxjsStub'; import { Observable, of, from } from '../rxjsStub';
import {mergeMap, map} from '../rxjsStub'; import {mergeMap, map} from '../rxjsStub';
import { Cat } from '../models/Cat'; import { Cat } from '.models.Cat';
import { CatAllOf } from '../models/CatAllOf'; import { CatAllOf } from '.models.CatAllOf';
import { Dog } from '../models/Dog'; import { Dog } from '.models.Dog';
import { DogAllOf } from '../models/DogAllOf'; import { DogAllOf } from '.models.DogAllOf';
import { FilePostRequest } from '../models/FilePostRequest'; import { InlineObject } from '.models.InlineObject';
import { PetByAge } from '../models/PetByAge'; import { PetByAge } from '.models.PetByAge';
import { PetByType } from '../models/PetByType'; import { PetByType } from '.models.PetByType';
import { PetsFilteredPatchRequest } from '../models/PetsFilteredPatchRequest';
import { PetsPatchRequest } from '../models/PetsPatchRequest';
import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi"; import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi";
export class ObservableDefaultApi { export class ObservableDefaultApi {
@ -29,10 +27,10 @@ export class ObservableDefaultApi {
} }
/** /**
* @param filePostRequest * @param inlineObject
*/ */
public filePost(filePostRequest?: FilePostRequest, _options?: Configuration): Observable<void> { public filePost(inlineObject?: InlineObject, _options?: Configuration): Observable<void> {
const requestContextPromise = this.requestFactory.filePost(filePostRequest, _options); const requestContextPromise = this.requestFactory.filePost(inlineObject, _options);
// build promise chain // build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise); let middlewarePreObservable = from<RequestContext>(requestContextPromise);
@ -51,10 +49,10 @@ export class ObservableDefaultApi {
} }
/** /**
* @param petsFilteredPatchRequest * @param petByAgePetByType
*/ */
public petsFilteredPatch(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Observable<void> { public petsFilteredPatch(petByAgePetByType?: PetByAge | PetByType, _options?: Configuration): Observable<void> {
const requestContextPromise = this.requestFactory.petsFilteredPatch(petsFilteredPatchRequest, _options); const requestContextPromise = this.requestFactory.petsFilteredPatch(petByAgePetByType, _options);
// build promise chain // build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise); let middlewarePreObservable = from<RequestContext>(requestContextPromise);
@ -73,10 +71,10 @@ export class ObservableDefaultApi {
} }
/** /**
* @param petsPatchRequest * @param catDog
*/ */
public petsPatch(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Observable<void> { public petsPatch(catDog?: Cat | Dog, _options?: Configuration): Observable<void> {
const requestContextPromise = this.requestFactory.petsPatch(petsPatchRequest, _options); const requestContextPromise = this.requestFactory.petsPatch(catDog, _options);
// build promise chain // build promise chain
let middlewarePreObservable = from<RequestContext>(requestContextPromise); let middlewarePreObservable = from<RequestContext>(requestContextPromise);

View File

@ -1,15 +1,13 @@
import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { Cat } from '../models/Cat'; import { Cat } from '.models.Cat';
import { CatAllOf } from '../models/CatAllOf'; import { CatAllOf } from '.models.CatAllOf';
import { Dog } from '../models/Dog'; import { Dog } from '.models.Dog';
import { DogAllOf } from '../models/DogAllOf'; import { DogAllOf } from '.models.DogAllOf';
import { FilePostRequest } from '../models/FilePostRequest'; import { InlineObject } from '.models.InlineObject';
import { PetByAge } from '../models/PetByAge'; import { PetByAge } from '.models.PetByAge';
import { PetByType } from '../models/PetByType'; import { PetByType } from '.models.PetByType';
import { PetsFilteredPatchRequest } from '../models/PetsFilteredPatchRequest';
import { PetsPatchRequest } from '../models/PetsPatchRequest';
import { ObservableDefaultApi } from './ObservableAPI'; import { ObservableDefaultApi } from './ObservableAPI';
import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi"; import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi";
@ -25,26 +23,26 @@ export class PromiseDefaultApi {
} }
/** /**
* @param filePostRequest * @param inlineObject
*/ */
public filePost(filePostRequest?: FilePostRequest, _options?: Configuration): Promise<void> { public filePost(inlineObject?: InlineObject, _options?: Configuration): Promise<void> {
const result = this.api.filePost(filePostRequest, _options); const result = this.api.filePost(inlineObject, _options);
return result.toPromise(); return result.toPromise();
} }
/** /**
* @param petsFilteredPatchRequest * @param petByAgePetByType
*/ */
public petsFilteredPatch(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Promise<void> { public petsFilteredPatch(petByAgePetByType?: PetByAge | PetByType, _options?: Configuration): Promise<void> {
const result = this.api.petsFilteredPatch(petsFilteredPatchRequest, _options); const result = this.api.petsFilteredPatch(petByAgePetByType, _options);
return result.toPromise(); return result.toPromise();
} }
/** /**
* @param petsPatchRequest * @param catDog
*/ */
public petsPatch(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Promise<void> { public petsPatch(catDog?: Cat | Dog, _options?: Configuration): Promise<void> {
const result = this.api.petsPatch(petsPatchRequest, _options); const result = this.api.petsPatch(catDog, _options);
return result.toPromise(); return result.toPromise();
} }

View File

@ -18,7 +18,6 @@ Method | HTTP request | Description
> Pet addPet(pet) > Pet addPet(pet)
### Example ### Example
@ -90,7 +89,6 @@ Name | Type | Description | Notes
> deletePet() > deletePet()
### Example ### Example
@ -317,7 +315,6 @@ Name | Type | Description | Notes
> Pet updatePet(pet) > Pet updatePet(pet)
### Example ### Example
@ -391,7 +388,6 @@ Name | Type | Description | Notes
> updatePetWithForm() > updatePetWithForm()
### Example ### Example
@ -451,7 +447,6 @@ void (empty response body)
> ApiResponse uploadFile() > ApiResponse uploadFile()
### Example ### Example

View File

@ -173,7 +173,6 @@ No authorization required
> Order placeOrder(order) > Order placeOrder(order)
### Example ### Example

View File

@ -81,7 +81,6 @@ void (empty response body)
> createUsersWithArrayInput(user) > createUsersWithArrayInput(user)
### Example ### Example
@ -146,7 +145,6 @@ void (empty response body)
> createUsersWithListInput(user) > createUsersWithListInput(user)
### Example ### Example
@ -266,7 +264,6 @@ void (empty response body)
> User getUserByName() > User getUserByName()
### Example ### Example
@ -322,7 +319,6 @@ No authorization required
> string loginUser() > string loginUser()
### Example ### Example
@ -380,7 +376,6 @@ No authorization required
> logoutUser() > logoutUser()
### Example ### Example

View File

@ -10,8 +10,8 @@ import {canConsumeForm, isCodeInRange} from '../util';
import {SecurityAuthentication} from '../auth/auth'; import {SecurityAuthentication} from '../auth/auth';
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '/models/ApiResponse';
import { Pet } from '../models/Pet'; import { Pet } from '/models/Pet';
/** /**
* no description * no description
@ -19,7 +19,6 @@ import { Pet } from '../models/Pet';
export class PetApiRequestFactory extends BaseAPIRequestFactory { export class PetApiRequestFactory extends BaseAPIRequestFactory {
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -69,7 +68,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param petId Pet id to delete * @param petId Pet id to delete
* @param apiKey * @param apiKey
@ -234,7 +232,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -284,7 +281,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param petId ID of pet that needs to be updated * @param petId ID of pet that needs to be updated
* @param name Updated name of the pet * @param name Updated name of the pet
@ -355,7 +351,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* uploads an image * uploads an image
* @param petId ID of pet to update * @param petId ID of pet to update
* @param additionalMetadata Additional data to pass to server * @param additionalMetadata Additional data to pass to server

View File

@ -10,7 +10,7 @@ import {canConsumeForm, isCodeInRange} from '../util';
import {SecurityAuthentication} from '../auth/auth'; import {SecurityAuthentication} from '../auth/auth';
import { Order } from '../models/Order'; import { Order } from '/models/Order';
/** /**
* no description * no description
@ -112,7 +112,6 @@ export class StoreApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param order order placed for purchasing the pet * @param order order placed for purchasing the pet
*/ */

View File

@ -10,7 +10,7 @@ import {canConsumeForm, isCodeInRange} from '../util';
import {SecurityAuthentication} from '../auth/auth'; import {SecurityAuthentication} from '../auth/auth';
import { User } from '../models/User'; import { User } from '/models/User';
/** /**
* no description * no description
@ -66,7 +66,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -114,7 +113,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -200,7 +198,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing. * @param username The name that needs to be fetched. Use user1 for testing.
*/ */
@ -232,7 +229,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param username The user name for login * @param username The user name for login
* @param password The password for login in clear text * @param password The password for login in clear text
@ -280,7 +276,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
*/ */
public async logoutUser(_options?: Configuration): Promise<RequestContext> { public async logoutUser(_options?: Configuration): Promise<RequestContext> {

View File

@ -1,16 +1,16 @@
export * from '../models/ApiResponse'; export * from '.models.ApiResponse';
export * from '../models/Category'; export * from '.models.Category';
export * from '../models/Order'; export * from '.models.Order';
export * from '../models/Pet'; export * from '.models.Pet';
export * from '../models/Tag'; export * from '.models.Tag';
export * from '../models/User'; export * from '.models.User';
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category'; import { Category } from '.models.Category';
import { Order , OrderStatusEnum } from '../models/Order'; import { Order , OrderStatusEnum } from '.models.Order';
import { Pet , PetStatusEnum } from '../models/Pet'; import { Pet , PetStatusEnum } from '.models.Pet';
import { Tag } from '../models/Tag'; import { Tag } from '.models.Tag';
import { User } from '../models/User'; import { User } from '.models.User';
/* tslint:disable:no-unused-variable */ /* tslint:disable:no-unused-variable */
let primitives = [ let primitives = [

View File

@ -10,8 +10,8 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { Category } from '../models/Category'; import { Category } from 'Category';
import { Tag } from '../models/Tag'; import { Tag } from 'Tag';
import { HttpFile } from '../http/http'; import { HttpFile } from '../http/http';
/** /**

View File

@ -1,6 +1,6 @@
export * from '../models/ApiResponse' export * from '.models.ApiResponse'
export * from '../models/Category' export * from '.models.Category'
export * from '../models/Order' export * from '.models.Order'
export * from '../models/Pet' export * from '.models.Pet'
export * from '../models/Tag' export * from '.models.Tag'
export * from '../models/User' export * from '.models.User'

View File

@ -1,12 +1,12 @@
import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category'; import { Category } from '.models.Category';
import { Order } from '../models/Order'; import { Order } from '.models.Order';
import { Pet } from '../models/Pet'; import { Pet } from '.models.Pet';
import { Tag } from '../models/Tag'; import { Tag } from '.models.Tag';
import { User } from '../models/User'; import { User } from '.models.User';
import { ObservablePetApi } from "./ObservableAPI"; import { ObservablePetApi } from "./ObservableAPI";
import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi";
@ -121,7 +121,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param param the request object * @param param the request object
*/ */
@ -130,7 +129,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param param the request object * @param param the request object
*/ */
@ -166,7 +164,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param param the request object * @param param the request object
*/ */
@ -175,7 +172,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param param the request object * @param param the request object
*/ */
@ -184,7 +180,6 @@ export class ObjectPetApi {
} }
/** /**
*
* uploads an image * uploads an image
* @param param the request object * @param param the request object
*/ */
@ -262,7 +257,6 @@ export class ObjectStoreApi {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param param the request object * @param param the request object
*/ */
@ -370,7 +364,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param param the request object * @param param the request object
*/ */
@ -379,7 +372,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param param the request object * @param param the request object
*/ */
@ -397,7 +389,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param param the request object * @param param the request object
*/ */
@ -406,7 +397,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param param the request object * @param param the request object
*/ */
@ -415,7 +405,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
* @param param the request object * @param param the request object
*/ */

View File

@ -2,12 +2,12 @@ import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { Observable, of, from } from '../rxjsStub'; import { Observable, of, from } from '../rxjsStub';
import {mergeMap, map} from '../rxjsStub'; import {mergeMap, map} from '../rxjsStub';
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category'; import { Category } from '.models.Category';
import { Order } from '../models/Order'; import { Order } from '.models.Order';
import { Pet } from '../models/Pet'; import { Pet } from '.models.Pet';
import { Tag } from '../models/Tag'; import { Tag } from '.models.Tag';
import { User } from '../models/User'; import { User } from '.models.User';
import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi";
export class ObservablePetApi { export class ObservablePetApi {
@ -26,7 +26,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -50,7 +49,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param petId Pet id to delete * @param petId Pet id to delete
* @param apiKey * @param apiKey
@ -147,7 +145,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -171,7 +168,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param petId ID of pet that needs to be updated * @param petId ID of pet that needs to be updated
* @param name Updated name of the pet * @param name Updated name of the pet
@ -197,7 +193,6 @@ export class ObservablePetApi {
} }
/** /**
*
* uploads an image * uploads an image
* @param petId ID of pet to update * @param petId ID of pet to update
* @param additionalMetadata Additional data to pass to server * @param additionalMetadata Additional data to pass to server
@ -312,7 +307,6 @@ export class ObservableStoreApi {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param order order placed for purchasing the pet * @param order order placed for purchasing the pet
*/ */
@ -378,7 +372,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -402,7 +395,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -450,7 +442,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing. * @param username The name that needs to be fetched. Use user1 for testing.
*/ */
@ -474,7 +465,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param username The user name for login * @param username The user name for login
* @param password The password for login in clear text * @param password The password for login in clear text
@ -499,7 +489,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
*/ */
public logoutUser(_options?: Configuration): Observable<void> { public logoutUser(_options?: Configuration): Observable<void> {

View File

@ -1,12 +1,12 @@
import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category'; import { Category } from '.models.Category';
import { Order } from '../models/Order'; import { Order } from '.models.Order';
import { Pet } from '../models/Pet'; import { Pet } from '.models.Pet';
import { Tag } from '../models/Tag'; import { Tag } from '.models.Tag';
import { User } from '../models/User'; import { User } from '.models.User';
import { ObservablePetApi } from './ObservableAPI'; import { ObservablePetApi } from './ObservableAPI';
import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi";
@ -22,7 +22,6 @@ export class PromisePetApi {
} }
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -32,7 +31,6 @@ export class PromisePetApi {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param petId Pet id to delete * @param petId Pet id to delete
* @param apiKey * @param apiKey
@ -73,7 +71,6 @@ export class PromisePetApi {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -83,7 +80,6 @@ export class PromisePetApi {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param petId ID of pet that needs to be updated * @param petId ID of pet that needs to be updated
* @param name Updated name of the pet * @param name Updated name of the pet
@ -95,7 +91,6 @@ export class PromisePetApi {
} }
/** /**
*
* uploads an image * uploads an image
* @param petId ID of pet to update * @param petId ID of pet to update
* @param additionalMetadata Additional data to pass to server * @param additionalMetadata Additional data to pass to server
@ -155,7 +150,6 @@ export class PromiseStoreApi {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param order order placed for purchasing the pet * @param order order placed for purchasing the pet
*/ */
@ -194,7 +188,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -204,7 +197,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -224,7 +216,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing. * @param username The name that needs to be fetched. Use user1 for testing.
*/ */
@ -234,7 +225,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param username The user name for login * @param username The user name for login
* @param password The password for login in clear text * @param password The password for login in clear text
@ -245,7 +235,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
*/ */
public logoutUser(_options?: Configuration): Promise<void> { public logoutUser(_options?: Configuration): Promise<void> {

View File

@ -1 +1 @@
6.3.0-SNAPSHOT 5.3.0-SNAPSHOT

View File

@ -18,7 +18,6 @@ Method | HTTP request | Description
> Pet addPet(pet) > Pet addPet(pet)
### Example ### Example
@ -90,7 +89,6 @@ Name | Type | Description | Notes
> deletePet() > deletePet()
### Example ### Example
@ -317,7 +315,6 @@ Name | Type | Description | Notes
> Pet updatePet(pet) > Pet updatePet(pet)
### Example ### Example
@ -391,7 +388,6 @@ Name | Type | Description | Notes
> updatePetWithForm() > updatePetWithForm()
### Example ### Example
@ -451,7 +447,6 @@ void (empty response body)
> ApiResponse uploadFile() > ApiResponse uploadFile()
### Example ### Example

View File

@ -173,7 +173,6 @@ No authorization required
> Order placeOrder(order) > Order placeOrder(order)
### Example ### Example

View File

@ -81,7 +81,6 @@ void (empty response body)
> createUsersWithArrayInput(user) > createUsersWithArrayInput(user)
### Example ### Example
@ -146,7 +145,6 @@ void (empty response body)
> createUsersWithListInput(user) > createUsersWithListInput(user)
### Example ### Example
@ -266,7 +264,6 @@ void (empty response body)
> User getUserByName() > User getUserByName()
### Example ### Example
@ -322,7 +319,6 @@ No authorization required
> string loginUser() > string loginUser()
### Example ### Example
@ -380,7 +376,6 @@ No authorization required
> logoutUser() > logoutUser()
### Example ### Example

View File

@ -1,15 +1,15 @@
// TODO: better import syntax? // TODO: better import syntax?
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.ts'; import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
import {Configuration} from '../configuration.ts'; import {Configuration} from '../configuration';
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http.ts'; import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
import {ObjectSerializer} from '../models/ObjectSerializer.ts'; import {ObjectSerializer} from '../models/ObjectSerializer';
import {ApiException} from './exception.ts'; import {ApiException} from './exception';
import {canConsumeForm, isCodeInRange} from '../util.ts'; import {canConsumeForm, isCodeInRange} from '../util';
import {SecurityAuthentication} from '../auth/auth.ts'; import {SecurityAuthentication} from '../auth/auth';
import { ApiResponse } from '../models/ApiResponse.ts'; import { ApiResponse } from '/models/ApiResponse';
import { Pet } from '../models/Pet.ts'; import { Pet } from '/models/Pet';
/** /**
* no description * no description
@ -17,7 +17,6 @@ import { Pet } from '../models/Pet.ts';
export class PetApiRequestFactory extends BaseAPIRequestFactory { export class PetApiRequestFactory extends BaseAPIRequestFactory {
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -67,7 +66,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param petId Pet id to delete * @param petId Pet id to delete
* @param apiKey * @param apiKey
@ -232,7 +230,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -282,7 +279,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param petId ID of pet that needs to be updated * @param petId ID of pet that needs to be updated
* @param name Updated name of the pet * @param name Updated name of the pet
@ -353,7 +349,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* uploads an image * uploads an image
* @param petId ID of pet to update * @param petId ID of pet to update
* @param additionalMetadata Additional data to pass to server * @param additionalMetadata Additional data to pass to server

View File

@ -1,14 +1,14 @@
// TODO: better import syntax? // TODO: better import syntax?
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.ts'; import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
import {Configuration} from '../configuration.ts'; import {Configuration} from '../configuration';
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http.ts'; import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
import {ObjectSerializer} from '../models/ObjectSerializer.ts'; import {ObjectSerializer} from '../models/ObjectSerializer';
import {ApiException} from './exception.ts'; import {ApiException} from './exception';
import {canConsumeForm, isCodeInRange} from '../util.ts'; import {canConsumeForm, isCodeInRange} from '../util';
import {SecurityAuthentication} from '../auth/auth.ts'; import {SecurityAuthentication} from '../auth/auth';
import { Order } from '../models/Order.ts'; import { Order } from '/models/Order';
/** /**
* no description * no description
@ -110,7 +110,6 @@ export class StoreApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param order order placed for purchasing the pet * @param order order placed for purchasing the pet
*/ */

View File

@ -1,14 +1,14 @@
// TODO: better import syntax? // TODO: better import syntax?
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.ts'; import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
import {Configuration} from '../configuration.ts'; import {Configuration} from '../configuration';
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http.ts'; import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
import {ObjectSerializer} from '../models/ObjectSerializer.ts'; import {ObjectSerializer} from '../models/ObjectSerializer';
import {ApiException} from './exception.ts'; import {ApiException} from './exception';
import {canConsumeForm, isCodeInRange} from '../util.ts'; import {canConsumeForm, isCodeInRange} from '../util';
import {SecurityAuthentication} from '../auth/auth.ts'; import {SecurityAuthentication} from '../auth/auth';
import { User } from '../models/User.ts'; import { User } from '/models/User';
/** /**
* no description * no description
@ -64,7 +64,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -112,7 +111,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -198,7 +196,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing. * @param username The name that needs to be fetched. Use user1 for testing.
*/ */
@ -230,7 +227,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param username The user name for login * @param username The user name for login
* @param password The password for login in clear text * @param password The password for login in clear text
@ -278,7 +274,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
*/ */
public async logoutUser(_options?: Configuration): Promise<RequestContext> { public async logoutUser(_options?: Configuration): Promise<RequestContext> {

View File

@ -1,4 +1,4 @@
import { Configuration } from '../configuration.ts' import { Configuration } from '../configuration'
/** /**
* *

View File

@ -1,4 +1,4 @@
import { RequestContext } from "../http/http.ts"; import { RequestContext } from "../http/http";
/** /**
* Interface authentication schemes. * Interface authentication schemes.

View File

@ -1,8 +1,8 @@
import { HttpLibrary } from "./http/http.ts"; import { HttpLibrary } from "./http/http";
import { Middleware, PromiseMiddleware, PromiseMiddlewareWrapper } from "./middleware.ts"; import { Middleware, PromiseMiddleware, PromiseMiddlewareWrapper } from "./middleware";
import { IsomorphicFetchHttpLibrary as DefaultHttpLibrary } from "./http/isomorphic-fetch.ts"; import { IsomorphicFetchHttpLibrary as DefaultHttpLibrary } from "./http/isomorphic-fetch";
import { BaseServerConfiguration, server1 } from "./servers.ts"; import { BaseServerConfiguration, server1 } from "./servers";
import { configureAuthMethods, AuthMethods, AuthMethodsConfiguration } from "./auth/auth.ts"; import { configureAuthMethods, AuthMethods, AuthMethodsConfiguration } from "./auth/auth";
export interface Configuration { export interface Configuration {
readonly baseServer: BaseServerConfiguration; readonly baseServer: BaseServerConfiguration;

View File

@ -1,4 +1,4 @@
import { Observable, from } from '../rxjsStub.ts'; import { Observable, from } from '../rxjsStub';
/** /**

View File

@ -1,5 +1,5 @@
import {HttpLibrary, RequestContext, ResponseContext} from './http.ts'; import {HttpLibrary, RequestContext, ResponseContext} from './http';
import { from, Observable } from '../rxjsStub.ts'; import { from, Observable } from '../rxjsStub';
export class IsomorphicFetchHttpLibrary implements HttpLibrary { export class IsomorphicFetchHttpLibrary implements HttpLibrary {

View File

@ -1,12 +1,12 @@
export * from "./http/http.ts"; export * from "./http/http";
export * from "./auth/auth.ts"; export * from "./auth/auth";
export * from "./models/all.ts"; export * from "./models/all";
export { createConfiguration } from "./configuration.ts" export { createConfiguration } from "./configuration"
export type { Configuration } from "./configuration.ts" export type { Configuration } from "./configuration"
export * from "./apis/exception.ts"; export * from "./apis/exception";
export * from "./servers.ts"; export * from "./servers";
export { RequiredError } from "./apis/baseapi.ts"; export { RequiredError } from "./apis/baseapi";
export type { PromiseMiddleware as Middleware } from './middleware.ts'; export type { PromiseMiddleware as Middleware } from './middleware';
export { PromisePetApi as PetApi, PromiseStoreApi as StoreApi, PromiseUserApi as UserApi } from './types/PromiseAPI.ts'; export { PromisePetApi as PetApi, PromiseStoreApi as StoreApi, PromiseUserApi as UserApi } from './types/PromiseAPI';

View File

@ -1,5 +1,5 @@
import {RequestContext, ResponseContext} from './http/http.ts'; import {RequestContext, ResponseContext} from './http/http';
import { Observable, from } from './rxjsStub.ts'; import { Observable, from } from './rxjsStub';
/** /**
* Defines the contract for a middleware intercepting requests before * Defines the contract for a middleware intercepting requests before

View File

@ -10,7 +10,7 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { HttpFile } from '../http/http.ts'; import { HttpFile } from '../http/http';
/** /**
* Describes the result of uploading an image resource * Describes the result of uploading an image resource

View File

@ -10,7 +10,7 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { HttpFile } from '../http/http.ts'; import { HttpFile } from '../http/http';
/** /**
* A category for a pet * A category for a pet

View File

@ -1,16 +1,16 @@
export * from '../models/ApiResponse.ts'; export * from '.models.ApiResponse';
export * from '../models/Category.ts'; export * from '.models.Category';
export * from '../models/Order.ts'; export * from '.models.Order';
export * from '../models/Pet.ts'; export * from '.models.Pet';
export * from '../models/Tag.ts'; export * from '.models.Tag';
export * from '../models/User.ts'; export * from '.models.User';
import { ApiResponse } from '../models/ApiResponse.ts'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category.ts'; import { Category } from '.models.Category';
import { Order , OrderStatusEnum } from '../models/Order.ts'; import { Order , OrderStatusEnum } from '.models.Order';
import { Pet , PetStatusEnum } from '../models/Pet.ts'; import { Pet , PetStatusEnum } from '.models.Pet';
import { Tag } from '../models/Tag.ts'; import { Tag } from '.models.Tag';
import { User } from '../models/User.ts'; import { User } from '.models.User';
/* tslint:disable:no-unused-variable */ /* tslint:disable:no-unused-variable */
let primitives = [ let primitives = [

View File

@ -10,7 +10,7 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { HttpFile } from '../http/http.ts'; import { HttpFile } from '../http/http';
/** /**
* An order for a pets from the pet store * An order for a pets from the pet store

View File

@ -10,9 +10,9 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { Category } from '../models/Category.ts'; import { Category } from 'Category';
import { Tag } from '../models/Tag.ts'; import { Tag } from 'Tag';
import { HttpFile } from '../http/http.ts'; import { HttpFile } from '../http/http';
/** /**
* A pet for sale in the pet store * A pet for sale in the pet store

View File

@ -10,7 +10,7 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { HttpFile } from '../http/http.ts'; import { HttpFile } from '../http/http';
/** /**
* A tag for a pet * A tag for a pet

View File

@ -10,7 +10,7 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { HttpFile } from '../http/http.ts'; import { HttpFile } from '../http/http';
/** /**
* A User who is purchasing from the pet store * A User who is purchasing from the pet store

View File

@ -1,6 +1,6 @@
export * from '../models/ApiResponse.ts' export * from '.models.ApiResponse'
export * from '../models/Category.ts' export * from '.models.Category'
export * from '../models/Order.ts' export * from '.models.Order'
export * from '../models/Pet.ts' export * from '.models.Pet'
export * from '../models/Tag.ts' export * from '.models.Tag'
export * from '../models/User.ts' export * from '.models.User'

View File

@ -1,4 +1,4 @@
import { RequestContext, HttpMethod } from "./http/http.ts"; import { RequestContext, HttpMethod } from "./http/http";
export interface BaseServerConfiguration { export interface BaseServerConfiguration {
makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext; makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext;

View File

@ -1,15 +1,15 @@
import { ResponseContext, RequestContext, HttpFile } from '../http/http.ts'; import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration.ts' import { Configuration} from '../configuration'
import { ApiResponse } from '../models/ApiResponse.ts'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category.ts'; import { Category } from '.models.Category';
import { Order } from '../models/Order.ts'; import { Order } from '.models.Order';
import { Pet } from '../models/Pet.ts'; import { Pet } from '.models.Pet';
import { Tag } from '../models/Tag.ts'; import { Tag } from '.models.Tag';
import { User } from '../models/User.ts'; import { User } from '.models.User';
import { ObservablePetApi } from "./ObservableAPI.ts"; import { ObservablePetApi } from "./ObservableAPI";
import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi.ts"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi";
export interface PetApiAddPetRequest { export interface PetApiAddPetRequest {
/** /**
@ -121,7 +121,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param param the request object * @param param the request object
*/ */
@ -130,7 +129,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param param the request object * @param param the request object
*/ */
@ -166,7 +164,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param param the request object * @param param the request object
*/ */
@ -175,7 +172,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param param the request object * @param param the request object
*/ */
@ -184,7 +180,6 @@ export class ObjectPetApi {
} }
/** /**
*
* uploads an image * uploads an image
* @param param the request object * @param param the request object
*/ */
@ -194,8 +189,8 @@ export class ObjectPetApi {
} }
import { ObservableStoreApi } from "./ObservableAPI.ts"; import { ObservableStoreApi } from "./ObservableAPI";
import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreApi.ts"; import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreApi";
export interface StoreApiDeleteOrderRequest { export interface StoreApiDeleteOrderRequest {
/** /**
@ -262,7 +257,6 @@ export class ObjectStoreApi {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param param the request object * @param param the request object
*/ */
@ -272,8 +266,8 @@ export class ObjectStoreApi {
} }
import { ObservableUserApi } from "./ObservableAPI.ts"; import { ObservableUserApi } from "./ObservableAPI";
import { UserApiRequestFactory, UserApiResponseProcessor} from "../apis/UserApi.ts"; import { UserApiRequestFactory, UserApiResponseProcessor} from "../apis/UserApi";
export interface UserApiCreateUserRequest { export interface UserApiCreateUserRequest {
/** /**
@ -370,7 +364,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param param the request object * @param param the request object
*/ */
@ -379,7 +372,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param param the request object * @param param the request object
*/ */
@ -397,7 +389,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param param the request object * @param param the request object
*/ */
@ -406,7 +397,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param param the request object * @param param the request object
*/ */
@ -415,7 +405,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
* @param param the request object * @param param the request object
*/ */

View File

@ -1,15 +1,15 @@
import { ResponseContext, RequestContext, HttpFile } from '../http/http.ts'; import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration.ts' import { Configuration} from '../configuration'
import { Observable, of, from } from '../rxjsStub.ts'; import { Observable, of, from } from '../rxjsStub';
import {mergeMap, map} from '../rxjsStub.ts'; import {mergeMap, map} from '../rxjsStub';
import { ApiResponse } from '../models/ApiResponse.ts'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category.ts'; import { Category } from '.models.Category';
import { Order } from '../models/Order.ts'; import { Order } from '.models.Order';
import { Pet } from '../models/Pet.ts'; import { Pet } from '.models.Pet';
import { Tag } from '../models/Tag.ts'; import { Tag } from '.models.Tag';
import { User } from '../models/User.ts'; import { User } from '.models.User';
import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi.ts"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi";
export class ObservablePetApi { export class ObservablePetApi {
private requestFactory: PetApiRequestFactory; private requestFactory: PetApiRequestFactory;
private responseProcessor: PetApiResponseProcessor; private responseProcessor: PetApiResponseProcessor;
@ -26,7 +26,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -50,7 +49,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param petId Pet id to delete * @param petId Pet id to delete
* @param apiKey * @param apiKey
@ -147,7 +145,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -171,7 +168,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param petId ID of pet that needs to be updated * @param petId ID of pet that needs to be updated
* @param name Updated name of the pet * @param name Updated name of the pet
@ -197,7 +193,6 @@ export class ObservablePetApi {
} }
/** /**
*
* uploads an image * uploads an image
* @param petId ID of pet to update * @param petId ID of pet to update
* @param additionalMetadata Additional data to pass to server * @param additionalMetadata Additional data to pass to server
@ -224,7 +219,7 @@ export class ObservablePetApi {
} }
import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreApi.ts"; import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreApi";
export class ObservableStoreApi { export class ObservableStoreApi {
private requestFactory: StoreApiRequestFactory; private requestFactory: StoreApiRequestFactory;
private responseProcessor: StoreApiResponseProcessor; private responseProcessor: StoreApiResponseProcessor;
@ -312,7 +307,6 @@ export class ObservableStoreApi {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param order order placed for purchasing the pet * @param order order placed for purchasing the pet
*/ */
@ -337,7 +331,7 @@ export class ObservableStoreApi {
} }
import { UserApiRequestFactory, UserApiResponseProcessor} from "../apis/UserApi.ts"; import { UserApiRequestFactory, UserApiResponseProcessor} from "../apis/UserApi";
export class ObservableUserApi { export class ObservableUserApi {
private requestFactory: UserApiRequestFactory; private requestFactory: UserApiRequestFactory;
private responseProcessor: UserApiResponseProcessor; private responseProcessor: UserApiResponseProcessor;
@ -378,7 +372,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -402,7 +395,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -450,7 +442,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing. * @param username The name that needs to be fetched. Use user1 for testing.
*/ */
@ -474,7 +465,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param username The user name for login * @param username The user name for login
* @param password The password for login in clear text * @param password The password for login in clear text
@ -499,7 +489,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
*/ */
public logoutUser(_options?: Configuration): Observable<void> { public logoutUser(_options?: Configuration): Observable<void> {

View File

@ -1,15 +1,15 @@
import { ResponseContext, RequestContext, HttpFile } from '../http/http.ts'; import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration.ts' import { Configuration} from '../configuration'
import { ApiResponse } from '../models/ApiResponse.ts'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category.ts'; import { Category } from '.models.Category';
import { Order } from '../models/Order.ts'; import { Order } from '.models.Order';
import { Pet } from '../models/Pet.ts'; import { Pet } from '.models.Pet';
import { Tag } from '../models/Tag.ts'; import { Tag } from '.models.Tag';
import { User } from '../models/User.ts'; import { User } from '.models.User';
import { ObservablePetApi } from './ObservableAPI.ts'; import { ObservablePetApi } from './ObservableAPI';
import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi.ts"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi";
export class PromisePetApi { export class PromisePetApi {
private api: ObservablePetApi private api: ObservablePetApi
@ -22,7 +22,6 @@ export class PromisePetApi {
} }
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -32,7 +31,6 @@ export class PromisePetApi {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param petId Pet id to delete * @param petId Pet id to delete
* @param apiKey * @param apiKey
@ -73,7 +71,6 @@ export class PromisePetApi {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -83,7 +80,6 @@ export class PromisePetApi {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param petId ID of pet that needs to be updated * @param petId ID of pet that needs to be updated
* @param name Updated name of the pet * @param name Updated name of the pet
@ -95,7 +91,6 @@ export class PromisePetApi {
} }
/** /**
*
* uploads an image * uploads an image
* @param petId ID of pet to update * @param petId ID of pet to update
* @param additionalMetadata Additional data to pass to server * @param additionalMetadata Additional data to pass to server
@ -111,9 +106,9 @@ export class PromisePetApi {
import { ObservableStoreApi } from './ObservableAPI.ts'; import { ObservableStoreApi } from './ObservableAPI';
import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreApi.ts"; import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreApi";
export class PromiseStoreApi { export class PromiseStoreApi {
private api: ObservableStoreApi private api: ObservableStoreApi
@ -155,7 +150,6 @@ export class PromiseStoreApi {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param order order placed for purchasing the pet * @param order order placed for purchasing the pet
*/ */
@ -169,9 +163,9 @@ export class PromiseStoreApi {
import { ObservableUserApi } from './ObservableAPI.ts'; import { ObservableUserApi } from './ObservableAPI';
import { UserApiRequestFactory, UserApiResponseProcessor} from "../apis/UserApi.ts"; import { UserApiRequestFactory, UserApiResponseProcessor} from "../apis/UserApi";
export class PromiseUserApi { export class PromiseUserApi {
private api: ObservableUserApi private api: ObservableUserApi
@ -194,7 +188,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -204,7 +197,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -224,7 +216,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing. * @param username The name that needs to be fetched. Use user1 for testing.
*/ */
@ -234,7 +225,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param username The user name for login * @param username The user name for login
* @param password The password for login in clear text * @param password The password for login in clear text
@ -245,7 +235,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
*/ */
public logoutUser(_options?: Configuration): Promise<void> { public logoutUser(_options?: Configuration): Promise<void> {

View File

@ -18,7 +18,6 @@ Method | HTTP request | Description
> Pet addPet(pet) > Pet addPet(pet)
### Example ### Example
@ -90,7 +89,6 @@ Name | Type | Description | Notes
> deletePet() > deletePet()
### Example ### Example
@ -317,7 +315,6 @@ Name | Type | Description | Notes
> Pet updatePet(pet) > Pet updatePet(pet)
### Example ### Example
@ -391,7 +388,6 @@ Name | Type | Description | Notes
> updatePetWithForm() > updatePetWithForm()
### Example ### Example
@ -451,7 +447,6 @@ void (empty response body)
> ApiResponse uploadFile() > ApiResponse uploadFile()
### Example ### Example

View File

@ -173,7 +173,6 @@ No authorization required
> Order placeOrder(order) > Order placeOrder(order)
### Example ### Example

View File

@ -81,7 +81,6 @@ void (empty response body)
> createUsersWithArrayInput(user) > createUsersWithArrayInput(user)
### Example ### Example
@ -146,7 +145,6 @@ void (empty response body)
> createUsersWithListInput(user) > createUsersWithListInput(user)
### Example ### Example
@ -266,7 +264,6 @@ void (empty response body)
> User getUserByName() > User getUserByName()
### Example ### Example
@ -322,7 +319,6 @@ No authorization required
> string loginUser() > string loginUser()
### Example ### Example
@ -380,7 +376,6 @@ No authorization required
> logoutUser() > logoutUser()
### Example ### Example

View File

@ -1,8 +1,8 @@
import type { Configuration } from "../configuration"; import type { Configuration } from "../configuration";
import type { HttpFile, RequestContext, ResponseContext } from "../http/http"; import type { HttpFile, RequestContext, ResponseContext } from "../http/http";
import { ApiResponse } from "../models/ApiResponse"; import { ApiResponse } from "/models/ApiResponse";
import { Pet } from "../models/Pet"; import { Pet } from "/models/Pet";
export abstract class AbstractPetApiRequestFactory { export abstract class AbstractPetApiRequestFactory {
public abstract addPet(pet: Pet, options?: Configuration): Promise<RequestContext>; public abstract addPet(pet: Pet, options?: Configuration): Promise<RequestContext>;

View File

@ -11,8 +11,8 @@ import {SecurityAuthentication} from '../auth/auth';
import { injectable } from "inversify"; import { injectable } from "inversify";
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '/models/ApiResponse';
import { Pet } from '../models/Pet'; import { Pet } from '/models/Pet';
/** /**
* no description * no description
@ -21,7 +21,6 @@ import { Pet } from '../models/Pet';
export class PetApiRequestFactory extends BaseAPIRequestFactory { export class PetApiRequestFactory extends BaseAPIRequestFactory {
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -67,7 +66,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param petId Pet id to delete * @param petId Pet id to delete
* @param apiKey * @param apiKey
@ -216,7 +214,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -262,7 +259,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param petId ID of pet that needs to be updated * @param petId ID of pet that needs to be updated
* @param name Updated name of the pet * @param name Updated name of the pet
@ -329,7 +325,6 @@ export class PetApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* uploads an image * uploads an image
* @param petId ID of pet to update * @param petId ID of pet to update
* @param additionalMetadata Additional data to pass to server * @param additionalMetadata Additional data to pass to server

View File

@ -1,7 +1,7 @@
import type { Configuration } from "../configuration"; import type { Configuration } from "../configuration";
import type { HttpFile, RequestContext, ResponseContext } from "../http/http"; import type { HttpFile, RequestContext, ResponseContext } from "../http/http";
import { Order } from "../models/Order"; import { Order } from "/models/Order";
export abstract class AbstractStoreApiRequestFactory { export abstract class AbstractStoreApiRequestFactory {
public abstract deleteOrder(orderId: string, options?: Configuration): Promise<RequestContext>; public abstract deleteOrder(orderId: string, options?: Configuration): Promise<RequestContext>;

View File

@ -11,7 +11,7 @@ import {SecurityAuthentication} from '../auth/auth';
import { injectable } from "inversify"; import { injectable } from "inversify";
import { Order } from '../models/Order'; import { Order } from '/models/Order';
/** /**
* no description * no description
@ -102,7 +102,6 @@ export class StoreApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param order order placed for purchasing the pet * @param order order placed for purchasing the pet
*/ */

View File

@ -1,7 +1,7 @@
import type { Configuration } from "../configuration"; import type { Configuration } from "../configuration";
import type { HttpFile, RequestContext, ResponseContext } from "../http/http"; import type { HttpFile, RequestContext, ResponseContext } from "../http/http";
import { User } from "../models/User"; import { User } from "/models/User";
export abstract class AbstractUserApiRequestFactory { export abstract class AbstractUserApiRequestFactory {
public abstract createUser(user: User, options?: Configuration): Promise<RequestContext>; public abstract createUser(user: User, options?: Configuration): Promise<RequestContext>;

View File

@ -11,7 +11,7 @@ import {SecurityAuthentication} from '../auth/auth';
import { injectable } from "inversify"; import { injectable } from "inversify";
import { User } from '../models/User'; import { User } from '/models/User';
/** /**
* no description * no description
@ -64,7 +64,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -108,7 +107,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -186,7 +184,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing. * @param username The name that needs to be fetched. Use user1 for testing.
*/ */
@ -214,7 +211,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param username The user name for login * @param username The user name for login
* @param password The password for login in clear text * @param password The password for login in clear text
@ -258,7 +254,6 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
*/ */
public async logoutUser(_options?: Configuration): Promise<RequestContext> { public async logoutUser(_options?: Configuration): Promise<RequestContext> {

View File

@ -1,16 +1,16 @@
export * from '../models/ApiResponse'; export * from '.models.ApiResponse';
export * from '../models/Category'; export * from '.models.Category';
export * from '../models/Order'; export * from '.models.Order';
export * from '../models/Pet'; export * from '.models.Pet';
export * from '../models/Tag'; export * from '.models.Tag';
export * from '../models/User'; export * from '.models.User';
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category'; import { Category } from '.models.Category';
import { Order , OrderStatusEnum } from '../models/Order'; import { Order , OrderStatusEnum } from '.models.Order';
import { Pet , PetStatusEnum } from '../models/Pet'; import { Pet , PetStatusEnum } from '.models.Pet';
import { Tag } from '../models/Tag'; import { Tag } from '.models.Tag';
import { User } from '../models/User'; import { User } from '.models.User';
/* tslint:disable:no-unused-variable */ /* tslint:disable:no-unused-variable */
let primitives = [ let primitives = [

View File

@ -10,8 +10,8 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { Category } from '../models/Category'; import { Category } from 'Category';
import { Tag } from '../models/Tag'; import { Tag } from 'Tag';
import { HttpFile } from '../http/http'; import { HttpFile } from '../http/http';
/** /**

View File

@ -1,6 +1,6 @@
export * from '../models/ApiResponse' export * from '.models.ApiResponse'
export * from '../models/Category' export * from '.models.Category'
export * from '../models/Order' export * from '.models.Order'
export * from '../models/Pet' export * from '.models.Pet'
export * from '../models/Tag' export * from '.models.Tag'
export * from '../models/User' export * from '.models.User'

View File

@ -2,24 +2,22 @@ import type { HttpFile } from '../http/http';
import type { Configuration } from '../configuration' import type { Configuration } from '../configuration'
import type * as req from "../types/ObjectParamAPI"; import type * as req from "../types/ObjectParamAPI";
import type { ApiResponse } from '../models/ApiResponse'; import type { ApiResponse } from '.models.ApiResponse';
import type { Category } from '../models/Category'; import type { Category } from '.models.Category';
import type { Order } from '../models/Order'; import type { Order } from '.models.Order';
import type { Pet } from '../models/Pet'; import type { Pet } from '.models.Pet';
import type { Tag } from '../models/Tag'; import type { Tag } from '.models.Tag';
import type { User } from '../models/User'; import type { User } from '.models.User';
export abstract class AbstractObjectPetApi { export abstract class AbstractObjectPetApi {
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param param the request object * @param param the request object
*/ */
public abstract addPet(param: req.PetApiAddPetRequest, options?: Configuration): Promise<Pet>; public abstract addPet(param: req.PetApiAddPetRequest, options?: Configuration): Promise<Pet>;
/** /**
*
* Deletes a pet * Deletes a pet
* @param param the request object * @param param the request object
*/ */
@ -47,21 +45,18 @@ export abstract class AbstractObjectPetApi {
public abstract getPetById(param: req.PetApiGetPetByIdRequest, options?: Configuration): Promise<Pet>; public abstract getPetById(param: req.PetApiGetPetByIdRequest, options?: Configuration): Promise<Pet>;
/** /**
*
* Update an existing pet * Update an existing pet
* @param param the request object * @param param the request object
*/ */
public abstract updatePet(param: req.PetApiUpdatePetRequest, options?: Configuration): Promise<Pet>; public abstract updatePet(param: req.PetApiUpdatePetRequest, options?: Configuration): Promise<Pet>;
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param param the request object * @param param the request object
*/ */
public abstract updatePetWithForm(param: req.PetApiUpdatePetWithFormRequest, options?: Configuration): Promise<void>; public abstract updatePetWithForm(param: req.PetApiUpdatePetWithFormRequest, options?: Configuration): Promise<void>;
/** /**
*
* uploads an image * uploads an image
* @param param the request object * @param param the request object
*/ */
@ -93,7 +88,6 @@ export abstract class AbstractObjectStoreApi {
public abstract getOrderById(param: req.StoreApiGetOrderByIdRequest, options?: Configuration): Promise<Order>; public abstract getOrderById(param: req.StoreApiGetOrderByIdRequest, options?: Configuration): Promise<Order>;
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param param the request object * @param param the request object
*/ */
@ -111,14 +105,12 @@ export abstract class AbstractObjectUserApi {
public abstract createUser(param: req.UserApiCreateUserRequest, options?: Configuration): Promise<void>; public abstract createUser(param: req.UserApiCreateUserRequest, options?: Configuration): Promise<void>;
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param param the request object * @param param the request object
*/ */
public abstract createUsersWithArrayInput(param: req.UserApiCreateUsersWithArrayInputRequest, options?: Configuration): Promise<void>; public abstract createUsersWithArrayInput(param: req.UserApiCreateUsersWithArrayInputRequest, options?: Configuration): Promise<void>;
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param param the request object * @param param the request object
*/ */
@ -132,21 +124,18 @@ export abstract class AbstractObjectUserApi {
public abstract deleteUser(param: req.UserApiDeleteUserRequest, options?: Configuration): Promise<void>; public abstract deleteUser(param: req.UserApiDeleteUserRequest, options?: Configuration): Promise<void>;
/** /**
*
* Get user by user name * Get user by user name
* @param param the request object * @param param the request object
*/ */
public abstract getUserByName(param: req.UserApiGetUserByNameRequest, options?: Configuration): Promise<User>; public abstract getUserByName(param: req.UserApiGetUserByNameRequest, options?: Configuration): Promise<User>;
/** /**
*
* Logs user into the system * Logs user into the system
* @param param the request object * @param param the request object
*/ */
public abstract loginUser(param: req.UserApiLoginUserRequest, options?: Configuration): Promise<string>; public abstract loginUser(param: req.UserApiLoginUserRequest, options?: Configuration): Promise<string>;
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
* @param param the request object * @param param the request object
*/ */

View File

@ -2,12 +2,12 @@ import type { HttpFile } from "../http/http";
import type { Observable } from "../rxjsStub"; import type { Observable } from "../rxjsStub";
import type { Configuration } from "../configuration"; import type { Configuration } from "../configuration";
import { ApiResponse } from "../models/ApiResponse"; import { ApiResponse } from ".models.ApiResponse";
import { Category } from "../models/Category"; import { Category } from ".models.Category";
import { Order } from "../models/Order"; import { Order } from ".models.Order";
import { Pet } from "../models/Pet"; import { Pet } from ".models.Pet";
import { Tag } from "../models/Tag"; import { Tag } from ".models.Tag";
import { User } from "../models/User"; import { User } from ".models.User";
export abstract class AbstractObservablePetApi { export abstract class AbstractObservablePetApi {

View File

@ -1,12 +1,12 @@
import type { HttpFile } from "../http/http"; import type { HttpFile } from "../http/http";
import type { Configuration } from "../configuration"; import type { Configuration } from "../configuration";
import { ApiResponse } from "../models/ApiResponse"; import { ApiResponse } from ".models.ApiResponse";
import { Category } from "../models/Category"; import { Category } from ".models.Category";
import { Order } from "../models/Order"; import { Order } from ".models.Order";
import { Pet } from "../models/Pet"; import { Pet } from ".models.Pet";
import { Tag } from "../models/Tag"; import { Tag } from ".models.Tag";
import { User } from "../models/User"; import { User } from ".models.User";
export abstract class AbstractPromisePetApi { export abstract class AbstractPromisePetApi {

View File

@ -1,12 +1,12 @@
import { ResponseContext, RequestContext, HttpFile } from '../http/http'; import { ResponseContext, RequestContext, HttpFile } from '../http/http';
import { Configuration} from '../configuration' import { Configuration} from '../configuration'
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category'; import { Category } from '.models.Category';
import { Order } from '../models/Order'; import { Order } from '.models.Order';
import { Pet } from '../models/Pet'; import { Pet } from '.models.Pet';
import { Tag } from '../models/Tag'; import { Tag } from '.models.Tag';
import { User } from '../models/User'; import { User } from '.models.User';
import { ObservablePetApi } from "./ObservableAPI"; import { ObservablePetApi } from "./ObservableAPI";
import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi";
@ -121,7 +121,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param param the request object * @param param the request object
*/ */
@ -130,7 +129,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param param the request object * @param param the request object
*/ */
@ -166,7 +164,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param param the request object * @param param the request object
*/ */
@ -175,7 +172,6 @@ export class ObjectPetApi {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param param the request object * @param param the request object
*/ */
@ -184,7 +180,6 @@ export class ObjectPetApi {
} }
/** /**
*
* uploads an image * uploads an image
* @param param the request object * @param param the request object
*/ */
@ -262,7 +257,6 @@ export class ObjectStoreApi {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param param the request object * @param param the request object
*/ */
@ -370,7 +364,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param param the request object * @param param the request object
*/ */
@ -379,7 +372,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param param the request object * @param param the request object
*/ */
@ -397,7 +389,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param param the request object * @param param the request object
*/ */
@ -406,7 +397,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param param the request object * @param param the request object
*/ */
@ -415,7 +405,6 @@ export class ObjectUserApi {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
* @param param the request object * @param param the request object
*/ */

View File

@ -4,12 +4,12 @@ import { Observable, of, from } from '../rxjsStub';
import {mergeMap, map} from '../rxjsStub'; import {mergeMap, map} from '../rxjsStub';
import { injectable, inject, optional } from "inversify"; import { injectable, inject, optional } from "inversify";
import { AbstractConfiguration } from "../services/configuration"; import { AbstractConfiguration } from "../services/configuration";
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category'; import { Category } from '.models.Category';
import { Order } from '../models/Order'; import { Order } from '.models.Order';
import { Pet } from '../models/Pet'; import { Pet } from '.models.Pet';
import { Tag } from '../models/Tag'; import { Tag } from '.models.Tag';
import { User } from '../models/User'; import { User } from '.models.User';
import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi";
import { AbstractPetApiRequestFactory, AbstractPetApiResponseProcessor } from "../apis/PetApi.service"; import { AbstractPetApiRequestFactory, AbstractPetApiResponseProcessor } from "../apis/PetApi.service";
@ -31,7 +31,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -55,7 +54,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param petId Pet id to delete * @param petId Pet id to delete
* @param apiKey * @param apiKey
@ -152,7 +150,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -176,7 +173,6 @@ export class ObservablePetApi {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param petId ID of pet that needs to be updated * @param petId ID of pet that needs to be updated
* @param name Updated name of the pet * @param name Updated name of the pet
@ -202,7 +198,6 @@ export class ObservablePetApi {
} }
/** /**
*
* uploads an image * uploads an image
* @param petId ID of pet to update * @param petId ID of pet to update
* @param additionalMetadata Additional data to pass to server * @param additionalMetadata Additional data to pass to server
@ -320,7 +315,6 @@ export class ObservableStoreApi {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param order order placed for purchasing the pet * @param order order placed for purchasing the pet
*/ */
@ -389,7 +383,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -413,7 +406,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -461,7 +453,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing. * @param username The name that needs to be fetched. Use user1 for testing.
*/ */
@ -485,7 +476,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param username The user name for login * @param username The user name for login
* @param password The password for login in clear text * @param password The password for login in clear text
@ -510,7 +500,6 @@ export class ObservableUserApi {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
*/ */
public logoutUser(_options?: Configuration): Observable<void> { public logoutUser(_options?: Configuration): Observable<void> {

View File

@ -3,12 +3,12 @@ import { Configuration} from '../configuration'
import { injectable, inject, optional } from "inversify"; import { injectable, inject, optional } from "inversify";
import { AbstractConfiguration } from "../services/configuration"; import { AbstractConfiguration } from "../services/configuration";
import { ApiResponse } from '../models/ApiResponse'; import { ApiResponse } from '.models.ApiResponse';
import { Category } from '../models/Category'; import { Category } from '.models.Category';
import { Order } from '../models/Order'; import { Order } from '.models.Order';
import { Pet } from '../models/Pet'; import { Pet } from '.models.Pet';
import { Tag } from '../models/Tag'; import { Tag } from '.models.Tag';
import { User } from '../models/User'; import { User } from '.models.User';
import { ObservablePetApi } from './ObservableAPI'; import { ObservablePetApi } from './ObservableAPI';
import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi"; import { PetApiRequestFactory, PetApiResponseProcessor} from "../apis/PetApi";
@ -27,7 +27,6 @@ export class PromisePetApi {
} }
/** /**
*
* Add a new pet to the store * Add a new pet to the store
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -37,7 +36,6 @@ export class PromisePetApi {
} }
/** /**
*
* Deletes a pet * Deletes a pet
* @param petId Pet id to delete * @param petId Pet id to delete
* @param apiKey * @param apiKey
@ -78,7 +76,6 @@ export class PromisePetApi {
} }
/** /**
*
* Update an existing pet * Update an existing pet
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
*/ */
@ -88,7 +85,6 @@ export class PromisePetApi {
} }
/** /**
*
* Updates a pet in the store with form data * Updates a pet in the store with form data
* @param petId ID of pet that needs to be updated * @param petId ID of pet that needs to be updated
* @param name Updated name of the pet * @param name Updated name of the pet
@ -100,7 +96,6 @@ export class PromisePetApi {
} }
/** /**
*
* uploads an image * uploads an image
* @param petId ID of pet to update * @param petId ID of pet to update
* @param additionalMetadata Additional data to pass to server * @param additionalMetadata Additional data to pass to server
@ -163,7 +158,6 @@ export class PromiseStoreApi {
} }
/** /**
*
* Place an order for a pet * Place an order for a pet
* @param order order placed for purchasing the pet * @param order order placed for purchasing the pet
*/ */
@ -205,7 +199,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -215,7 +208,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Creates list of users with given input array * Creates list of users with given input array
* @param user List of user object * @param user List of user object
*/ */
@ -235,7 +227,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Get user by user name * Get user by user name
* @param username The name that needs to be fetched. Use user1 for testing. * @param username The name that needs to be fetched. Use user1 for testing.
*/ */
@ -245,7 +236,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Logs user into the system * Logs user into the system
* @param username The user name for login * @param username The user name for login
* @param password The password for login in clear text * @param password The password for login in clear text
@ -256,7 +246,6 @@ export class PromiseUserApi {
} }
/** /**
*
* Logs out current logged in user session * Logs out current logged in user session
*/ */
public logoutUser(_options?: Configuration): Promise<void> { public logoutUser(_options?: Configuration): Promise<void> {

View File

@ -1 +1 @@
6.3.0-SNAPSHOT 5.3.0-SNAPSHOT

View File

@ -18,7 +18,6 @@ Method | HTTP request | Description
> Pet addPet(pet) > Pet addPet(pet)
### Example ### Example
@ -90,7 +89,6 @@ Name | Type | Description | Notes
> deletePet() > deletePet()
### Example ### Example
@ -317,7 +315,6 @@ Name | Type | Description | Notes
> Pet updatePet(pet) > Pet updatePet(pet)
### Example ### Example
@ -391,7 +388,6 @@ Name | Type | Description | Notes
> updatePetWithForm() > updatePetWithForm()
### Example ### Example
@ -451,7 +447,6 @@ void (empty response body)
> ApiResponse uploadFile() > ApiResponse uploadFile()
### Example ### Example

View File

@ -173,7 +173,6 @@ No authorization required
> Order placeOrder(order) > Order placeOrder(order)
### Example ### Example

View File

@ -81,7 +81,6 @@ void (empty response body)
> createUsersWithArrayInput(user) > createUsersWithArrayInput(user)
### Example ### Example
@ -146,7 +145,6 @@ void (empty response body)
> createUsersWithListInput(user) > createUsersWithListInput(user)
### Example ### Example
@ -266,7 +264,6 @@ void (empty response body)
> User getUserByName() > User getUserByName()
### Example ### Example
@ -322,7 +319,6 @@ No authorization required
> string loginUser() > string loginUser()
### Example ### Example
@ -380,7 +376,6 @@ No authorization required
> logoutUser() > logoutUser()
### Example ### Example

Some files were not shown because too many files have changed in this diff Show More