feat(typescript): write minimum, maxmimum and default to JSDoc (#19707)

* feat(typescript): write `minimum`, `maxmimum` and `default` to JSDoc

* feat(typescript): express optional params in JSDoc
This commit is contained in:
Joscha Feth 2024-09-29 11:42:55 +01:00 committed by GitHub
parent b01dd41ce3
commit 4223be77f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
31 changed files with 618 additions and 396 deletions

View File

@ -21,6 +21,15 @@ export interface {{classname}}{{operationIdCamelCase}}Request {
{{#allParams}} {{#allParams}}
/** /**
* {{description}} * {{description}}
{{#minimum}}
* Minimum: {{minimum}}
{{/minimum}}
{{#maximum}}
* Maximum: {{maximum}}
{{/maximum}}
{{#defaultValue}}
* Defaults to: {{defaultValue}}
{{/defaultValue}}
* @type {{dataType}} * @type {{dataType}}
* @memberof {{classname}}{{nickname}} * @memberof {{classname}}{{nickname}}
*/ */

View File

@ -58,7 +58,7 @@ export class Observable{{classname}} {
* {{&summary}} * {{&summary}}
{{/summary}} {{/summary}}
{{#allParams}} {{#allParams}}
* @param {{paramName}} {{description}} * @param {{#required}}{{paramName}}{{/required}}{{^required}}[{{paramName}}]{{/required}}{{#description}} {{description}}{{/description}}
{{/allParams}} {{/allParams}}
*/ */
public {{nickname}}WithHttpInfo({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}_options?: Configuration): Observable<HttpInfo<{{{returnType}}}{{^returnType}}void{{/returnType}}>> { public {{nickname}}WithHttpInfo({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}_options?: Configuration): Observable<HttpInfo<{{{returnType}}}{{^returnType}}void{{/returnType}}>> {
@ -88,7 +88,7 @@ export class Observable{{classname}} {
* {{&summary}} * {{&summary}}
{{/summary}} {{/summary}}
{{#allParams}} {{#allParams}}
* @param {{paramName}} {{description}} * @param {{#required}}{{paramName}}{{/required}}{{^required}}[{{paramName}}]{{/required}}{{#description}} {{description}}{{/description}}
{{/allParams}} {{/allParams}}
*/ */
public {{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}_options?: Configuration): Observable<{{{returnType}}}{{^returnType}}void{{/returnType}}> { public {{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}_options?: Configuration): Observable<{{{returnType}}}{{^returnType}}void{{/returnType}}> {

View File

@ -48,7 +48,7 @@ export class Promise{{classname}} {
* {{&summary}} * {{&summary}}
{{/summary}} {{/summary}}
{{#allParams}} {{#allParams}}
* @param {{paramName}} {{description}} * @param {{#required}}{{paramName}}{{/required}}{{^required}}[{{paramName}}]{{/required}}{{#description}} {{description}}{{/description}}
{{/allParams}} {{/allParams}}
*/ */
public {{nickname}}WithHttpInfo({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}_options?: Configuration): Promise<HttpInfo<{{{returnType}}}{{^returnType}}void{{/returnType}}>> { public {{nickname}}WithHttpInfo({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}_options?: Configuration): Promise<HttpInfo<{{{returnType}}}{{^returnType}}void{{/returnType}}>> {
@ -64,7 +64,7 @@ export class Promise{{classname}} {
* {{&summary}} * {{&summary}}
{{/summary}} {{/summary}}
{{#allParams}} {{#allParams}}
* @param {{paramName}} {{description}} * @param {{#required}}{{paramName}}{{/required}}{{^required}}[{{paramName}}]{{/required}}{{#description}} {{description}}{{/description}}
{{/allParams}} {{/allParams}}
*/ */
public {{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}_options?: Configuration): Promise<{{{returnType}}}{{^returnType}}void{{/returnType}}> { public {{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}_options?: Configuration): Promise<{{{returnType}}}{{^returnType}}void{{/returnType}}> {

View File

@ -454,7 +454,7 @@ export class ObservableDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeArrayOfArraysPostWithHttpInfo(requestBody: Array<Array<string>>, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodeArrayOfArraysPostWithHttpInfo(requestBody: Array<Array<string>>, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodeArrayOfArraysPost(requestBody, _options); const requestContextPromise = this.requestFactory.testEncodeArrayOfArraysPost(requestBody, _options);
@ -476,14 +476,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeArrayOfArraysPost(requestBody: Array<Array<string>>, _options?: Configuration): Observable<void> { public testEncodeArrayOfArraysPost(requestBody: Array<Array<string>>, _options?: Configuration): Observable<void> {
return this.testEncodeArrayOfArraysPostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodeArrayOfArraysPostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param complexObject * @param complexObject
*/ */
public testEncodeArrayOfMapsOfObjectsPostWithHttpInfo(complexObject: Array<{ [key: string]: ComplexObject; }>, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodeArrayOfMapsOfObjectsPostWithHttpInfo(complexObject: Array<{ [key: string]: ComplexObject; }>, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodeArrayOfMapsOfObjectsPost(complexObject, _options); const requestContextPromise = this.requestFactory.testEncodeArrayOfMapsOfObjectsPost(complexObject, _options);
@ -505,14 +505,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param complexObject * @param complexObject
*/ */
public testEncodeArrayOfMapsOfObjectsPost(complexObject: Array<{ [key: string]: ComplexObject; }>, _options?: Configuration): Observable<void> { public testEncodeArrayOfMapsOfObjectsPost(complexObject: Array<{ [key: string]: ComplexObject; }>, _options?: Configuration): Observable<void> {
return this.testEncodeArrayOfMapsOfObjectsPostWithHttpInfo(complexObject, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodeArrayOfMapsOfObjectsPostWithHttpInfo(complexObject, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param complexObject * @param complexObject
*/ */
public testEncodeArrayOfNullableObjectsPostWithHttpInfo(complexObject: Array<ComplexObject>, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodeArrayOfNullableObjectsPostWithHttpInfo(complexObject: Array<ComplexObject>, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodeArrayOfNullableObjectsPost(complexObject, _options); const requestContextPromise = this.requestFactory.testEncodeArrayOfNullableObjectsPost(complexObject, _options);
@ -534,14 +534,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param complexObject * @param complexObject
*/ */
public testEncodeArrayOfNullableObjectsPost(complexObject: Array<ComplexObject>, _options?: Configuration): Observable<void> { public testEncodeArrayOfNullableObjectsPost(complexObject: Array<ComplexObject>, _options?: Configuration): Observable<void> {
return this.testEncodeArrayOfNullableObjectsPostWithHttpInfo(complexObject, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodeArrayOfNullableObjectsPostWithHttpInfo(complexObject, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeArrayOfNullablePostWithHttpInfo(requestBody: Array<string | null>, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodeArrayOfNullablePostWithHttpInfo(requestBody: Array<string | null>, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodeArrayOfNullablePost(requestBody, _options); const requestContextPromise = this.requestFactory.testEncodeArrayOfNullablePost(requestBody, _options);
@ -563,14 +563,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeArrayOfNullablePost(requestBody: Array<string | null>, _options?: Configuration): Observable<void> { public testEncodeArrayOfNullablePost(requestBody: Array<string | null>, _options?: Configuration): Observable<void> {
return this.testEncodeArrayOfNullablePostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodeArrayOfNullablePostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeArrayOfPostWithHttpInfo(requestBody: Array<string>, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodeArrayOfPostWithHttpInfo(requestBody: Array<string>, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodeArrayOfPost(requestBody, _options); const requestContextPromise = this.requestFactory.testEncodeArrayOfPost(requestBody, _options);
@ -592,14 +592,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeArrayOfPost(requestBody: Array<string>, _options?: Configuration): Observable<void> { public testEncodeArrayOfPost(requestBody: Array<string>, _options?: Configuration): Observable<void> {
return this.testEncodeArrayOfPostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodeArrayOfPostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param compositeObject * @param compositeObject
*/ */
public testEncodeCompositeObjectsPostWithHttpInfo(compositeObject: CompositeObject, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodeCompositeObjectsPostWithHttpInfo(compositeObject: CompositeObject, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodeCompositeObjectsPost(compositeObject, _options); const requestContextPromise = this.requestFactory.testEncodeCompositeObjectsPost(compositeObject, _options);
@ -621,14 +621,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param compositeObject * @param compositeObject
*/ */
public testEncodeCompositeObjectsPost(compositeObject: CompositeObject, _options?: Configuration): Observable<void> { public testEncodeCompositeObjectsPost(compositeObject: CompositeObject, _options?: Configuration): Observable<void> {
return this.testEncodeCompositeObjectsPostWithHttpInfo(compositeObject, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodeCompositeObjectsPostWithHttpInfo(compositeObject, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeMapOfMapsOfObjectsPostWithHttpInfo(requestBody: { [key: string]: { [key: string]: ComplexObject; }; }, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodeMapOfMapsOfObjectsPostWithHttpInfo(requestBody: { [key: string]: { [key: string]: ComplexObject; }; }, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodeMapOfMapsOfObjectsPost(requestBody, _options); const requestContextPromise = this.requestFactory.testEncodeMapOfMapsOfObjectsPost(requestBody, _options);
@ -650,14 +650,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeMapOfMapsOfObjectsPost(requestBody: { [key: string]: { [key: string]: ComplexObject; }; }, _options?: Configuration): Observable<void> { public testEncodeMapOfMapsOfObjectsPost(requestBody: { [key: string]: { [key: string]: ComplexObject; }; }, _options?: Configuration): Observable<void> {
return this.testEncodeMapOfMapsOfObjectsPostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodeMapOfMapsOfObjectsPostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeMapOfObjectsPostWithHttpInfo(requestBody: { [key: string]: ComplexObject | null; }, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodeMapOfObjectsPostWithHttpInfo(requestBody: { [key: string]: ComplexObject | null; }, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodeMapOfObjectsPost(requestBody, _options); const requestContextPromise = this.requestFactory.testEncodeMapOfObjectsPost(requestBody, _options);
@ -679,14 +679,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeMapOfObjectsPost(requestBody: { [key: string]: ComplexObject | null; }, _options?: Configuration): Observable<void> { public testEncodeMapOfObjectsPost(requestBody: { [key: string]: ComplexObject | null; }, _options?: Configuration): Observable<void> {
return this.testEncodeMapOfObjectsPostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodeMapOfObjectsPostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeMapOfPrimitivePostWithHttpInfo(requestBody: { [key: string]: string; }, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodeMapOfPrimitivePostWithHttpInfo(requestBody: { [key: string]: string; }, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodeMapOfPrimitivePost(requestBody, _options); const requestContextPromise = this.requestFactory.testEncodeMapOfPrimitivePost(requestBody, _options);
@ -708,14 +708,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeMapOfPrimitivePost(requestBody: { [key: string]: string; }, _options?: Configuration): Observable<void> { public testEncodeMapOfPrimitivePost(requestBody: { [key: string]: string; }, _options?: Configuration): Observable<void> {
return this.testEncodeMapOfPrimitivePostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodeMapOfPrimitivePostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param requestBody * @param [requestBody]
*/ */
public testEncodeNullableArrayPostWithHttpInfo(requestBody?: Array<string>, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodeNullableArrayPostWithHttpInfo(requestBody?: Array<string>, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodeNullableArrayPost(requestBody, _options); const requestContextPromise = this.requestFactory.testEncodeNullableArrayPost(requestBody, _options);
@ -737,14 +737,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param requestBody * @param [requestBody]
*/ */
public testEncodeNullableArrayPost(requestBody?: Array<string>, _options?: Configuration): Observable<void> { public testEncodeNullableArrayPost(requestBody?: Array<string>, _options?: Configuration): Observable<void> {
return this.testEncodeNullableArrayPostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodeNullableArrayPostWithHttpInfo(requestBody, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param body * @param [body]
*/ */
public testEncodeNullablePostWithHttpInfo(body?: string, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodeNullablePostWithHttpInfo(body?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodeNullablePost(body, _options); const requestContextPromise = this.requestFactory.testEncodeNullablePost(body, _options);
@ -766,14 +766,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param body * @param [body]
*/ */
public testEncodeNullablePost(body?: string, _options?: Configuration): Observable<void> { public testEncodeNullablePost(body?: string, _options?: Configuration): Observable<void> {
return this.testEncodeNullablePostWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodeNullablePostWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param complexObject * @param complexObject
*/ */
public testEncodeObjectPostWithHttpInfo(complexObject: ComplexObject, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodeObjectPostWithHttpInfo(complexObject: ComplexObject, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodeObjectPost(complexObject, _options); const requestContextPromise = this.requestFactory.testEncodeObjectPost(complexObject, _options);
@ -795,14 +795,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param complexObject * @param complexObject
*/ */
public testEncodeObjectPost(complexObject: ComplexObject, _options?: Configuration): Observable<void> { public testEncodeObjectPost(complexObject: ComplexObject, _options?: Configuration): Observable<void> {
return this.testEncodeObjectPostWithHttpInfo(complexObject, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodeObjectPostWithHttpInfo(complexObject, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveBooleanPostWithHttpInfo(body: boolean, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodePrimitiveBooleanPostWithHttpInfo(body: boolean, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodePrimitiveBooleanPost(body, _options); const requestContextPromise = this.requestFactory.testEncodePrimitiveBooleanPost(body, _options);
@ -824,14 +824,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveBooleanPost(body: boolean, _options?: Configuration): Observable<void> { public testEncodePrimitiveBooleanPost(body: boolean, _options?: Configuration): Observable<void> {
return this.testEncodePrimitiveBooleanPostWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodePrimitiveBooleanPostWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveIntegerPostWithHttpInfo(body: number, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodePrimitiveIntegerPostWithHttpInfo(body: number, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodePrimitiveIntegerPost(body, _options); const requestContextPromise = this.requestFactory.testEncodePrimitiveIntegerPost(body, _options);
@ -853,14 +853,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveIntegerPost(body: number, _options?: Configuration): Observable<void> { public testEncodePrimitiveIntegerPost(body: number, _options?: Configuration): Observable<void> {
return this.testEncodePrimitiveIntegerPostWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodePrimitiveIntegerPostWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveNumberPostWithHttpInfo(body: number, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodePrimitiveNumberPostWithHttpInfo(body: number, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodePrimitiveNumberPost(body, _options); const requestContextPromise = this.requestFactory.testEncodePrimitiveNumberPost(body, _options);
@ -882,14 +882,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveNumberPost(body: number, _options?: Configuration): Observable<void> { public testEncodePrimitiveNumberPost(body: number, _options?: Configuration): Observable<void> {
return this.testEncodePrimitiveNumberPostWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodePrimitiveNumberPostWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveStringPostWithHttpInfo(body: string, _options?: Configuration): Observable<HttpInfo<void>> { public testEncodePrimitiveStringPostWithHttpInfo(body: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEncodePrimitiveStringPost(body, _options); const requestContextPromise = this.requestFactory.testEncodePrimitiveStringPost(body, _options);
@ -911,7 +911,7 @@ export class ObservableDefaultApi {
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveStringPost(body: string, _options?: Configuration): Observable<void> { public testEncodePrimitiveStringPost(body: string, _options?: Configuration): Observable<void> {
return this.testEncodePrimitiveStringPostWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEncodePrimitiveStringPostWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));

View File

@ -242,7 +242,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeArrayOfArraysPostWithHttpInfo(requestBody: Array<Array<string>>, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodeArrayOfArraysPostWithHttpInfo(requestBody: Array<Array<string>>, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodeArrayOfArraysPostWithHttpInfo(requestBody, _options); const result = this.api.testEncodeArrayOfArraysPostWithHttpInfo(requestBody, _options);
@ -250,7 +250,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeArrayOfArraysPost(requestBody: Array<Array<string>>, _options?: Configuration): Promise<void> { public testEncodeArrayOfArraysPost(requestBody: Array<Array<string>>, _options?: Configuration): Promise<void> {
const result = this.api.testEncodeArrayOfArraysPost(requestBody, _options); const result = this.api.testEncodeArrayOfArraysPost(requestBody, _options);
@ -258,7 +258,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param complexObject * @param complexObject
*/ */
public testEncodeArrayOfMapsOfObjectsPostWithHttpInfo(complexObject: Array<{ [key: string]: ComplexObject; }>, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodeArrayOfMapsOfObjectsPostWithHttpInfo(complexObject: Array<{ [key: string]: ComplexObject; }>, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodeArrayOfMapsOfObjectsPostWithHttpInfo(complexObject, _options); const result = this.api.testEncodeArrayOfMapsOfObjectsPostWithHttpInfo(complexObject, _options);
@ -266,7 +266,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param complexObject * @param complexObject
*/ */
public testEncodeArrayOfMapsOfObjectsPost(complexObject: Array<{ [key: string]: ComplexObject; }>, _options?: Configuration): Promise<void> { public testEncodeArrayOfMapsOfObjectsPost(complexObject: Array<{ [key: string]: ComplexObject; }>, _options?: Configuration): Promise<void> {
const result = this.api.testEncodeArrayOfMapsOfObjectsPost(complexObject, _options); const result = this.api.testEncodeArrayOfMapsOfObjectsPost(complexObject, _options);
@ -274,7 +274,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param complexObject * @param complexObject
*/ */
public testEncodeArrayOfNullableObjectsPostWithHttpInfo(complexObject: Array<ComplexObject>, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodeArrayOfNullableObjectsPostWithHttpInfo(complexObject: Array<ComplexObject>, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodeArrayOfNullableObjectsPostWithHttpInfo(complexObject, _options); const result = this.api.testEncodeArrayOfNullableObjectsPostWithHttpInfo(complexObject, _options);
@ -282,7 +282,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param complexObject * @param complexObject
*/ */
public testEncodeArrayOfNullableObjectsPost(complexObject: Array<ComplexObject>, _options?: Configuration): Promise<void> { public testEncodeArrayOfNullableObjectsPost(complexObject: Array<ComplexObject>, _options?: Configuration): Promise<void> {
const result = this.api.testEncodeArrayOfNullableObjectsPost(complexObject, _options); const result = this.api.testEncodeArrayOfNullableObjectsPost(complexObject, _options);
@ -290,7 +290,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeArrayOfNullablePostWithHttpInfo(requestBody: Array<string | null>, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodeArrayOfNullablePostWithHttpInfo(requestBody: Array<string | null>, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodeArrayOfNullablePostWithHttpInfo(requestBody, _options); const result = this.api.testEncodeArrayOfNullablePostWithHttpInfo(requestBody, _options);
@ -298,7 +298,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeArrayOfNullablePost(requestBody: Array<string | null>, _options?: Configuration): Promise<void> { public testEncodeArrayOfNullablePost(requestBody: Array<string | null>, _options?: Configuration): Promise<void> {
const result = this.api.testEncodeArrayOfNullablePost(requestBody, _options); const result = this.api.testEncodeArrayOfNullablePost(requestBody, _options);
@ -306,7 +306,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeArrayOfPostWithHttpInfo(requestBody: Array<string>, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodeArrayOfPostWithHttpInfo(requestBody: Array<string>, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodeArrayOfPostWithHttpInfo(requestBody, _options); const result = this.api.testEncodeArrayOfPostWithHttpInfo(requestBody, _options);
@ -314,7 +314,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeArrayOfPost(requestBody: Array<string>, _options?: Configuration): Promise<void> { public testEncodeArrayOfPost(requestBody: Array<string>, _options?: Configuration): Promise<void> {
const result = this.api.testEncodeArrayOfPost(requestBody, _options); const result = this.api.testEncodeArrayOfPost(requestBody, _options);
@ -322,7 +322,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param compositeObject * @param compositeObject
*/ */
public testEncodeCompositeObjectsPostWithHttpInfo(compositeObject: CompositeObject, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodeCompositeObjectsPostWithHttpInfo(compositeObject: CompositeObject, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodeCompositeObjectsPostWithHttpInfo(compositeObject, _options); const result = this.api.testEncodeCompositeObjectsPostWithHttpInfo(compositeObject, _options);
@ -330,7 +330,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param compositeObject * @param compositeObject
*/ */
public testEncodeCompositeObjectsPost(compositeObject: CompositeObject, _options?: Configuration): Promise<void> { public testEncodeCompositeObjectsPost(compositeObject: CompositeObject, _options?: Configuration): Promise<void> {
const result = this.api.testEncodeCompositeObjectsPost(compositeObject, _options); const result = this.api.testEncodeCompositeObjectsPost(compositeObject, _options);
@ -338,7 +338,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeMapOfMapsOfObjectsPostWithHttpInfo(requestBody: { [key: string]: { [key: string]: ComplexObject; }; }, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodeMapOfMapsOfObjectsPostWithHttpInfo(requestBody: { [key: string]: { [key: string]: ComplexObject; }; }, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodeMapOfMapsOfObjectsPostWithHttpInfo(requestBody, _options); const result = this.api.testEncodeMapOfMapsOfObjectsPostWithHttpInfo(requestBody, _options);
@ -346,7 +346,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeMapOfMapsOfObjectsPost(requestBody: { [key: string]: { [key: string]: ComplexObject; }; }, _options?: Configuration): Promise<void> { public testEncodeMapOfMapsOfObjectsPost(requestBody: { [key: string]: { [key: string]: ComplexObject; }; }, _options?: Configuration): Promise<void> {
const result = this.api.testEncodeMapOfMapsOfObjectsPost(requestBody, _options); const result = this.api.testEncodeMapOfMapsOfObjectsPost(requestBody, _options);
@ -354,7 +354,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeMapOfObjectsPostWithHttpInfo(requestBody: { [key: string]: ComplexObject | null; }, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodeMapOfObjectsPostWithHttpInfo(requestBody: { [key: string]: ComplexObject | null; }, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodeMapOfObjectsPostWithHttpInfo(requestBody, _options); const result = this.api.testEncodeMapOfObjectsPostWithHttpInfo(requestBody, _options);
@ -362,7 +362,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeMapOfObjectsPost(requestBody: { [key: string]: ComplexObject | null; }, _options?: Configuration): Promise<void> { public testEncodeMapOfObjectsPost(requestBody: { [key: string]: ComplexObject | null; }, _options?: Configuration): Promise<void> {
const result = this.api.testEncodeMapOfObjectsPost(requestBody, _options); const result = this.api.testEncodeMapOfObjectsPost(requestBody, _options);
@ -370,7 +370,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeMapOfPrimitivePostWithHttpInfo(requestBody: { [key: string]: string; }, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodeMapOfPrimitivePostWithHttpInfo(requestBody: { [key: string]: string; }, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodeMapOfPrimitivePostWithHttpInfo(requestBody, _options); const result = this.api.testEncodeMapOfPrimitivePostWithHttpInfo(requestBody, _options);
@ -378,7 +378,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param requestBody
*/ */
public testEncodeMapOfPrimitivePost(requestBody: { [key: string]: string; }, _options?: Configuration): Promise<void> { public testEncodeMapOfPrimitivePost(requestBody: { [key: string]: string; }, _options?: Configuration): Promise<void> {
const result = this.api.testEncodeMapOfPrimitivePost(requestBody, _options); const result = this.api.testEncodeMapOfPrimitivePost(requestBody, _options);
@ -386,7 +386,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param [requestBody]
*/ */
public testEncodeNullableArrayPostWithHttpInfo(requestBody?: Array<string>, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodeNullableArrayPostWithHttpInfo(requestBody?: Array<string>, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodeNullableArrayPostWithHttpInfo(requestBody, _options); const result = this.api.testEncodeNullableArrayPostWithHttpInfo(requestBody, _options);
@ -394,7 +394,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param requestBody * @param [requestBody]
*/ */
public testEncodeNullableArrayPost(requestBody?: Array<string>, _options?: Configuration): Promise<void> { public testEncodeNullableArrayPost(requestBody?: Array<string>, _options?: Configuration): Promise<void> {
const result = this.api.testEncodeNullableArrayPost(requestBody, _options); const result = this.api.testEncodeNullableArrayPost(requestBody, _options);
@ -402,7 +402,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param body * @param [body]
*/ */
public testEncodeNullablePostWithHttpInfo(body?: string, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodeNullablePostWithHttpInfo(body?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodeNullablePostWithHttpInfo(body, _options); const result = this.api.testEncodeNullablePostWithHttpInfo(body, _options);
@ -410,7 +410,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param body * @param [body]
*/ */
public testEncodeNullablePost(body?: string, _options?: Configuration): Promise<void> { public testEncodeNullablePost(body?: string, _options?: Configuration): Promise<void> {
const result = this.api.testEncodeNullablePost(body, _options); const result = this.api.testEncodeNullablePost(body, _options);
@ -418,7 +418,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param complexObject * @param complexObject
*/ */
public testEncodeObjectPostWithHttpInfo(complexObject: ComplexObject, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodeObjectPostWithHttpInfo(complexObject: ComplexObject, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodeObjectPostWithHttpInfo(complexObject, _options); const result = this.api.testEncodeObjectPostWithHttpInfo(complexObject, _options);
@ -426,7 +426,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param complexObject * @param complexObject
*/ */
public testEncodeObjectPost(complexObject: ComplexObject, _options?: Configuration): Promise<void> { public testEncodeObjectPost(complexObject: ComplexObject, _options?: Configuration): Promise<void> {
const result = this.api.testEncodeObjectPost(complexObject, _options); const result = this.api.testEncodeObjectPost(complexObject, _options);
@ -434,7 +434,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveBooleanPostWithHttpInfo(body: boolean, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodePrimitiveBooleanPostWithHttpInfo(body: boolean, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodePrimitiveBooleanPostWithHttpInfo(body, _options); const result = this.api.testEncodePrimitiveBooleanPostWithHttpInfo(body, _options);
@ -442,7 +442,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveBooleanPost(body: boolean, _options?: Configuration): Promise<void> { public testEncodePrimitiveBooleanPost(body: boolean, _options?: Configuration): Promise<void> {
const result = this.api.testEncodePrimitiveBooleanPost(body, _options); const result = this.api.testEncodePrimitiveBooleanPost(body, _options);
@ -450,7 +450,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveIntegerPostWithHttpInfo(body: number, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodePrimitiveIntegerPostWithHttpInfo(body: number, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodePrimitiveIntegerPostWithHttpInfo(body, _options); const result = this.api.testEncodePrimitiveIntegerPostWithHttpInfo(body, _options);
@ -458,7 +458,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveIntegerPost(body: number, _options?: Configuration): Promise<void> { public testEncodePrimitiveIntegerPost(body: number, _options?: Configuration): Promise<void> {
const result = this.api.testEncodePrimitiveIntegerPost(body, _options); const result = this.api.testEncodePrimitiveIntegerPost(body, _options);
@ -466,7 +466,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveNumberPostWithHttpInfo(body: number, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodePrimitiveNumberPostWithHttpInfo(body: number, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodePrimitiveNumberPostWithHttpInfo(body, _options); const result = this.api.testEncodePrimitiveNumberPostWithHttpInfo(body, _options);
@ -474,7 +474,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveNumberPost(body: number, _options?: Configuration): Promise<void> { public testEncodePrimitiveNumberPost(body: number, _options?: Configuration): Promise<void> {
const result = this.api.testEncodePrimitiveNumberPost(body, _options); const result = this.api.testEncodePrimitiveNumberPost(body, _options);
@ -482,7 +482,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveStringPostWithHttpInfo(body: string, _options?: Configuration): Promise<HttpInfo<void>> { public testEncodePrimitiveStringPostWithHttpInfo(body: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEncodePrimitiveStringPostWithHttpInfo(body, _options); const result = this.api.testEncodePrimitiveStringPostWithHttpInfo(body, _options);
@ -490,7 +490,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param body * @param body
*/ */
public testEncodePrimitiveStringPost(body: string, _options?: Configuration): Promise<void> { public testEncodePrimitiveStringPost(body: string, _options?: Configuration): Promise<void> {
const result = this.api.testEncodePrimitiveStringPost(body, _options); const result = this.api.testEncodePrimitiveStringPost(body, _options);

View File

@ -23,12 +23,14 @@ export interface PetApiAddPetRequest {
export interface PetApiDeletePetRequest { export interface PetApiDeletePetRequest {
/** /**
* Pet id to delete * Pet id to delete
* Defaults to: undefined
* @type number * @type number
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
petId: number petId: number
/** /**
* *
* Defaults to: undefined
* @type string * @type string
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
@ -38,6 +40,7 @@ export interface PetApiDeletePetRequest {
export interface PetApiFindPetsByStatusRequest { export interface PetApiFindPetsByStatusRequest {
/** /**
* Status values that need to be considered for filter * Status values that need to be considered for filter
* Defaults to: undefined
* @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt; * @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt;
* @memberof PetApifindPetsByStatus * @memberof PetApifindPetsByStatus
*/ */
@ -47,6 +50,7 @@ export interface PetApiFindPetsByStatusRequest {
export interface PetApiFindPetsByTagsRequest { export interface PetApiFindPetsByTagsRequest {
/** /**
* Tags to filter by * Tags to filter by
* Defaults to: undefined
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof PetApifindPetsByTags * @memberof PetApifindPetsByTags
*/ */
@ -56,6 +60,7 @@ export interface PetApiFindPetsByTagsRequest {
export interface PetApiGetPetByIdRequest { export interface PetApiGetPetByIdRequest {
/** /**
* ID of pet to return * ID of pet to return
* Defaults to: undefined
* @type number * @type number
* @memberof PetApigetPetById * @memberof PetApigetPetById
*/ */
@ -74,18 +79,21 @@ export interface PetApiUpdatePetRequest {
export interface PetApiUpdatePetWithFormRequest { export interface PetApiUpdatePetWithFormRequest {
/** /**
* ID of pet that needs to be updated * ID of pet that needs to be updated
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
petId: number petId: number
/** /**
* Updated name of the pet * Updated name of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
name?: string name?: string
/** /**
* Updated status of the pet * Updated status of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
@ -95,18 +103,21 @@ export interface PetApiUpdatePetWithFormRequest {
export interface PetApiUploadFileRequest { export interface PetApiUploadFileRequest {
/** /**
* ID of pet to update * ID of pet to update
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
petId: number petId: number
/** /**
* Additional data to pass to server * Additional data to pass to server
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
additionalMetadata?: string additionalMetadata?: string
/** /**
* file to upload * file to upload
* Defaults to: undefined
* @type HttpFile * @type HttpFile
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
@ -272,6 +283,7 @@ import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreA
export interface StoreApiDeleteOrderRequest { export interface StoreApiDeleteOrderRequest {
/** /**
* ID of the order that needs to be deleted * ID of the order that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof StoreApideleteOrder * @memberof StoreApideleteOrder
*/ */
@ -284,6 +296,9 @@ export interface StoreApiGetInventoryRequest {
export interface StoreApiGetOrderByIdRequest { export interface StoreApiGetOrderByIdRequest {
/** /**
* ID of pet that needs to be fetched * ID of pet that needs to be fetched
* Minimum: 1
* Maximum: 5
* Defaults to: undefined
* @type number * @type number
* @memberof StoreApigetOrderById * @memberof StoreApigetOrderById
*/ */
@ -413,6 +428,7 @@ export interface UserApiCreateUsersWithListInputRequest {
export interface UserApiDeleteUserRequest { export interface UserApiDeleteUserRequest {
/** /**
* The name that needs to be deleted * The name that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApideleteUser * @memberof UserApideleteUser
*/ */
@ -422,6 +438,7 @@ export interface UserApiDeleteUserRequest {
export interface UserApiGetUserByNameRequest { export interface UserApiGetUserByNameRequest {
/** /**
* The name that needs to be fetched. Use user1 for testing. * The name that needs to be fetched. Use user1 for testing.
* Defaults to: undefined
* @type string * @type string
* @memberof UserApigetUserByName * @memberof UserApigetUserByName
*/ */
@ -431,12 +448,14 @@ export interface UserApiGetUserByNameRequest {
export interface UserApiLoginUserRequest { export interface UserApiLoginUserRequest {
/** /**
* The user name for login * The user name for login
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
username: string username: string
/** /**
* The password for login in clear text * The password for login in clear text
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
@ -449,6 +468,7 @@ export interface UserApiLogoutUserRequest {
export interface UserApiUpdateUserRequest { export interface UserApiUpdateUserRequest {
/** /**
* name that need to be deleted * name that need to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiupdateUser * @memberof UserApiupdateUser
*/ */

View File

@ -62,7 +62,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options); const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options);
@ -87,7 +87,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> {
return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -229,8 +229,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options); const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options);
@ -255,8 +255,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> {
return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -266,8 +266,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> {
const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options); const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options);
@ -292,8 +292,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> {
return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data)); return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data));

View File

@ -45,7 +45,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options); const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options);
@ -56,7 +56,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> {
const result = this.api.deletePet(petId, apiKey, _options); const result = this.api.deletePet(petId, apiKey, _options);
@ -147,8 +147,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options); const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options);
@ -159,8 +159,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> {
const result = this.api.updatePetWithForm(petId, name, status, _options); const result = this.api.updatePetWithForm(petId, name, status, _options);
@ -171,8 +171,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> {
const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options); const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options);
@ -183,8 +183,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> {
const result = this.api.uploadFile(petId, additionalMetadata, file, _options); const result = this.api.uploadFile(petId, additionalMetadata, file, _options);

View File

@ -27,7 +27,7 @@ export class ObservableDefaultApi {
} }
/** /**
* @param filePostRequest * @param [filePostRequest]
*/ */
public filePostWithHttpInfo(filePostRequest?: FilePostRequest, _options?: Configuration): Observable<HttpInfo<void>> { public filePostWithHttpInfo(filePostRequest?: FilePostRequest, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.filePost(filePostRequest, _options); const requestContextPromise = this.requestFactory.filePost(filePostRequest, _options);
@ -49,14 +49,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param filePostRequest * @param [filePostRequest]
*/ */
public filePost(filePostRequest?: FilePostRequest, _options?: Configuration): Observable<void> { public filePost(filePostRequest?: FilePostRequest, _options?: Configuration): Observable<void> {
return this.filePostWithHttpInfo(filePostRequest, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.filePostWithHttpInfo(filePostRequest, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param petsFilteredPatchRequest * @param [petsFilteredPatchRequest]
*/ */
public petsFilteredPatchWithHttpInfo(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Observable<HttpInfo<void>> { public petsFilteredPatchWithHttpInfo(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.petsFilteredPatch(petsFilteredPatchRequest, _options); const requestContextPromise = this.requestFactory.petsFilteredPatch(petsFilteredPatchRequest, _options);
@ -78,14 +78,14 @@ export class ObservableDefaultApi {
} }
/** /**
* @param petsFilteredPatchRequest * @param [petsFilteredPatchRequest]
*/ */
public petsFilteredPatch(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Observable<void> { public petsFilteredPatch(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Observable<void> {
return this.petsFilteredPatchWithHttpInfo(petsFilteredPatchRequest, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.petsFilteredPatchWithHttpInfo(petsFilteredPatchRequest, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param petsPatchRequest * @param [petsPatchRequest]
*/ */
public petsPatchWithHttpInfo(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Observable<HttpInfo<void>> { public petsPatchWithHttpInfo(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.petsPatch(petsPatchRequest, _options); const requestContextPromise = this.requestFactory.petsPatch(petsPatchRequest, _options);
@ -107,7 +107,7 @@ export class ObservableDefaultApi {
} }
/** /**
* @param petsPatchRequest * @param [petsPatchRequest]
*/ */
public petsPatch(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Observable<void> { public petsPatch(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Observable<void> {
return this.petsPatchWithHttpInfo(petsPatchRequest, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.petsPatchWithHttpInfo(petsPatchRequest, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));

View File

@ -23,7 +23,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param filePostRequest * @param [filePostRequest]
*/ */
public filePostWithHttpInfo(filePostRequest?: FilePostRequest, _options?: Configuration): Promise<HttpInfo<void>> { public filePostWithHttpInfo(filePostRequest?: FilePostRequest, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.filePostWithHttpInfo(filePostRequest, _options); const result = this.api.filePostWithHttpInfo(filePostRequest, _options);
@ -31,7 +31,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param filePostRequest * @param [filePostRequest]
*/ */
public filePost(filePostRequest?: FilePostRequest, _options?: Configuration): Promise<void> { public filePost(filePostRequest?: FilePostRequest, _options?: Configuration): Promise<void> {
const result = this.api.filePost(filePostRequest, _options); const result = this.api.filePost(filePostRequest, _options);
@ -39,7 +39,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param petsFilteredPatchRequest * @param [petsFilteredPatchRequest]
*/ */
public petsFilteredPatchWithHttpInfo(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Promise<HttpInfo<void>> { public petsFilteredPatchWithHttpInfo(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.petsFilteredPatchWithHttpInfo(petsFilteredPatchRequest, _options); const result = this.api.petsFilteredPatchWithHttpInfo(petsFilteredPatchRequest, _options);
@ -47,7 +47,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param petsFilteredPatchRequest * @param [petsFilteredPatchRequest]
*/ */
public petsFilteredPatch(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Promise<void> { public petsFilteredPatch(petsFilteredPatchRequest?: PetsFilteredPatchRequest, _options?: Configuration): Promise<void> {
const result = this.api.petsFilteredPatch(petsFilteredPatchRequest, _options); const result = this.api.petsFilteredPatch(petsFilteredPatchRequest, _options);
@ -55,7 +55,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param petsPatchRequest * @param [petsPatchRequest]
*/ */
public petsPatchWithHttpInfo(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Promise<HttpInfo<void>> { public petsPatchWithHttpInfo(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.petsPatchWithHttpInfo(petsPatchRequest, _options); const result = this.api.petsPatchWithHttpInfo(petsPatchRequest, _options);
@ -63,7 +63,7 @@ export class PromiseDefaultApi {
} }
/** /**
* @param petsPatchRequest * @param [petsPatchRequest]
*/ */
public petsPatch(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Promise<void> { public petsPatch(petsPatchRequest?: PetsPatchRequest, _options?: Configuration): Promise<void> {
const result = this.api.petsPatch(petsPatchRequest, _options); const result = this.api.petsPatch(petsPatchRequest, _options);

View File

@ -23,12 +23,14 @@ export interface PetApiAddPetRequest {
export interface PetApiDeletePetRequest { export interface PetApiDeletePetRequest {
/** /**
* Pet id to delete * Pet id to delete
* Defaults to: undefined
* @type number * @type number
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
petId: number petId: number
/** /**
* *
* Defaults to: undefined
* @type string * @type string
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
@ -38,6 +40,7 @@ export interface PetApiDeletePetRequest {
export interface PetApiFindPetsByStatusRequest { export interface PetApiFindPetsByStatusRequest {
/** /**
* Status values that need to be considered for filter * Status values that need to be considered for filter
* Defaults to: undefined
* @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt; * @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt;
* @memberof PetApifindPetsByStatus * @memberof PetApifindPetsByStatus
*/ */
@ -47,6 +50,7 @@ export interface PetApiFindPetsByStatusRequest {
export interface PetApiFindPetsByTagsRequest { export interface PetApiFindPetsByTagsRequest {
/** /**
* Tags to filter by * Tags to filter by
* Defaults to: undefined
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof PetApifindPetsByTags * @memberof PetApifindPetsByTags
*/ */
@ -56,6 +60,7 @@ export interface PetApiFindPetsByTagsRequest {
export interface PetApiGetPetByIdRequest { export interface PetApiGetPetByIdRequest {
/** /**
* ID of pet to return * ID of pet to return
* Defaults to: undefined
* @type number * @type number
* @memberof PetApigetPetById * @memberof PetApigetPetById
*/ */
@ -74,18 +79,21 @@ export interface PetApiUpdatePetRequest {
export interface PetApiUpdatePetWithFormRequest { export interface PetApiUpdatePetWithFormRequest {
/** /**
* ID of pet that needs to be updated * ID of pet that needs to be updated
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
petId: number petId: number
/** /**
* Updated name of the pet * Updated name of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
name?: string name?: string
/** /**
* Updated status of the pet * Updated status of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
@ -95,18 +103,21 @@ export interface PetApiUpdatePetWithFormRequest {
export interface PetApiUploadFileRequest { export interface PetApiUploadFileRequest {
/** /**
* ID of pet to update * ID of pet to update
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
petId: number petId: number
/** /**
* Additional data to pass to server * Additional data to pass to server
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
additionalMetadata?: string additionalMetadata?: string
/** /**
* file to upload * file to upload
* Defaults to: undefined
* @type HttpFile * @type HttpFile
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
@ -272,6 +283,7 @@ import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreA
export interface StoreApiDeleteOrderRequest { export interface StoreApiDeleteOrderRequest {
/** /**
* ID of the order that needs to be deleted * ID of the order that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof StoreApideleteOrder * @memberof StoreApideleteOrder
*/ */
@ -284,6 +296,9 @@ export interface StoreApiGetInventoryRequest {
export interface StoreApiGetOrderByIdRequest { export interface StoreApiGetOrderByIdRequest {
/** /**
* ID of pet that needs to be fetched * ID of pet that needs to be fetched
* Minimum: 1
* Maximum: 5
* Defaults to: undefined
* @type number * @type number
* @memberof StoreApigetOrderById * @memberof StoreApigetOrderById
*/ */
@ -413,6 +428,7 @@ export interface UserApiCreateUsersWithListInputRequest {
export interface UserApiDeleteUserRequest { export interface UserApiDeleteUserRequest {
/** /**
* The name that needs to be deleted * The name that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApideleteUser * @memberof UserApideleteUser
*/ */
@ -422,6 +438,7 @@ export interface UserApiDeleteUserRequest {
export interface UserApiGetUserByNameRequest { export interface UserApiGetUserByNameRequest {
/** /**
* The name that needs to be fetched. Use user1 for testing. * The name that needs to be fetched. Use user1 for testing.
* Defaults to: undefined
* @type string * @type string
* @memberof UserApigetUserByName * @memberof UserApigetUserByName
*/ */
@ -431,12 +448,14 @@ export interface UserApiGetUserByNameRequest {
export interface UserApiLoginUserRequest { export interface UserApiLoginUserRequest {
/** /**
* The user name for login * The user name for login
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
username: string username: string
/** /**
* The password for login in clear text * The password for login in clear text
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
@ -449,6 +468,7 @@ export interface UserApiLogoutUserRequest {
export interface UserApiUpdateUserRequest { export interface UserApiUpdateUserRequest {
/** /**
* name that need to be deleted * name that need to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiupdateUser * @memberof UserApiupdateUser
*/ */

View File

@ -62,7 +62,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options); const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options);
@ -87,7 +87,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> {
return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -229,8 +229,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options); const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options);
@ -255,8 +255,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> {
return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -266,8 +266,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> {
const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options); const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options);
@ -292,8 +292,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> {
return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data)); return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data));

View File

@ -45,7 +45,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options); const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options);
@ -56,7 +56,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> {
const result = this.api.deletePet(petId, apiKey, _options); const result = this.api.deletePet(petId, apiKey, _options);
@ -147,8 +147,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options); const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options);
@ -159,8 +159,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> {
const result = this.api.updatePetWithForm(petId, name, status, _options); const result = this.api.updatePetWithForm(petId, name, status, _options);
@ -171,8 +171,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> {
const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options); const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options);
@ -183,8 +183,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> {
const result = this.api.uploadFile(petId, additionalMetadata, file, _options); const result = this.api.uploadFile(petId, additionalMetadata, file, _options);

View File

@ -23,12 +23,14 @@ export interface PetApiAddPetRequest {
export interface PetApiDeletePetRequest { export interface PetApiDeletePetRequest {
/** /**
* Pet id to delete * Pet id to delete
* Defaults to: undefined
* @type number * @type number
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
petId: number petId: number
/** /**
* *
* Defaults to: undefined
* @type string * @type string
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
@ -38,6 +40,7 @@ export interface PetApiDeletePetRequest {
export interface PetApiFindPetsByStatusRequest { export interface PetApiFindPetsByStatusRequest {
/** /**
* Status values that need to be considered for filter * Status values that need to be considered for filter
* Defaults to: undefined
* @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt; * @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt;
* @memberof PetApifindPetsByStatus * @memberof PetApifindPetsByStatus
*/ */
@ -47,6 +50,7 @@ export interface PetApiFindPetsByStatusRequest {
export interface PetApiFindPetsByTagsRequest { export interface PetApiFindPetsByTagsRequest {
/** /**
* Tags to filter by * Tags to filter by
* Defaults to: undefined
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof PetApifindPetsByTags * @memberof PetApifindPetsByTags
*/ */
@ -56,6 +60,7 @@ export interface PetApiFindPetsByTagsRequest {
export interface PetApiGetPetByIdRequest { export interface PetApiGetPetByIdRequest {
/** /**
* ID of pet to return * ID of pet to return
* Defaults to: undefined
* @type number * @type number
* @memberof PetApigetPetById * @memberof PetApigetPetById
*/ */
@ -74,18 +79,21 @@ export interface PetApiUpdatePetRequest {
export interface PetApiUpdatePetWithFormRequest { export interface PetApiUpdatePetWithFormRequest {
/** /**
* ID of pet that needs to be updated * ID of pet that needs to be updated
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
petId: number petId: number
/** /**
* Updated name of the pet * Updated name of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
name?: string name?: string
/** /**
* Updated status of the pet * Updated status of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
@ -95,18 +103,21 @@ export interface PetApiUpdatePetWithFormRequest {
export interface PetApiUploadFileRequest { export interface PetApiUploadFileRequest {
/** /**
* ID of pet to update * ID of pet to update
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
petId: number petId: number
/** /**
* Additional data to pass to server * Additional data to pass to server
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
additionalMetadata?: string additionalMetadata?: string
/** /**
* file to upload * file to upload
* Defaults to: undefined
* @type HttpFile * @type HttpFile
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
@ -272,6 +283,7 @@ import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreA
export interface StoreApiDeleteOrderRequest { export interface StoreApiDeleteOrderRequest {
/** /**
* ID of the order that needs to be deleted * ID of the order that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof StoreApideleteOrder * @memberof StoreApideleteOrder
*/ */
@ -284,6 +296,9 @@ export interface StoreApiGetInventoryRequest {
export interface StoreApiGetOrderByIdRequest { export interface StoreApiGetOrderByIdRequest {
/** /**
* ID of pet that needs to be fetched * ID of pet that needs to be fetched
* Minimum: 1
* Maximum: 5
* Defaults to: undefined
* @type number * @type number
* @memberof StoreApigetOrderById * @memberof StoreApigetOrderById
*/ */
@ -413,6 +428,7 @@ export interface UserApiCreateUsersWithListInputRequest {
export interface UserApiDeleteUserRequest { export interface UserApiDeleteUserRequest {
/** /**
* The name that needs to be deleted * The name that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApideleteUser * @memberof UserApideleteUser
*/ */
@ -422,6 +438,7 @@ export interface UserApiDeleteUserRequest {
export interface UserApiGetUserByNameRequest { export interface UserApiGetUserByNameRequest {
/** /**
* The name that needs to be fetched. Use user1 for testing. * The name that needs to be fetched. Use user1 for testing.
* Defaults to: undefined
* @type string * @type string
* @memberof UserApigetUserByName * @memberof UserApigetUserByName
*/ */
@ -431,12 +448,14 @@ export interface UserApiGetUserByNameRequest {
export interface UserApiLoginUserRequest { export interface UserApiLoginUserRequest {
/** /**
* The user name for login * The user name for login
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
username: string username: string
/** /**
* The password for login in clear text * The password for login in clear text
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
@ -449,6 +468,7 @@ export interface UserApiLogoutUserRequest {
export interface UserApiUpdateUserRequest { export interface UserApiUpdateUserRequest {
/** /**
* name that need to be deleted * name that need to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiupdateUser * @memberof UserApiupdateUser
*/ */

View File

@ -62,7 +62,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options); const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options);
@ -87,7 +87,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> {
return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -229,8 +229,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options); const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options);
@ -255,8 +255,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> {
return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -266,8 +266,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> {
const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options); const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options);
@ -292,8 +292,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> {
return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data)); return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data));

View File

@ -45,7 +45,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options); const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options);
@ -56,7 +56,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> {
const result = this.api.deletePet(petId, apiKey, _options); const result = this.api.deletePet(petId, apiKey, _options);
@ -147,8 +147,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options); const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options);
@ -159,8 +159,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> {
const result = this.api.updatePetWithForm(petId, name, status, _options); const result = this.api.updatePetWithForm(petId, name, status, _options);
@ -171,8 +171,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> {
const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options); const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options);
@ -183,8 +183,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> {
const result = this.api.uploadFile(petId, additionalMetadata, file, _options); const result = this.api.uploadFile(petId, additionalMetadata, file, _options);

View File

@ -23,12 +23,14 @@ export interface PetApiAddPetRequest {
export interface PetApiDeletePetRequest { export interface PetApiDeletePetRequest {
/** /**
* Pet id to delete * Pet id to delete
* Defaults to: undefined
* @type number * @type number
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
petId: number petId: number
/** /**
* *
* Defaults to: undefined
* @type string * @type string
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
@ -38,6 +40,7 @@ export interface PetApiDeletePetRequest {
export interface PetApiFindPetsByStatusRequest { export interface PetApiFindPetsByStatusRequest {
/** /**
* Status values that need to be considered for filter * Status values that need to be considered for filter
* Defaults to: undefined
* @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt; * @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt;
* @memberof PetApifindPetsByStatus * @memberof PetApifindPetsByStatus
*/ */
@ -47,6 +50,7 @@ export interface PetApiFindPetsByStatusRequest {
export interface PetApiFindPetsByTagsRequest { export interface PetApiFindPetsByTagsRequest {
/** /**
* Tags to filter by * Tags to filter by
* Defaults to: undefined
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof PetApifindPetsByTags * @memberof PetApifindPetsByTags
*/ */
@ -56,6 +60,7 @@ export interface PetApiFindPetsByTagsRequest {
export interface PetApiGetPetByIdRequest { export interface PetApiGetPetByIdRequest {
/** /**
* ID of pet to return * ID of pet to return
* Defaults to: undefined
* @type number * @type number
* @memberof PetApigetPetById * @memberof PetApigetPetById
*/ */
@ -74,18 +79,21 @@ export interface PetApiUpdatePetRequest {
export interface PetApiUpdatePetWithFormRequest { export interface PetApiUpdatePetWithFormRequest {
/** /**
* ID of pet that needs to be updated * ID of pet that needs to be updated
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
petId: number petId: number
/** /**
* Updated name of the pet * Updated name of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
name?: string name?: string
/** /**
* Updated status of the pet * Updated status of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
@ -95,18 +103,21 @@ export interface PetApiUpdatePetWithFormRequest {
export interface PetApiUploadFileRequest { export interface PetApiUploadFileRequest {
/** /**
* ID of pet to update * ID of pet to update
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
petId: number petId: number
/** /**
* Additional data to pass to server * Additional data to pass to server
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
additionalMetadata?: string additionalMetadata?: string
/** /**
* file to upload * file to upload
* Defaults to: undefined
* @type HttpFile * @type HttpFile
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
@ -272,6 +283,7 @@ import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreA
export interface StoreApiDeleteOrderRequest { export interface StoreApiDeleteOrderRequest {
/** /**
* ID of the order that needs to be deleted * ID of the order that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof StoreApideleteOrder * @memberof StoreApideleteOrder
*/ */
@ -284,6 +296,9 @@ export interface StoreApiGetInventoryRequest {
export interface StoreApiGetOrderByIdRequest { export interface StoreApiGetOrderByIdRequest {
/** /**
* ID of pet that needs to be fetched * ID of pet that needs to be fetched
* Minimum: 1
* Maximum: 5
* Defaults to: undefined
* @type number * @type number
* @memberof StoreApigetOrderById * @memberof StoreApigetOrderById
*/ */
@ -413,6 +428,7 @@ export interface UserApiCreateUsersWithListInputRequest {
export interface UserApiDeleteUserRequest { export interface UserApiDeleteUserRequest {
/** /**
* The name that needs to be deleted * The name that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApideleteUser * @memberof UserApideleteUser
*/ */
@ -422,6 +438,7 @@ export interface UserApiDeleteUserRequest {
export interface UserApiGetUserByNameRequest { export interface UserApiGetUserByNameRequest {
/** /**
* The name that needs to be fetched. Use user1 for testing. * The name that needs to be fetched. Use user1 for testing.
* Defaults to: undefined
* @type string * @type string
* @memberof UserApigetUserByName * @memberof UserApigetUserByName
*/ */
@ -431,12 +448,14 @@ export interface UserApiGetUserByNameRequest {
export interface UserApiLoginUserRequest { export interface UserApiLoginUserRequest {
/** /**
* The user name for login * The user name for login
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
username: string username: string
/** /**
* The password for login in clear text * The password for login in clear text
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
@ -449,6 +468,7 @@ export interface UserApiLogoutUserRequest {
export interface UserApiUpdateUserRequest { export interface UserApiUpdateUserRequest {
/** /**
* name that need to be deleted * name that need to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiupdateUser * @memberof UserApiupdateUser
*/ */

View File

@ -62,7 +62,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options); const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options);
@ -87,7 +87,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> {
return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -229,8 +229,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options); const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options);
@ -255,8 +255,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> {
return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -266,8 +266,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> {
const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options); const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options);
@ -292,8 +292,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> {
return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data)); return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data));

View File

@ -45,7 +45,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options); const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options);
@ -56,7 +56,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> {
const result = this.api.deletePet(petId, apiKey, _options); const result = this.api.deletePet(petId, apiKey, _options);
@ -147,8 +147,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options); const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options);
@ -159,8 +159,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> {
const result = this.api.updatePetWithForm(petId, name, status, _options); const result = this.api.updatePetWithForm(petId, name, status, _options);
@ -171,8 +171,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> {
const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options); const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options);
@ -183,8 +183,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> {
const result = this.api.uploadFile(petId, additionalMetadata, file, _options); const result = this.api.uploadFile(petId, additionalMetadata, file, _options);

View File

@ -135,12 +135,14 @@ export interface FakeApiFakeHttpSignatureTestRequest {
pet: Pet pet: Pet
/** /**
* query parameter * query parameter
* Defaults to: undefined
* @type string * @type string
* @memberof FakeApifakeHttpSignatureTest * @memberof FakeApifakeHttpSignatureTest
*/ */
query1?: string query1?: string
/** /**
* header parameter * header parameter
* Defaults to: undefined
* @type string * @type string
* @memberof FakeApifakeHttpSignatureTest * @memberof FakeApifakeHttpSignatureTest
*/ */
@ -213,6 +215,7 @@ export interface FakeApiTestBodyWithFileSchemaRequest {
export interface FakeApiTestBodyWithQueryParamsRequest { export interface FakeApiTestBodyWithQueryParamsRequest {
/** /**
* *
* Defaults to: undefined
* @type string * @type string
* @memberof FakeApitestBodyWithQueryParams * @memberof FakeApitestBodyWithQueryParams
*/ */
@ -237,84 +240,107 @@ export interface FakeApiTestClientModelRequest {
export interface FakeApiTestEndpointParametersRequest { export interface FakeApiTestEndpointParametersRequest {
/** /**
* None * None
* Minimum: 32.1
* Maximum: 543.2
* Defaults to: undefined
* @type number * @type number
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
number: number number: number
/** /**
* None * None
* Minimum: 67.8
* Maximum: 123.4
* Defaults to: undefined
* @type number * @type number
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
_double: number _double: number
/** /**
* None * None
* Defaults to: undefined
* @type string * @type string
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
patternWithoutDelimiter: string patternWithoutDelimiter: string
/** /**
* None * None
* Defaults to: undefined
* @type string * @type string
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
_byte: string _byte: string
/** /**
* None * None
* Minimum: 10
* Maximum: 100
* Defaults to: undefined
* @type number * @type number
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
integer?: number integer?: number
/** /**
* None * None
* Minimum: 20
* Maximum: 200
* Defaults to: undefined
* @type number * @type number
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
int32?: number int32?: number
/** /**
* None * None
* Defaults to: undefined
* @type number * @type number
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
int64?: number int64?: number
/** /**
* None * None
* Maximum: 987.6
* Defaults to: undefined
* @type number * @type number
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
_float?: number _float?: number
/** /**
* None * None
* Defaults to: undefined
* @type string * @type string
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
string?: string string?: string
/** /**
* None * None
* Defaults to: undefined
* @type HttpFile * @type HttpFile
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
binary?: HttpFile binary?: HttpFile
/** /**
* None * None
* Defaults to: undefined
* @type string * @type string
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
date?: string date?: string
/** /**
* None * None
* Defaults to: undefined
* @type Date * @type Date
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
dateTime?: Date dateTime?: Date
/** /**
* None * None
* Defaults to: undefined
* @type string * @type string
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
password?: string password?: string
/** /**
* None * None
* Defaults to: undefined
* @type string * @type string
* @memberof FakeApitestEndpointParameters * @memberof FakeApitestEndpointParameters
*/ */
@ -324,54 +350,63 @@ export interface FakeApiTestEndpointParametersRequest {
export interface FakeApiTestEnumParametersRequest { export interface FakeApiTestEnumParametersRequest {
/** /**
* Header parameter enum test (string array) * Header parameter enum test (string array)
* Defaults to: undefined
* @type Array&lt;&#39;&gt;&#39; | &#39;$&#39;&gt; * @type Array&lt;&#39;&gt;&#39; | &#39;$&#39;&gt;
* @memberof FakeApitestEnumParameters * @memberof FakeApitestEnumParameters
*/ */
enumHeaderStringArray?: Array<'>' | '$'> enumHeaderStringArray?: Array<'>' | '$'>
/** /**
* Header parameter enum test (string) * Header parameter enum test (string)
* Defaults to: &#39;-efg&#39;
* @type &#39;_abc&#39; | &#39;-efg&#39; | &#39;(xyz)&#39; * @type &#39;_abc&#39; | &#39;-efg&#39; | &#39;(xyz)&#39;
* @memberof FakeApitestEnumParameters * @memberof FakeApitestEnumParameters
*/ */
enumHeaderString?: '_abc' | '-efg' | '(xyz)' enumHeaderString?: '_abc' | '-efg' | '(xyz)'
/** /**
* Query parameter enum test (string array) * Query parameter enum test (string array)
* Defaults to: undefined
* @type Array&lt;&#39;&gt;&#39; | &#39;$&#39;&gt; * @type Array&lt;&#39;&gt;&#39; | &#39;$&#39;&gt;
* @memberof FakeApitestEnumParameters * @memberof FakeApitestEnumParameters
*/ */
enumQueryStringArray?: Array<'>' | '$'> enumQueryStringArray?: Array<'>' | '$'>
/** /**
* Query parameter enum test (string) * Query parameter enum test (string)
* Defaults to: &#39;-efg&#39;
* @type &#39;_abc&#39; | &#39;-efg&#39; | &#39;(xyz)&#39; * @type &#39;_abc&#39; | &#39;-efg&#39; | &#39;(xyz)&#39;
* @memberof FakeApitestEnumParameters * @memberof FakeApitestEnumParameters
*/ */
enumQueryString?: '_abc' | '-efg' | '(xyz)' enumQueryString?: '_abc' | '-efg' | '(xyz)'
/** /**
* Query parameter enum test (double) * Query parameter enum test (double)
* Defaults to: undefined
* @type 1 | -2 * @type 1 | -2
* @memberof FakeApitestEnumParameters * @memberof FakeApitestEnumParameters
*/ */
enumQueryInteger?: 1 | -2 enumQueryInteger?: 1 | -2
/** /**
* Query parameter enum test (double) * Query parameter enum test (double)
* Defaults to: undefined
* @type 1.1 | -1.2 * @type 1.1 | -1.2
* @memberof FakeApitestEnumParameters * @memberof FakeApitestEnumParameters
*/ */
enumQueryDouble?: 1.1 | -1.2 enumQueryDouble?: 1.1 | -1.2
/** /**
* *
* Defaults to: undefined
* @type Array&lt;EnumClass&gt; * @type Array&lt;EnumClass&gt;
* @memberof FakeApitestEnumParameters * @memberof FakeApitestEnumParameters
*/ */
enumQueryModelArray?: Array<EnumClass> enumQueryModelArray?: Array<EnumClass>
/** /**
* Form parameter enum test (string array) * Form parameter enum test (string array)
* Defaults to: &#39;$&#39;
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof FakeApitestEnumParameters * @memberof FakeApitestEnumParameters
*/ */
enumFormStringArray?: Array<string> enumFormStringArray?: Array<string>
/** /**
* Form parameter enum test (string) * Form parameter enum test (string)
* Defaults to: &#39;-efg&#39;
* @type string * @type string
* @memberof FakeApitestEnumParameters * @memberof FakeApitestEnumParameters
*/ */
@ -381,36 +416,42 @@ export interface FakeApiTestEnumParametersRequest {
export interface FakeApiTestGroupParametersRequest { export interface FakeApiTestGroupParametersRequest {
/** /**
* Required String in group parameters * Required String in group parameters
* Defaults to: undefined
* @type number * @type number
* @memberof FakeApitestGroupParameters * @memberof FakeApitestGroupParameters
*/ */
requiredStringGroup: number requiredStringGroup: number
/** /**
* Required Boolean in group parameters * Required Boolean in group parameters
* Defaults to: undefined
* @type boolean * @type boolean
* @memberof FakeApitestGroupParameters * @memberof FakeApitestGroupParameters
*/ */
requiredBooleanGroup: boolean requiredBooleanGroup: boolean
/** /**
* Required Integer in group parameters * Required Integer in group parameters
* Defaults to: undefined
* @type number * @type number
* @memberof FakeApitestGroupParameters * @memberof FakeApitestGroupParameters
*/ */
requiredInt64Group: number requiredInt64Group: number
/** /**
* String in group parameters * String in group parameters
* Defaults to: undefined
* @type number * @type number
* @memberof FakeApitestGroupParameters * @memberof FakeApitestGroupParameters
*/ */
stringGroup?: number stringGroup?: number
/** /**
* Boolean in group parameters * Boolean in group parameters
* Defaults to: undefined
* @type boolean * @type boolean
* @memberof FakeApitestGroupParameters * @memberof FakeApitestGroupParameters
*/ */
booleanGroup?: boolean booleanGroup?: boolean
/** /**
* Integer in group parameters * Integer in group parameters
* Defaults to: undefined
* @type number * @type number
* @memberof FakeApitestGroupParameters * @memberof FakeApitestGroupParameters
*/ */
@ -429,12 +470,14 @@ export interface FakeApiTestInlineAdditionalPropertiesRequest {
export interface FakeApiTestJsonFormDataRequest { export interface FakeApiTestJsonFormDataRequest {
/** /**
* field1 * field1
* Defaults to: undefined
* @type string * @type string
* @memberof FakeApitestJsonFormData * @memberof FakeApitestJsonFormData
*/ */
param: string param: string
/** /**
* field2 * field2
* Defaults to: undefined
* @type string * @type string
* @memberof FakeApitestJsonFormData * @memberof FakeApitestJsonFormData
*/ */
@ -444,42 +487,49 @@ export interface FakeApiTestJsonFormDataRequest {
export interface FakeApiTestQueryParameterCollectionFormatRequest { export interface FakeApiTestQueryParameterCollectionFormatRequest {
/** /**
* *
* Defaults to: undefined
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof FakeApitestQueryParameterCollectionFormat * @memberof FakeApitestQueryParameterCollectionFormat
*/ */
pipe: Array<string> pipe: Array<string>
/** /**
* *
* Defaults to: undefined
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof FakeApitestQueryParameterCollectionFormat * @memberof FakeApitestQueryParameterCollectionFormat
*/ */
ioutil: Array<string> ioutil: Array<string>
/** /**
* *
* Defaults to: undefined
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof FakeApitestQueryParameterCollectionFormat * @memberof FakeApitestQueryParameterCollectionFormat
*/ */
http: Array<string> http: Array<string>
/** /**
* *
* Defaults to: undefined
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof FakeApitestQueryParameterCollectionFormat * @memberof FakeApitestQueryParameterCollectionFormat
*/ */
url: Array<string> url: Array<string>
/** /**
* *
* Defaults to: undefined
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof FakeApitestQueryParameterCollectionFormat * @memberof FakeApitestQueryParameterCollectionFormat
*/ */
context: Array<string> context: Array<string>
/** /**
* *
* Defaults to: undefined
* @type string * @type string
* @memberof FakeApitestQueryParameterCollectionFormat * @memberof FakeApitestQueryParameterCollectionFormat
*/ */
allowEmpty: string allowEmpty: string
/** /**
* *
* Defaults to: undefined
* @type { [key: string]: string; } * @type { [key: string]: string; }
* @memberof FakeApitestQueryParameterCollectionFormat * @memberof FakeApitestQueryParameterCollectionFormat
*/ */
@ -847,12 +897,14 @@ export interface PetApiAddPetRequest {
export interface PetApiDeletePetRequest { export interface PetApiDeletePetRequest {
/** /**
* Pet id to delete * Pet id to delete
* Defaults to: undefined
* @type number * @type number
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
petId: number petId: number
/** /**
* *
* Defaults to: undefined
* @type string * @type string
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
@ -862,6 +914,7 @@ export interface PetApiDeletePetRequest {
export interface PetApiFindPetsByStatusRequest { export interface PetApiFindPetsByStatusRequest {
/** /**
* Status values that need to be considered for filter * Status values that need to be considered for filter
* Defaults to: undefined
* @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt; * @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt;
* @memberof PetApifindPetsByStatus * @memberof PetApifindPetsByStatus
*/ */
@ -871,6 +924,7 @@ export interface PetApiFindPetsByStatusRequest {
export interface PetApiFindPetsByTagsRequest { export interface PetApiFindPetsByTagsRequest {
/** /**
* Tags to filter by * Tags to filter by
* Defaults to: undefined
* @type Set&lt;string&gt; * @type Set&lt;string&gt;
* @memberof PetApifindPetsByTags * @memberof PetApifindPetsByTags
*/ */
@ -880,6 +934,7 @@ export interface PetApiFindPetsByTagsRequest {
export interface PetApiGetPetByIdRequest { export interface PetApiGetPetByIdRequest {
/** /**
* ID of pet to return * ID of pet to return
* Defaults to: undefined
* @type number * @type number
* @memberof PetApigetPetById * @memberof PetApigetPetById
*/ */
@ -898,18 +953,21 @@ export interface PetApiUpdatePetRequest {
export interface PetApiUpdatePetWithFormRequest { export interface PetApiUpdatePetWithFormRequest {
/** /**
* ID of pet that needs to be updated * ID of pet that needs to be updated
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
petId: number petId: number
/** /**
* Updated name of the pet * Updated name of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
name?: string name?: string
/** /**
* Updated status of the pet * Updated status of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
@ -919,18 +977,21 @@ export interface PetApiUpdatePetWithFormRequest {
export interface PetApiUploadFileRequest { export interface PetApiUploadFileRequest {
/** /**
* ID of pet to update * ID of pet to update
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
petId: number petId: number
/** /**
* Additional data to pass to server * Additional data to pass to server
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
additionalMetadata?: string additionalMetadata?: string
/** /**
* file to upload * file to upload
* Defaults to: undefined
* @type HttpFile * @type HttpFile
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
@ -940,18 +1001,21 @@ export interface PetApiUploadFileRequest {
export interface PetApiUploadFileWithRequiredFileRequest { export interface PetApiUploadFileWithRequiredFileRequest {
/** /**
* ID of pet to update * ID of pet to update
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiuploadFileWithRequiredFile * @memberof PetApiuploadFileWithRequiredFile
*/ */
petId: number petId: number
/** /**
* file to upload * file to upload
* Defaults to: undefined
* @type HttpFile * @type HttpFile
* @memberof PetApiuploadFileWithRequiredFile * @memberof PetApiuploadFileWithRequiredFile
*/ */
requiredFile: HttpFile requiredFile: HttpFile
/** /**
* Additional data to pass to server * Additional data to pass to server
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiuploadFileWithRequiredFile * @memberof PetApiuploadFileWithRequiredFile
*/ */
@ -1135,6 +1199,7 @@ import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreA
export interface StoreApiDeleteOrderRequest { export interface StoreApiDeleteOrderRequest {
/** /**
* ID of the order that needs to be deleted * ID of the order that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof StoreApideleteOrder * @memberof StoreApideleteOrder
*/ */
@ -1147,6 +1212,9 @@ export interface StoreApiGetInventoryRequest {
export interface StoreApiGetOrderByIdRequest { export interface StoreApiGetOrderByIdRequest {
/** /**
* ID of pet that needs to be fetched * ID of pet that needs to be fetched
* Minimum: 1
* Maximum: 5
* Defaults to: undefined
* @type number * @type number
* @memberof StoreApigetOrderById * @memberof StoreApigetOrderById
*/ */
@ -1276,6 +1344,7 @@ export interface UserApiCreateUsersWithListInputRequest {
export interface UserApiDeleteUserRequest { export interface UserApiDeleteUserRequest {
/** /**
* The name that needs to be deleted * The name that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApideleteUser * @memberof UserApideleteUser
*/ */
@ -1285,6 +1354,7 @@ export interface UserApiDeleteUserRequest {
export interface UserApiGetUserByNameRequest { export interface UserApiGetUserByNameRequest {
/** /**
* The name that needs to be fetched. Use user1 for testing. * The name that needs to be fetched. Use user1 for testing.
* Defaults to: undefined
* @type string * @type string
* @memberof UserApigetUserByName * @memberof UserApigetUserByName
*/ */
@ -1294,12 +1364,14 @@ export interface UserApiGetUserByNameRequest {
export interface UserApiLoginUserRequest { export interface UserApiLoginUserRequest {
/** /**
* The user name for login * The user name for login
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
username: string username: string
/** /**
* The password for login in clear text * The password for login in clear text
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
@ -1312,6 +1384,7 @@ export interface UserApiLogoutUserRequest {
export interface UserApiUpdateUserRequest { export interface UserApiUpdateUserRequest {
/** /**
* name that need to be deleted * name that need to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiupdateUser * @memberof UserApiupdateUser
*/ */

View File

@ -223,8 +223,8 @@ export class ObservableFakeApi {
/** /**
* test http signature authentication * test http signature authentication
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
* @param query1 query parameter * @param [query1] query parameter
* @param header1 header parameter * @param [header1] header parameter
*/ */
public fakeHttpSignatureTestWithHttpInfo(pet: Pet, query1?: string, header1?: string, _options?: Configuration): Observable<HttpInfo<void>> { public fakeHttpSignatureTestWithHttpInfo(pet: Pet, query1?: string, header1?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.fakeHttpSignatureTest(pet, query1, header1, _options); const requestContextPromise = this.requestFactory.fakeHttpSignatureTest(pet, query1, header1, _options);
@ -248,8 +248,8 @@ export class ObservableFakeApi {
/** /**
* test http signature authentication * test http signature authentication
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
* @param query1 query parameter * @param [query1] query parameter
* @param header1 header parameter * @param [header1] header parameter
*/ */
public fakeHttpSignatureTest(pet: Pet, query1?: string, header1?: string, _options?: Configuration): Observable<void> { public fakeHttpSignatureTest(pet: Pet, query1?: string, header1?: string, _options?: Configuration): Observable<void> {
return this.fakeHttpSignatureTestWithHttpInfo(pet, query1, header1, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.fakeHttpSignatureTestWithHttpInfo(pet, query1, header1, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -257,7 +257,7 @@ export class ObservableFakeApi {
/** /**
* Test serialization of outer boolean types * Test serialization of outer boolean types
* @param body Input boolean as post body * @param [body] Input boolean as post body
*/ */
public fakeOuterBooleanSerializeWithHttpInfo(body?: boolean, _options?: Configuration): Observable<HttpInfo<boolean>> { public fakeOuterBooleanSerializeWithHttpInfo(body?: boolean, _options?: Configuration): Observable<HttpInfo<boolean>> {
const requestContextPromise = this.requestFactory.fakeOuterBooleanSerialize(body, _options); const requestContextPromise = this.requestFactory.fakeOuterBooleanSerialize(body, _options);
@ -280,7 +280,7 @@ export class ObservableFakeApi {
/** /**
* Test serialization of outer boolean types * Test serialization of outer boolean types
* @param body Input boolean as post body * @param [body] Input boolean as post body
*/ */
public fakeOuterBooleanSerialize(body?: boolean, _options?: Configuration): Observable<boolean> { public fakeOuterBooleanSerialize(body?: boolean, _options?: Configuration): Observable<boolean> {
return this.fakeOuterBooleanSerializeWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data)); return this.fakeOuterBooleanSerializeWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<boolean>) => apiResponse.data));
@ -288,7 +288,7 @@ export class ObservableFakeApi {
/** /**
* Test serialization of object with outer number type * Test serialization of object with outer number type
* @param outerComposite Input composite as post body * @param [outerComposite] Input composite as post body
*/ */
public fakeOuterCompositeSerializeWithHttpInfo(outerComposite?: OuterComposite, _options?: Configuration): Observable<HttpInfo<OuterComposite>> { public fakeOuterCompositeSerializeWithHttpInfo(outerComposite?: OuterComposite, _options?: Configuration): Observable<HttpInfo<OuterComposite>> {
const requestContextPromise = this.requestFactory.fakeOuterCompositeSerialize(outerComposite, _options); const requestContextPromise = this.requestFactory.fakeOuterCompositeSerialize(outerComposite, _options);
@ -311,7 +311,7 @@ export class ObservableFakeApi {
/** /**
* Test serialization of object with outer number type * Test serialization of object with outer number type
* @param outerComposite Input composite as post body * @param [outerComposite] Input composite as post body
*/ */
public fakeOuterCompositeSerialize(outerComposite?: OuterComposite, _options?: Configuration): Observable<OuterComposite> { public fakeOuterCompositeSerialize(outerComposite?: OuterComposite, _options?: Configuration): Observable<OuterComposite> {
return this.fakeOuterCompositeSerializeWithHttpInfo(outerComposite, _options).pipe(map((apiResponse: HttpInfo<OuterComposite>) => apiResponse.data)); return this.fakeOuterCompositeSerializeWithHttpInfo(outerComposite, _options).pipe(map((apiResponse: HttpInfo<OuterComposite>) => apiResponse.data));
@ -319,7 +319,7 @@ export class ObservableFakeApi {
/** /**
* Test serialization of outer number types * Test serialization of outer number types
* @param body Input number as post body * @param [body] Input number as post body
*/ */
public fakeOuterNumberSerializeWithHttpInfo(body?: number, _options?: Configuration): Observable<HttpInfo<number>> { public fakeOuterNumberSerializeWithHttpInfo(body?: number, _options?: Configuration): Observable<HttpInfo<number>> {
const requestContextPromise = this.requestFactory.fakeOuterNumberSerialize(body, _options); const requestContextPromise = this.requestFactory.fakeOuterNumberSerialize(body, _options);
@ -342,7 +342,7 @@ export class ObservableFakeApi {
/** /**
* Test serialization of outer number types * Test serialization of outer number types
* @param body Input number as post body * @param [body] Input number as post body
*/ */
public fakeOuterNumberSerialize(body?: number, _options?: Configuration): Observable<number> { public fakeOuterNumberSerialize(body?: number, _options?: Configuration): Observable<number> {
return this.fakeOuterNumberSerializeWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data)); return this.fakeOuterNumberSerializeWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<number>) => apiResponse.data));
@ -350,7 +350,7 @@ export class ObservableFakeApi {
/** /**
* Test serialization of outer string types * Test serialization of outer string types
* @param body Input string as post body * @param [body] Input string as post body
*/ */
public fakeOuterStringSerializeWithHttpInfo(body?: string, _options?: Configuration): Observable<HttpInfo<string>> { public fakeOuterStringSerializeWithHttpInfo(body?: string, _options?: Configuration): Observable<HttpInfo<string>> {
const requestContextPromise = this.requestFactory.fakeOuterStringSerialize(body, _options); const requestContextPromise = this.requestFactory.fakeOuterStringSerialize(body, _options);
@ -373,7 +373,7 @@ export class ObservableFakeApi {
/** /**
* Test serialization of outer string types * Test serialization of outer string types
* @param body Input string as post body * @param [body] Input string as post body
*/ */
public fakeOuterStringSerialize(body?: string, _options?: Configuration): Observable<string> { public fakeOuterStringSerialize(body?: string, _options?: Configuration): Observable<string> {
return this.fakeOuterStringSerializeWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<string>) => apiResponse.data)); return this.fakeOuterStringSerializeWithHttpInfo(body, _options).pipe(map((apiResponse: HttpInfo<string>) => apiResponse.data));
@ -443,7 +443,7 @@ export class ObservableFakeApi {
/** /**
* For this test, the body for this request must reference a schema named `File`. * For this test, the body for this request must reference a schema named `File`.
* @param fileSchemaTestClass * @param fileSchemaTestClass
*/ */
public testBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass: FileSchemaTestClass, _options?: Configuration): Observable<HttpInfo<void>> { public testBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass: FileSchemaTestClass, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testBodyWithFileSchema(fileSchemaTestClass, _options); const requestContextPromise = this.requestFactory.testBodyWithFileSchema(fileSchemaTestClass, _options);
@ -466,15 +466,15 @@ export class ObservableFakeApi {
/** /**
* For this test, the body for this request must reference a schema named `File`. * For this test, the body for this request must reference a schema named `File`.
* @param fileSchemaTestClass * @param fileSchemaTestClass
*/ */
public testBodyWithFileSchema(fileSchemaTestClass: FileSchemaTestClass, _options?: Configuration): Observable<void> { public testBodyWithFileSchema(fileSchemaTestClass: FileSchemaTestClass, _options?: Configuration): Observable<void> {
return this.testBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
} }
/** /**
* @param query * @param query
* @param user * @param user
*/ */
public testBodyWithQueryParamsWithHttpInfo(query: string, user: User, _options?: Configuration): Observable<HttpInfo<void>> { public testBodyWithQueryParamsWithHttpInfo(query: string, user: User, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testBodyWithQueryParams(query, user, _options); const requestContextPromise = this.requestFactory.testBodyWithQueryParams(query, user, _options);
@ -496,8 +496,8 @@ export class ObservableFakeApi {
} }
/** /**
* @param query * @param query
* @param user * @param user
*/ */
public testBodyWithQueryParams(query: string, user: User, _options?: Configuration): Observable<void> { public testBodyWithQueryParams(query: string, user: User, _options?: Configuration): Observable<void> {
return this.testBodyWithQueryParamsWithHttpInfo(query, user, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testBodyWithQueryParamsWithHttpInfo(query, user, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -543,16 +543,16 @@ export class ObservableFakeApi {
* @param _double None * @param _double None
* @param patternWithoutDelimiter None * @param patternWithoutDelimiter None
* @param _byte None * @param _byte None
* @param integer None * @param [integer] None
* @param int32 None * @param [int32] None
* @param int64 None * @param [int64] None
* @param _float None * @param [_float] None
* @param string None * @param [string] None
* @param binary None * @param [binary] None
* @param date None * @param [date] None
* @param dateTime None * @param [dateTime] None
* @param password None * @param [password] None
* @param callback None * @param [callback] None
*/ */
public testEndpointParametersWithHttpInfo(number: number, _double: number, patternWithoutDelimiter: string, _byte: string, integer?: number, int32?: number, int64?: number, _float?: number, string?: string, binary?: HttpFile, date?: string, dateTime?: Date, password?: string, callback?: string, _options?: Configuration): Observable<HttpInfo<void>> { public testEndpointParametersWithHttpInfo(number: number, _double: number, patternWithoutDelimiter: string, _byte: string, integer?: number, int32?: number, int64?: number, _float?: number, string?: string, binary?: HttpFile, date?: string, dateTime?: Date, password?: string, callback?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, callback, _options); const requestContextPromise = this.requestFactory.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, callback, _options);
@ -580,16 +580,16 @@ export class ObservableFakeApi {
* @param _double None * @param _double None
* @param patternWithoutDelimiter None * @param patternWithoutDelimiter None
* @param _byte None * @param _byte None
* @param integer None * @param [integer] None
* @param int32 None * @param [int32] None
* @param int64 None * @param [int64] None
* @param _float None * @param [_float] None
* @param string None * @param [string] None
* @param binary None * @param [binary] None
* @param date None * @param [date] None
* @param dateTime None * @param [dateTime] None
* @param password None * @param [password] None
* @param callback None * @param [callback] None
*/ */
public testEndpointParameters(number: number, _double: number, patternWithoutDelimiter: string, _byte: string, integer?: number, int32?: number, int64?: number, _float?: number, string?: string, binary?: HttpFile, date?: string, dateTime?: Date, password?: string, callback?: string, _options?: Configuration): Observable<void> { public testEndpointParameters(number: number, _double: number, patternWithoutDelimiter: string, _byte: string, integer?: number, int32?: number, int64?: number, _float?: number, string?: string, binary?: HttpFile, date?: string, dateTime?: Date, password?: string, callback?: string, _options?: Configuration): Observable<void> {
return this.testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, callback, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, callback, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -598,15 +598,15 @@ export class ObservableFakeApi {
/** /**
* To test enum parameters * To test enum parameters
* To test enum parameters * To test enum parameters
* @param enumHeaderStringArray Header parameter enum test (string array) * @param [enumHeaderStringArray] Header parameter enum test (string array)
* @param enumHeaderString Header parameter enum test (string) * @param [enumHeaderString] Header parameter enum test (string)
* @param enumQueryStringArray Query parameter enum test (string array) * @param [enumQueryStringArray] Query parameter enum test (string array)
* @param enumQueryString Query parameter enum test (string) * @param [enumQueryString] Query parameter enum test (string)
* @param enumQueryInteger Query parameter enum test (double) * @param [enumQueryInteger] Query parameter enum test (double)
* @param enumQueryDouble Query parameter enum test (double) * @param [enumQueryDouble] Query parameter enum test (double)
* @param enumQueryModelArray * @param [enumQueryModelArray]
* @param enumFormStringArray Form parameter enum test (string array) * @param [enumFormStringArray] Form parameter enum test (string array)
* @param enumFormString Form parameter enum test (string) * @param [enumFormString] Form parameter enum test (string)
*/ */
public testEnumParametersWithHttpInfo(enumHeaderStringArray?: Array<'>' | '$'>, enumHeaderString?: '_abc' | '-efg' | '(xyz)', enumQueryStringArray?: Array<'>' | '$'>, enumQueryString?: '_abc' | '-efg' | '(xyz)', enumQueryInteger?: 1 | -2, enumQueryDouble?: 1.1 | -1.2, enumQueryModelArray?: Array<EnumClass>, enumFormStringArray?: Array<string>, enumFormString?: string, _options?: Configuration): Observable<HttpInfo<void>> { public testEnumParametersWithHttpInfo(enumHeaderStringArray?: Array<'>' | '$'>, enumHeaderString?: '_abc' | '-efg' | '(xyz)', enumQueryStringArray?: Array<'>' | '$'>, enumQueryString?: '_abc' | '-efg' | '(xyz)', enumQueryInteger?: 1 | -2, enumQueryDouble?: 1.1 | -1.2, enumQueryModelArray?: Array<EnumClass>, enumFormStringArray?: Array<string>, enumFormString?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, _options); const requestContextPromise = this.requestFactory.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, _options);
@ -630,15 +630,15 @@ export class ObservableFakeApi {
/** /**
* To test enum parameters * To test enum parameters
* To test enum parameters * To test enum parameters
* @param enumHeaderStringArray Header parameter enum test (string array) * @param [enumHeaderStringArray] Header parameter enum test (string array)
* @param enumHeaderString Header parameter enum test (string) * @param [enumHeaderString] Header parameter enum test (string)
* @param enumQueryStringArray Query parameter enum test (string array) * @param [enumQueryStringArray] Query parameter enum test (string array)
* @param enumQueryString Query parameter enum test (string) * @param [enumQueryString] Query parameter enum test (string)
* @param enumQueryInteger Query parameter enum test (double) * @param [enumQueryInteger] Query parameter enum test (double)
* @param enumQueryDouble Query parameter enum test (double) * @param [enumQueryDouble] Query parameter enum test (double)
* @param enumQueryModelArray * @param [enumQueryModelArray]
* @param enumFormStringArray Form parameter enum test (string array) * @param [enumFormStringArray] Form parameter enum test (string array)
* @param enumFormString Form parameter enum test (string) * @param [enumFormString] Form parameter enum test (string)
*/ */
public testEnumParameters(enumHeaderStringArray?: Array<'>' | '$'>, enumHeaderString?: '_abc' | '-efg' | '(xyz)', enumQueryStringArray?: Array<'>' | '$'>, enumQueryString?: '_abc' | '-efg' | '(xyz)', enumQueryInteger?: 1 | -2, enumQueryDouble?: 1.1 | -1.2, enumQueryModelArray?: Array<EnumClass>, enumFormStringArray?: Array<string>, enumFormString?: string, _options?: Configuration): Observable<void> { public testEnumParameters(enumHeaderStringArray?: Array<'>' | '$'>, enumHeaderString?: '_abc' | '-efg' | '(xyz)', enumQueryStringArray?: Array<'>' | '$'>, enumQueryString?: '_abc' | '-efg' | '(xyz)', enumQueryInteger?: 1 | -2, enumQueryDouble?: 1.1 | -1.2, enumQueryModelArray?: Array<EnumClass>, enumFormStringArray?: Array<string>, enumFormString?: string, _options?: Configuration): Observable<void> {
return this.testEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -650,9 +650,9 @@ export class ObservableFakeApi {
* @param requiredStringGroup Required String in group parameters * @param requiredStringGroup Required String in group parameters
* @param requiredBooleanGroup Required Boolean in group parameters * @param requiredBooleanGroup Required Boolean in group parameters
* @param requiredInt64Group Required Integer in group parameters * @param requiredInt64Group Required Integer in group parameters
* @param stringGroup String in group parameters * @param [stringGroup] String in group parameters
* @param booleanGroup Boolean in group parameters * @param [booleanGroup] Boolean in group parameters
* @param int64Group Integer in group parameters * @param [int64Group] Integer in group parameters
*/ */
public testGroupParametersWithHttpInfo(requiredStringGroup: number, requiredBooleanGroup: boolean, requiredInt64Group: number, stringGroup?: number, booleanGroup?: boolean, int64Group?: number, _options?: Configuration): Observable<HttpInfo<void>> { public testGroupParametersWithHttpInfo(requiredStringGroup: number, requiredBooleanGroup: boolean, requiredInt64Group: number, stringGroup?: number, booleanGroup?: boolean, int64Group?: number, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, _options); const requestContextPromise = this.requestFactory.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, _options);
@ -679,9 +679,9 @@ export class ObservableFakeApi {
* @param requiredStringGroup Required String in group parameters * @param requiredStringGroup Required String in group parameters
* @param requiredBooleanGroup Required Boolean in group parameters * @param requiredBooleanGroup Required Boolean in group parameters
* @param requiredInt64Group Required Integer in group parameters * @param requiredInt64Group Required Integer in group parameters
* @param stringGroup String in group parameters * @param [stringGroup] String in group parameters
* @param booleanGroup Boolean in group parameters * @param [booleanGroup] Boolean in group parameters
* @param int64Group Integer in group parameters * @param [int64Group] Integer in group parameters
*/ */
public testGroupParameters(requiredStringGroup: number, requiredBooleanGroup: boolean, requiredInt64Group: number, stringGroup?: number, booleanGroup?: boolean, int64Group?: number, _options?: Configuration): Observable<void> { public testGroupParameters(requiredStringGroup: number, requiredBooleanGroup: boolean, requiredInt64Group: number, stringGroup?: number, booleanGroup?: boolean, int64Group?: number, _options?: Configuration): Observable<void> {
return this.testGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -757,13 +757,13 @@ export class ObservableFakeApi {
/** /**
* To test the collection format in query parameters * To test the collection format in query parameters
* @param pipe * @param pipe
* @param ioutil * @param ioutil
* @param http * @param http
* @param url * @param url
* @param context * @param context
* @param allowEmpty * @param allowEmpty
* @param language * @param [language]
*/ */
public testQueryParameterCollectionFormatWithHttpInfo(pipe: Array<string>, ioutil: Array<string>, http: Array<string>, url: Array<string>, context: Array<string>, allowEmpty: string, language?: { [key: string]: string; }, _options?: Configuration): Observable<HttpInfo<void>> { public testQueryParameterCollectionFormatWithHttpInfo(pipe: Array<string>, ioutil: Array<string>, http: Array<string>, url: Array<string>, context: Array<string>, allowEmpty: string, language?: { [key: string]: string; }, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language, _options); const requestContextPromise = this.requestFactory.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language, _options);
@ -786,13 +786,13 @@ export class ObservableFakeApi {
/** /**
* To test the collection format in query parameters * To test the collection format in query parameters
* @param pipe * @param pipe
* @param ioutil * @param ioutil
* @param http * @param http
* @param url * @param url
* @param context * @param context
* @param allowEmpty * @param allowEmpty
* @param language * @param [language]
*/ */
public testQueryParameterCollectionFormat(pipe: Array<string>, ioutil: Array<string>, http: Array<string>, url: Array<string>, context: Array<string>, allowEmpty: string, language?: { [key: string]: string; }, _options?: Configuration): Observable<void> { public testQueryParameterCollectionFormat(pipe: Array<string>, ioutil: Array<string>, http: Array<string>, url: Array<string>, context: Array<string>, allowEmpty: string, language?: { [key: string]: string; }, _options?: Configuration): Observable<void> {
return this.testQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context, allowEmpty, language, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.testQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context, allowEmpty, language, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -904,7 +904,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options); const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options);
@ -929,7 +929,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> {
return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -1071,8 +1071,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options); const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options);
@ -1097,8 +1097,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> {
return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -1108,8 +1108,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> {
const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options); const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options);
@ -1134,8 +1134,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> {
return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data)); return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data));
@ -1146,7 +1146,7 @@ export class ObservablePetApi {
* uploads an image (required) * uploads an image (required)
* @param petId ID of pet to update * @param petId ID of pet to update
* @param requiredFile file to upload * @param requiredFile file to upload
* @param additionalMetadata Additional data to pass to server * @param [additionalMetadata] Additional data to pass to server
*/ */
public uploadFileWithRequiredFileWithHttpInfo(petId: number, requiredFile: HttpFile, additionalMetadata?: string, _options?: Configuration): Observable<HttpInfo<ApiResponse>> { public uploadFileWithRequiredFileWithHttpInfo(petId: number, requiredFile: HttpFile, additionalMetadata?: string, _options?: Configuration): Observable<HttpInfo<ApiResponse>> {
const requestContextPromise = this.requestFactory.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata, _options); const requestContextPromise = this.requestFactory.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata, _options);
@ -1172,7 +1172,7 @@ export class ObservablePetApi {
* uploads an image (required) * uploads an image (required)
* @param petId ID of pet to update * @param petId ID of pet to update
* @param requiredFile file to upload * @param requiredFile file to upload
* @param additionalMetadata Additional data to pass to server * @param [additionalMetadata] Additional data to pass to server
*/ */
public uploadFileWithRequiredFile(petId: number, requiredFile: HttpFile, additionalMetadata?: string, _options?: Configuration): Observable<ApiResponse> { public uploadFileWithRequiredFile(petId: number, requiredFile: HttpFile, additionalMetadata?: string, _options?: Configuration): Observable<ApiResponse> {
return this.uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data)); return this.uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data));

View File

@ -169,8 +169,8 @@ export class PromiseFakeApi {
/** /**
* test http signature authentication * test http signature authentication
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
* @param query1 query parameter * @param [query1] query parameter
* @param header1 header parameter * @param [header1] header parameter
*/ */
public fakeHttpSignatureTestWithHttpInfo(pet: Pet, query1?: string, header1?: string, _options?: Configuration): Promise<HttpInfo<void>> { public fakeHttpSignatureTestWithHttpInfo(pet: Pet, query1?: string, header1?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.fakeHttpSignatureTestWithHttpInfo(pet, query1, header1, _options); const result = this.api.fakeHttpSignatureTestWithHttpInfo(pet, query1, header1, _options);
@ -180,8 +180,8 @@ export class PromiseFakeApi {
/** /**
* test http signature authentication * test http signature authentication
* @param pet Pet object that needs to be added to the store * @param pet Pet object that needs to be added to the store
* @param query1 query parameter * @param [query1] query parameter
* @param header1 header parameter * @param [header1] header parameter
*/ */
public fakeHttpSignatureTest(pet: Pet, query1?: string, header1?: string, _options?: Configuration): Promise<void> { public fakeHttpSignatureTest(pet: Pet, query1?: string, header1?: string, _options?: Configuration): Promise<void> {
const result = this.api.fakeHttpSignatureTest(pet, query1, header1, _options); const result = this.api.fakeHttpSignatureTest(pet, query1, header1, _options);
@ -190,7 +190,7 @@ export class PromiseFakeApi {
/** /**
* Test serialization of outer boolean types * Test serialization of outer boolean types
* @param body Input boolean as post body * @param [body] Input boolean as post body
*/ */
public fakeOuterBooleanSerializeWithHttpInfo(body?: boolean, _options?: Configuration): Promise<HttpInfo<boolean>> { public fakeOuterBooleanSerializeWithHttpInfo(body?: boolean, _options?: Configuration): Promise<HttpInfo<boolean>> {
const result = this.api.fakeOuterBooleanSerializeWithHttpInfo(body, _options); const result = this.api.fakeOuterBooleanSerializeWithHttpInfo(body, _options);
@ -199,7 +199,7 @@ export class PromiseFakeApi {
/** /**
* Test serialization of outer boolean types * Test serialization of outer boolean types
* @param body Input boolean as post body * @param [body] Input boolean as post body
*/ */
public fakeOuterBooleanSerialize(body?: boolean, _options?: Configuration): Promise<boolean> { public fakeOuterBooleanSerialize(body?: boolean, _options?: Configuration): Promise<boolean> {
const result = this.api.fakeOuterBooleanSerialize(body, _options); const result = this.api.fakeOuterBooleanSerialize(body, _options);
@ -208,7 +208,7 @@ export class PromiseFakeApi {
/** /**
* Test serialization of object with outer number type * Test serialization of object with outer number type
* @param outerComposite Input composite as post body * @param [outerComposite] Input composite as post body
*/ */
public fakeOuterCompositeSerializeWithHttpInfo(outerComposite?: OuterComposite, _options?: Configuration): Promise<HttpInfo<OuterComposite>> { public fakeOuterCompositeSerializeWithHttpInfo(outerComposite?: OuterComposite, _options?: Configuration): Promise<HttpInfo<OuterComposite>> {
const result = this.api.fakeOuterCompositeSerializeWithHttpInfo(outerComposite, _options); const result = this.api.fakeOuterCompositeSerializeWithHttpInfo(outerComposite, _options);
@ -217,7 +217,7 @@ export class PromiseFakeApi {
/** /**
* Test serialization of object with outer number type * Test serialization of object with outer number type
* @param outerComposite Input composite as post body * @param [outerComposite] Input composite as post body
*/ */
public fakeOuterCompositeSerialize(outerComposite?: OuterComposite, _options?: Configuration): Promise<OuterComposite> { public fakeOuterCompositeSerialize(outerComposite?: OuterComposite, _options?: Configuration): Promise<OuterComposite> {
const result = this.api.fakeOuterCompositeSerialize(outerComposite, _options); const result = this.api.fakeOuterCompositeSerialize(outerComposite, _options);
@ -226,7 +226,7 @@ export class PromiseFakeApi {
/** /**
* Test serialization of outer number types * Test serialization of outer number types
* @param body Input number as post body * @param [body] Input number as post body
*/ */
public fakeOuterNumberSerializeWithHttpInfo(body?: number, _options?: Configuration): Promise<HttpInfo<number>> { public fakeOuterNumberSerializeWithHttpInfo(body?: number, _options?: Configuration): Promise<HttpInfo<number>> {
const result = this.api.fakeOuterNumberSerializeWithHttpInfo(body, _options); const result = this.api.fakeOuterNumberSerializeWithHttpInfo(body, _options);
@ -235,7 +235,7 @@ export class PromiseFakeApi {
/** /**
* Test serialization of outer number types * Test serialization of outer number types
* @param body Input number as post body * @param [body] Input number as post body
*/ */
public fakeOuterNumberSerialize(body?: number, _options?: Configuration): Promise<number> { public fakeOuterNumberSerialize(body?: number, _options?: Configuration): Promise<number> {
const result = this.api.fakeOuterNumberSerialize(body, _options); const result = this.api.fakeOuterNumberSerialize(body, _options);
@ -244,7 +244,7 @@ export class PromiseFakeApi {
/** /**
* Test serialization of outer string types * Test serialization of outer string types
* @param body Input string as post body * @param [body] Input string as post body
*/ */
public fakeOuterStringSerializeWithHttpInfo(body?: string, _options?: Configuration): Promise<HttpInfo<string>> { public fakeOuterStringSerializeWithHttpInfo(body?: string, _options?: Configuration): Promise<HttpInfo<string>> {
const result = this.api.fakeOuterStringSerializeWithHttpInfo(body, _options); const result = this.api.fakeOuterStringSerializeWithHttpInfo(body, _options);
@ -253,7 +253,7 @@ export class PromiseFakeApi {
/** /**
* Test serialization of outer string types * Test serialization of outer string types
* @param body Input string as post body * @param [body] Input string as post body
*/ */
public fakeOuterStringSerialize(body?: string, _options?: Configuration): Promise<string> { public fakeOuterStringSerialize(body?: string, _options?: Configuration): Promise<string> {
const result = this.api.fakeOuterStringSerialize(body, _options); const result = this.api.fakeOuterStringSerialize(body, _options);
@ -298,7 +298,7 @@ export class PromiseFakeApi {
/** /**
* For this test, the body for this request must reference a schema named `File`. * For this test, the body for this request must reference a schema named `File`.
* @param fileSchemaTestClass * @param fileSchemaTestClass
*/ */
public testBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass: FileSchemaTestClass, _options?: Configuration): Promise<HttpInfo<void>> { public testBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass: FileSchemaTestClass, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass, _options); const result = this.api.testBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass, _options);
@ -307,7 +307,7 @@ export class PromiseFakeApi {
/** /**
* For this test, the body for this request must reference a schema named `File`. * For this test, the body for this request must reference a schema named `File`.
* @param fileSchemaTestClass * @param fileSchemaTestClass
*/ */
public testBodyWithFileSchema(fileSchemaTestClass: FileSchemaTestClass, _options?: Configuration): Promise<void> { public testBodyWithFileSchema(fileSchemaTestClass: FileSchemaTestClass, _options?: Configuration): Promise<void> {
const result = this.api.testBodyWithFileSchema(fileSchemaTestClass, _options); const result = this.api.testBodyWithFileSchema(fileSchemaTestClass, _options);
@ -315,8 +315,8 @@ export class PromiseFakeApi {
} }
/** /**
* @param query * @param query
* @param user * @param user
*/ */
public testBodyWithQueryParamsWithHttpInfo(query: string, user: User, _options?: Configuration): Promise<HttpInfo<void>> { public testBodyWithQueryParamsWithHttpInfo(query: string, user: User, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testBodyWithQueryParamsWithHttpInfo(query, user, _options); const result = this.api.testBodyWithQueryParamsWithHttpInfo(query, user, _options);
@ -324,8 +324,8 @@ export class PromiseFakeApi {
} }
/** /**
* @param query * @param query
* @param user * @param user
*/ */
public testBodyWithQueryParams(query: string, user: User, _options?: Configuration): Promise<void> { public testBodyWithQueryParams(query: string, user: User, _options?: Configuration): Promise<void> {
const result = this.api.testBodyWithQueryParams(query, user, _options); const result = this.api.testBodyWithQueryParams(query, user, _options);
@ -359,16 +359,16 @@ export class PromiseFakeApi {
* @param _double None * @param _double None
* @param patternWithoutDelimiter None * @param patternWithoutDelimiter None
* @param _byte None * @param _byte None
* @param integer None * @param [integer] None
* @param int32 None * @param [int32] None
* @param int64 None * @param [int64] None
* @param _float None * @param [_float] None
* @param string None * @param [string] None
* @param binary None * @param [binary] None
* @param date None * @param [date] None
* @param dateTime None * @param [dateTime] None
* @param password None * @param [password] None
* @param callback None * @param [callback] None
*/ */
public testEndpointParametersWithHttpInfo(number: number, _double: number, patternWithoutDelimiter: string, _byte: string, integer?: number, int32?: number, int64?: number, _float?: number, string?: string, binary?: HttpFile, date?: string, dateTime?: Date, password?: string, callback?: string, _options?: Configuration): Promise<HttpInfo<void>> { public testEndpointParametersWithHttpInfo(number: number, _double: number, patternWithoutDelimiter: string, _byte: string, integer?: number, int32?: number, int64?: number, _float?: number, string?: string, binary?: HttpFile, date?: string, dateTime?: Date, password?: string, callback?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, callback, _options); const result = this.api.testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, callback, _options);
@ -382,16 +382,16 @@ export class PromiseFakeApi {
* @param _double None * @param _double None
* @param patternWithoutDelimiter None * @param patternWithoutDelimiter None
* @param _byte None * @param _byte None
* @param integer None * @param [integer] None
* @param int32 None * @param [int32] None
* @param int64 None * @param [int64] None
* @param _float None * @param [_float] None
* @param string None * @param [string] None
* @param binary None * @param [binary] None
* @param date None * @param [date] None
* @param dateTime None * @param [dateTime] None
* @param password None * @param [password] None
* @param callback None * @param [callback] None
*/ */
public testEndpointParameters(number: number, _double: number, patternWithoutDelimiter: string, _byte: string, integer?: number, int32?: number, int64?: number, _float?: number, string?: string, binary?: HttpFile, date?: string, dateTime?: Date, password?: string, callback?: string, _options?: Configuration): Promise<void> { public testEndpointParameters(number: number, _double: number, patternWithoutDelimiter: string, _byte: string, integer?: number, int32?: number, int64?: number, _float?: number, string?: string, binary?: HttpFile, date?: string, dateTime?: Date, password?: string, callback?: string, _options?: Configuration): Promise<void> {
const result = this.api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, callback, _options); const result = this.api.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, callback, _options);
@ -401,15 +401,15 @@ export class PromiseFakeApi {
/** /**
* To test enum parameters * To test enum parameters
* To test enum parameters * To test enum parameters
* @param enumHeaderStringArray Header parameter enum test (string array) * @param [enumHeaderStringArray] Header parameter enum test (string array)
* @param enumHeaderString Header parameter enum test (string) * @param [enumHeaderString] Header parameter enum test (string)
* @param enumQueryStringArray Query parameter enum test (string array) * @param [enumQueryStringArray] Query parameter enum test (string array)
* @param enumQueryString Query parameter enum test (string) * @param [enumQueryString] Query parameter enum test (string)
* @param enumQueryInteger Query parameter enum test (double) * @param [enumQueryInteger] Query parameter enum test (double)
* @param enumQueryDouble Query parameter enum test (double) * @param [enumQueryDouble] Query parameter enum test (double)
* @param enumQueryModelArray * @param [enumQueryModelArray]
* @param enumFormStringArray Form parameter enum test (string array) * @param [enumFormStringArray] Form parameter enum test (string array)
* @param enumFormString Form parameter enum test (string) * @param [enumFormString] Form parameter enum test (string)
*/ */
public testEnumParametersWithHttpInfo(enumHeaderStringArray?: Array<'>' | '$'>, enumHeaderString?: '_abc' | '-efg' | '(xyz)', enumQueryStringArray?: Array<'>' | '$'>, enumQueryString?: '_abc' | '-efg' | '(xyz)', enumQueryInteger?: 1 | -2, enumQueryDouble?: 1.1 | -1.2, enumQueryModelArray?: Array<EnumClass>, enumFormStringArray?: Array<string>, enumFormString?: string, _options?: Configuration): Promise<HttpInfo<void>> { public testEnumParametersWithHttpInfo(enumHeaderStringArray?: Array<'>' | '$'>, enumHeaderString?: '_abc' | '-efg' | '(xyz)', enumQueryStringArray?: Array<'>' | '$'>, enumQueryString?: '_abc' | '-efg' | '(xyz)', enumQueryInteger?: 1 | -2, enumQueryDouble?: 1.1 | -1.2, enumQueryModelArray?: Array<EnumClass>, enumFormStringArray?: Array<string>, enumFormString?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, _options); const result = this.api.testEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, _options);
@ -419,15 +419,15 @@ export class PromiseFakeApi {
/** /**
* To test enum parameters * To test enum parameters
* To test enum parameters * To test enum parameters
* @param enumHeaderStringArray Header parameter enum test (string array) * @param [enumHeaderStringArray] Header parameter enum test (string array)
* @param enumHeaderString Header parameter enum test (string) * @param [enumHeaderString] Header parameter enum test (string)
* @param enumQueryStringArray Query parameter enum test (string array) * @param [enumQueryStringArray] Query parameter enum test (string array)
* @param enumQueryString Query parameter enum test (string) * @param [enumQueryString] Query parameter enum test (string)
* @param enumQueryInteger Query parameter enum test (double) * @param [enumQueryInteger] Query parameter enum test (double)
* @param enumQueryDouble Query parameter enum test (double) * @param [enumQueryDouble] Query parameter enum test (double)
* @param enumQueryModelArray * @param [enumQueryModelArray]
* @param enumFormStringArray Form parameter enum test (string array) * @param [enumFormStringArray] Form parameter enum test (string array)
* @param enumFormString Form parameter enum test (string) * @param [enumFormString] Form parameter enum test (string)
*/ */
public testEnumParameters(enumHeaderStringArray?: Array<'>' | '$'>, enumHeaderString?: '_abc' | '-efg' | '(xyz)', enumQueryStringArray?: Array<'>' | '$'>, enumQueryString?: '_abc' | '-efg' | '(xyz)', enumQueryInteger?: 1 | -2, enumQueryDouble?: 1.1 | -1.2, enumQueryModelArray?: Array<EnumClass>, enumFormStringArray?: Array<string>, enumFormString?: string, _options?: Configuration): Promise<void> { public testEnumParameters(enumHeaderStringArray?: Array<'>' | '$'>, enumHeaderString?: '_abc' | '-efg' | '(xyz)', enumQueryStringArray?: Array<'>' | '$'>, enumQueryString?: '_abc' | '-efg' | '(xyz)', enumQueryInteger?: 1 | -2, enumQueryDouble?: 1.1 | -1.2, enumQueryModelArray?: Array<EnumClass>, enumFormStringArray?: Array<string>, enumFormString?: string, _options?: Configuration): Promise<void> {
const result = this.api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, _options); const result = this.api.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, _options);
@ -440,9 +440,9 @@ export class PromiseFakeApi {
* @param requiredStringGroup Required String in group parameters * @param requiredStringGroup Required String in group parameters
* @param requiredBooleanGroup Required Boolean in group parameters * @param requiredBooleanGroup Required Boolean in group parameters
* @param requiredInt64Group Required Integer in group parameters * @param requiredInt64Group Required Integer in group parameters
* @param stringGroup String in group parameters * @param [stringGroup] String in group parameters
* @param booleanGroup Boolean in group parameters * @param [booleanGroup] Boolean in group parameters
* @param int64Group Integer in group parameters * @param [int64Group] Integer in group parameters
*/ */
public testGroupParametersWithHttpInfo(requiredStringGroup: number, requiredBooleanGroup: boolean, requiredInt64Group: number, stringGroup?: number, booleanGroup?: boolean, int64Group?: number, _options?: Configuration): Promise<HttpInfo<void>> { public testGroupParametersWithHttpInfo(requiredStringGroup: number, requiredBooleanGroup: boolean, requiredInt64Group: number, stringGroup?: number, booleanGroup?: boolean, int64Group?: number, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, _options); const result = this.api.testGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, _options);
@ -455,9 +455,9 @@ export class PromiseFakeApi {
* @param requiredStringGroup Required String in group parameters * @param requiredStringGroup Required String in group parameters
* @param requiredBooleanGroup Required Boolean in group parameters * @param requiredBooleanGroup Required Boolean in group parameters
* @param requiredInt64Group Required Integer in group parameters * @param requiredInt64Group Required Integer in group parameters
* @param stringGroup String in group parameters * @param [stringGroup] String in group parameters
* @param booleanGroup Boolean in group parameters * @param [booleanGroup] Boolean in group parameters
* @param int64Group Integer in group parameters * @param [int64Group] Integer in group parameters
*/ */
public testGroupParameters(requiredStringGroup: number, requiredBooleanGroup: boolean, requiredInt64Group: number, stringGroup?: number, booleanGroup?: boolean, int64Group?: number, _options?: Configuration): Promise<void> { public testGroupParameters(requiredStringGroup: number, requiredBooleanGroup: boolean, requiredInt64Group: number, stringGroup?: number, booleanGroup?: boolean, int64Group?: number, _options?: Configuration): Promise<void> {
const result = this.api.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, _options); const result = this.api.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, _options);
@ -508,13 +508,13 @@ export class PromiseFakeApi {
/** /**
* To test the collection format in query parameters * To test the collection format in query parameters
* @param pipe * @param pipe
* @param ioutil * @param ioutil
* @param http * @param http
* @param url * @param url
* @param context * @param context
* @param allowEmpty * @param allowEmpty
* @param language * @param [language]
*/ */
public testQueryParameterCollectionFormatWithHttpInfo(pipe: Array<string>, ioutil: Array<string>, http: Array<string>, url: Array<string>, context: Array<string>, allowEmpty: string, language?: { [key: string]: string; }, _options?: Configuration): Promise<HttpInfo<void>> { public testQueryParameterCollectionFormatWithHttpInfo(pipe: Array<string>, ioutil: Array<string>, http: Array<string>, url: Array<string>, context: Array<string>, allowEmpty: string, language?: { [key: string]: string; }, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.testQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context, allowEmpty, language, _options); const result = this.api.testQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context, allowEmpty, language, _options);
@ -523,13 +523,13 @@ export class PromiseFakeApi {
/** /**
* To test the collection format in query parameters * To test the collection format in query parameters
* @param pipe * @param pipe
* @param ioutil * @param ioutil
* @param http * @param http
* @param url * @param url
* @param context * @param context
* @param allowEmpty * @param allowEmpty
* @param language * @param [language]
*/ */
public testQueryParameterCollectionFormat(pipe: Array<string>, ioutil: Array<string>, http: Array<string>, url: Array<string>, context: Array<string>, allowEmpty: string, language?: { [key: string]: string; }, _options?: Configuration): Promise<void> { public testQueryParameterCollectionFormat(pipe: Array<string>, ioutil: Array<string>, http: Array<string>, url: Array<string>, context: Array<string>, allowEmpty: string, language?: { [key: string]: string; }, _options?: Configuration): Promise<void> {
const result = this.api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language, _options); const result = this.api.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language, _options);
@ -618,7 +618,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options); const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options);
@ -629,7 +629,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> {
const result = this.api.deletePet(petId, apiKey, _options); const result = this.api.deletePet(petId, apiKey, _options);
@ -720,8 +720,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options); const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options);
@ -732,8 +732,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> {
const result = this.api.updatePetWithForm(petId, name, status, _options); const result = this.api.updatePetWithForm(petId, name, status, _options);
@ -744,8 +744,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> {
const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options); const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options);
@ -756,8 +756,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> {
const result = this.api.uploadFile(petId, additionalMetadata, file, _options); const result = this.api.uploadFile(petId, additionalMetadata, file, _options);
@ -769,7 +769,7 @@ export class PromisePetApi {
* uploads an image (required) * uploads an image (required)
* @param petId ID of pet to update * @param petId ID of pet to update
* @param requiredFile file to upload * @param requiredFile file to upload
* @param additionalMetadata Additional data to pass to server * @param [additionalMetadata] Additional data to pass to server
*/ */
public uploadFileWithRequiredFileWithHttpInfo(petId: number, requiredFile: HttpFile, additionalMetadata?: string, _options?: Configuration): Promise<HttpInfo<ApiResponse>> { public uploadFileWithRequiredFileWithHttpInfo(petId: number, requiredFile: HttpFile, additionalMetadata?: string, _options?: Configuration): Promise<HttpInfo<ApiResponse>> {
const result = this.api.uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata, _options); const result = this.api.uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata, _options);
@ -781,7 +781,7 @@ export class PromisePetApi {
* uploads an image (required) * uploads an image (required)
* @param petId ID of pet to update * @param petId ID of pet to update
* @param requiredFile file to upload * @param requiredFile file to upload
* @param additionalMetadata Additional data to pass to server * @param [additionalMetadata] Additional data to pass to server
*/ */
public uploadFileWithRequiredFile(petId: number, requiredFile: HttpFile, additionalMetadata?: string, _options?: Configuration): Promise<ApiResponse> { public uploadFileWithRequiredFile(petId: number, requiredFile: HttpFile, additionalMetadata?: string, _options?: Configuration): Promise<ApiResponse> {
const result = this.api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata, _options); const result = this.api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata, _options);

View File

@ -23,12 +23,14 @@ export interface PetApiAddPetRequest {
export interface PetApiDeletePetRequest { export interface PetApiDeletePetRequest {
/** /**
* Pet id to delete * Pet id to delete
* Defaults to: undefined
* @type number * @type number
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
petId: number petId: number
/** /**
* *
* Defaults to: undefined
* @type string * @type string
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
@ -38,6 +40,7 @@ export interface PetApiDeletePetRequest {
export interface PetApiFindPetsByStatusRequest { export interface PetApiFindPetsByStatusRequest {
/** /**
* Status values that need to be considered for filter * Status values that need to be considered for filter
* Defaults to: undefined
* @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt; * @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt;
* @memberof PetApifindPetsByStatus * @memberof PetApifindPetsByStatus
*/ */
@ -47,6 +50,7 @@ export interface PetApiFindPetsByStatusRequest {
export interface PetApiFindPetsByTagsRequest { export interface PetApiFindPetsByTagsRequest {
/** /**
* Tags to filter by * Tags to filter by
* Defaults to: undefined
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof PetApifindPetsByTags * @memberof PetApifindPetsByTags
*/ */
@ -56,6 +60,7 @@ export interface PetApiFindPetsByTagsRequest {
export interface PetApiGetPetByIdRequest { export interface PetApiGetPetByIdRequest {
/** /**
* ID of pet to return * ID of pet to return
* Defaults to: undefined
* @type number * @type number
* @memberof PetApigetPetById * @memberof PetApigetPetById
*/ */
@ -74,18 +79,21 @@ export interface PetApiUpdatePetRequest {
export interface PetApiUpdatePetWithFormRequest { export interface PetApiUpdatePetWithFormRequest {
/** /**
* ID of pet that needs to be updated * ID of pet that needs to be updated
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
petId: number petId: number
/** /**
* Updated name of the pet * Updated name of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
name?: string name?: string
/** /**
* Updated status of the pet * Updated status of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
@ -95,18 +103,21 @@ export interface PetApiUpdatePetWithFormRequest {
export interface PetApiUploadFileRequest { export interface PetApiUploadFileRequest {
/** /**
* ID of pet to update * ID of pet to update
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
petId: number petId: number
/** /**
* Additional data to pass to server * Additional data to pass to server
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
additionalMetadata?: string additionalMetadata?: string
/** /**
* file to upload * file to upload
* Defaults to: undefined
* @type HttpFile * @type HttpFile
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
@ -272,6 +283,7 @@ import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreA
export interface StoreApiDeleteOrderRequest { export interface StoreApiDeleteOrderRequest {
/** /**
* ID of the order that needs to be deleted * ID of the order that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof StoreApideleteOrder * @memberof StoreApideleteOrder
*/ */
@ -284,6 +296,9 @@ export interface StoreApiGetInventoryRequest {
export interface StoreApiGetOrderByIdRequest { export interface StoreApiGetOrderByIdRequest {
/** /**
* ID of pet that needs to be fetched * ID of pet that needs to be fetched
* Minimum: 1
* Maximum: 5
* Defaults to: undefined
* @type number * @type number
* @memberof StoreApigetOrderById * @memberof StoreApigetOrderById
*/ */
@ -413,6 +428,7 @@ export interface UserApiCreateUsersWithListInputRequest {
export interface UserApiDeleteUserRequest { export interface UserApiDeleteUserRequest {
/** /**
* The name that needs to be deleted * The name that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApideleteUser * @memberof UserApideleteUser
*/ */
@ -422,6 +438,7 @@ export interface UserApiDeleteUserRequest {
export interface UserApiGetUserByNameRequest { export interface UserApiGetUserByNameRequest {
/** /**
* The name that needs to be fetched. Use user1 for testing. * The name that needs to be fetched. Use user1 for testing.
* Defaults to: undefined
* @type string * @type string
* @memberof UserApigetUserByName * @memberof UserApigetUserByName
*/ */
@ -431,12 +448,14 @@ export interface UserApiGetUserByNameRequest {
export interface UserApiLoginUserRequest { export interface UserApiLoginUserRequest {
/** /**
* The user name for login * The user name for login
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
username: string username: string
/** /**
* The password for login in clear text * The password for login in clear text
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
@ -449,6 +468,7 @@ export interface UserApiLogoutUserRequest {
export interface UserApiUpdateUserRequest { export interface UserApiUpdateUserRequest {
/** /**
* name that need to be deleted * name that need to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiupdateUser * @memberof UserApiupdateUser
*/ */

View File

@ -67,7 +67,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options); const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options);
@ -92,7 +92,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> {
return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -234,8 +234,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options); const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options);
@ -260,8 +260,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> {
return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -271,8 +271,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> {
const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options); const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options);
@ -297,8 +297,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> {
return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data)); return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data));

View File

@ -50,7 +50,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options); const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options);
@ -61,7 +61,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> {
const result = this.api.deletePet(petId, apiKey, _options); const result = this.api.deletePet(petId, apiKey, _options);
@ -152,8 +152,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options); const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options);
@ -164,8 +164,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> {
const result = this.api.updatePetWithForm(petId, name, status, _options); const result = this.api.updatePetWithForm(petId, name, status, _options);
@ -176,8 +176,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> {
const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options); const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options);
@ -188,8 +188,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> {
const result = this.api.uploadFile(petId, additionalMetadata, file, _options); const result = this.api.uploadFile(petId, additionalMetadata, file, _options);

View File

@ -23,12 +23,14 @@ export interface PetApiAddPetRequest {
export interface PetApiDeletePetRequest { export interface PetApiDeletePetRequest {
/** /**
* Pet id to delete * Pet id to delete
* Defaults to: undefined
* @type number * @type number
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
petId: number petId: number
/** /**
* *
* Defaults to: undefined
* @type string * @type string
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
@ -38,6 +40,7 @@ export interface PetApiDeletePetRequest {
export interface PetApiFindPetsByStatusRequest { export interface PetApiFindPetsByStatusRequest {
/** /**
* Status values that need to be considered for filter * Status values that need to be considered for filter
* Defaults to: undefined
* @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt; * @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt;
* @memberof PetApifindPetsByStatus * @memberof PetApifindPetsByStatus
*/ */
@ -47,6 +50,7 @@ export interface PetApiFindPetsByStatusRequest {
export interface PetApiFindPetsByTagsRequest { export interface PetApiFindPetsByTagsRequest {
/** /**
* Tags to filter by * Tags to filter by
* Defaults to: undefined
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof PetApifindPetsByTags * @memberof PetApifindPetsByTags
*/ */
@ -56,6 +60,7 @@ export interface PetApiFindPetsByTagsRequest {
export interface PetApiGetPetByIdRequest { export interface PetApiGetPetByIdRequest {
/** /**
* ID of pet to return * ID of pet to return
* Defaults to: undefined
* @type number * @type number
* @memberof PetApigetPetById * @memberof PetApigetPetById
*/ */
@ -74,18 +79,21 @@ export interface PetApiUpdatePetRequest {
export interface PetApiUpdatePetWithFormRequest { export interface PetApiUpdatePetWithFormRequest {
/** /**
* ID of pet that needs to be updated * ID of pet that needs to be updated
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
petId: number petId: number
/** /**
* Updated name of the pet * Updated name of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
name?: string name?: string
/** /**
* Updated status of the pet * Updated status of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
@ -95,18 +103,21 @@ export interface PetApiUpdatePetWithFormRequest {
export interface PetApiUploadFileRequest { export interface PetApiUploadFileRequest {
/** /**
* ID of pet to update * ID of pet to update
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
petId: number petId: number
/** /**
* Additional data to pass to server * Additional data to pass to server
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
additionalMetadata?: string additionalMetadata?: string
/** /**
* file to upload * file to upload
* Defaults to: undefined
* @type HttpFile * @type HttpFile
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
@ -272,6 +283,7 @@ import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreA
export interface StoreApiDeleteOrderRequest { export interface StoreApiDeleteOrderRequest {
/** /**
* ID of the order that needs to be deleted * ID of the order that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof StoreApideleteOrder * @memberof StoreApideleteOrder
*/ */
@ -284,6 +296,9 @@ export interface StoreApiGetInventoryRequest {
export interface StoreApiGetOrderByIdRequest { export interface StoreApiGetOrderByIdRequest {
/** /**
* ID of pet that needs to be fetched * ID of pet that needs to be fetched
* Minimum: 1
* Maximum: 5
* Defaults to: undefined
* @type number * @type number
* @memberof StoreApigetOrderById * @memberof StoreApigetOrderById
*/ */
@ -413,6 +428,7 @@ export interface UserApiCreateUsersWithListInputRequest {
export interface UserApiDeleteUserRequest { export interface UserApiDeleteUserRequest {
/** /**
* The name that needs to be deleted * The name that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApideleteUser * @memberof UserApideleteUser
*/ */
@ -422,6 +438,7 @@ export interface UserApiDeleteUserRequest {
export interface UserApiGetUserByNameRequest { export interface UserApiGetUserByNameRequest {
/** /**
* The name that needs to be fetched. Use user1 for testing. * The name that needs to be fetched. Use user1 for testing.
* Defaults to: undefined
* @type string * @type string
* @memberof UserApigetUserByName * @memberof UserApigetUserByName
*/ */
@ -431,12 +448,14 @@ export interface UserApiGetUserByNameRequest {
export interface UserApiLoginUserRequest { export interface UserApiLoginUserRequest {
/** /**
* The user name for login * The user name for login
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
username: string username: string
/** /**
* The password for login in clear text * The password for login in clear text
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
@ -449,6 +468,7 @@ export interface UserApiLogoutUserRequest {
export interface UserApiUpdateUserRequest { export interface UserApiUpdateUserRequest {
/** /**
* name that need to be deleted * name that need to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiupdateUser * @memberof UserApiupdateUser
*/ */

View File

@ -62,7 +62,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options); const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options);
@ -87,7 +87,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> {
return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -229,8 +229,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options); const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options);
@ -255,8 +255,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> {
return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -266,8 +266,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> {
const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options); const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options);
@ -292,8 +292,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> {
return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data)); return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data));

View File

@ -45,7 +45,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options); const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options);
@ -56,7 +56,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> {
const result = this.api.deletePet(petId, apiKey, _options); const result = this.api.deletePet(petId, apiKey, _options);
@ -147,8 +147,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options); const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options);
@ -159,8 +159,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> {
const result = this.api.updatePetWithForm(petId, name, status, _options); const result = this.api.updatePetWithForm(petId, name, status, _options);
@ -171,8 +171,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> {
const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options); const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options);
@ -183,8 +183,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> {
const result = this.api.uploadFile(petId, additionalMetadata, file, _options); const result = this.api.uploadFile(petId, additionalMetadata, file, _options);

View File

@ -23,12 +23,14 @@ export interface PetApiAddPetRequest {
export interface PetApiDeletePetRequest { export interface PetApiDeletePetRequest {
/** /**
* Pet id to delete * Pet id to delete
* Defaults to: undefined
* @type number * @type number
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
petId: number petId: number
/** /**
* *
* Defaults to: undefined
* @type string * @type string
* @memberof PetApideletePet * @memberof PetApideletePet
*/ */
@ -38,6 +40,7 @@ export interface PetApiDeletePetRequest {
export interface PetApiFindPetsByStatusRequest { export interface PetApiFindPetsByStatusRequest {
/** /**
* Status values that need to be considered for filter * Status values that need to be considered for filter
* Defaults to: undefined
* @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt; * @type Array&lt;&#39;available&#39; | &#39;pending&#39; | &#39;sold&#39;&gt;
* @memberof PetApifindPetsByStatus * @memberof PetApifindPetsByStatus
*/ */
@ -47,6 +50,7 @@ export interface PetApiFindPetsByStatusRequest {
export interface PetApiFindPetsByTagsRequest { export interface PetApiFindPetsByTagsRequest {
/** /**
* Tags to filter by * Tags to filter by
* Defaults to: undefined
* @type Array&lt;string&gt; * @type Array&lt;string&gt;
* @memberof PetApifindPetsByTags * @memberof PetApifindPetsByTags
*/ */
@ -56,6 +60,7 @@ export interface PetApiFindPetsByTagsRequest {
export interface PetApiGetPetByIdRequest { export interface PetApiGetPetByIdRequest {
/** /**
* ID of pet to return * ID of pet to return
* Defaults to: undefined
* @type number * @type number
* @memberof PetApigetPetById * @memberof PetApigetPetById
*/ */
@ -74,18 +79,21 @@ export interface PetApiUpdatePetRequest {
export interface PetApiUpdatePetWithFormRequest { export interface PetApiUpdatePetWithFormRequest {
/** /**
* ID of pet that needs to be updated * ID of pet that needs to be updated
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
petId: number petId: number
/** /**
* Updated name of the pet * Updated name of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
name?: string name?: string
/** /**
* Updated status of the pet * Updated status of the pet
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiupdatePetWithForm * @memberof PetApiupdatePetWithForm
*/ */
@ -95,18 +103,21 @@ export interface PetApiUpdatePetWithFormRequest {
export interface PetApiUploadFileRequest { export interface PetApiUploadFileRequest {
/** /**
* ID of pet to update * ID of pet to update
* Defaults to: undefined
* @type number * @type number
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
petId: number petId: number
/** /**
* Additional data to pass to server * Additional data to pass to server
* Defaults to: undefined
* @type string * @type string
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
additionalMetadata?: string additionalMetadata?: string
/** /**
* file to upload * file to upload
* Defaults to: undefined
* @type HttpFile * @type HttpFile
* @memberof PetApiuploadFile * @memberof PetApiuploadFile
*/ */
@ -272,6 +283,7 @@ import { StoreApiRequestFactory, StoreApiResponseProcessor} from "../apis/StoreA
export interface StoreApiDeleteOrderRequest { export interface StoreApiDeleteOrderRequest {
/** /**
* ID of the order that needs to be deleted * ID of the order that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof StoreApideleteOrder * @memberof StoreApideleteOrder
*/ */
@ -284,6 +296,9 @@ export interface StoreApiGetInventoryRequest {
export interface StoreApiGetOrderByIdRequest { export interface StoreApiGetOrderByIdRequest {
/** /**
* ID of pet that needs to be fetched * ID of pet that needs to be fetched
* Minimum: 1
* Maximum: 5
* Defaults to: undefined
* @type number * @type number
* @memberof StoreApigetOrderById * @memberof StoreApigetOrderById
*/ */
@ -413,6 +428,7 @@ export interface UserApiCreateUsersWithListInputRequest {
export interface UserApiDeleteUserRequest { export interface UserApiDeleteUserRequest {
/** /**
* The name that needs to be deleted * The name that needs to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApideleteUser * @memberof UserApideleteUser
*/ */
@ -422,6 +438,7 @@ export interface UserApiDeleteUserRequest {
export interface UserApiGetUserByNameRequest { export interface UserApiGetUserByNameRequest {
/** /**
* The name that needs to be fetched. Use user1 for testing. * The name that needs to be fetched. Use user1 for testing.
* Defaults to: undefined
* @type string * @type string
* @memberof UserApigetUserByName * @memberof UserApigetUserByName
*/ */
@ -431,12 +448,14 @@ export interface UserApiGetUserByNameRequest {
export interface UserApiLoginUserRequest { export interface UserApiLoginUserRequest {
/** /**
* The user name for login * The user name for login
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
username: string username: string
/** /**
* The password for login in clear text * The password for login in clear text
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiloginUser * @memberof UserApiloginUser
*/ */
@ -449,6 +468,7 @@ export interface UserApiLogoutUserRequest {
export interface UserApiUpdateUserRequest { export interface UserApiUpdateUserRequest {
/** /**
* name that need to be deleted * name that need to be deleted
* Defaults to: undefined
* @type string * @type string
* @memberof UserApiupdateUser * @memberof UserApiupdateUser
*/ */

View File

@ -62,7 +62,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options); const requestContextPromise = this.requestFactory.deletePet(petId, apiKey, _options);
@ -87,7 +87,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Observable<void> {
return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.deletePetWithHttpInfo(petId, apiKey, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -229,8 +229,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Observable<HttpInfo<void>> {
const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options); const requestContextPromise = this.requestFactory.updatePetWithForm(petId, name, status, _options);
@ -255,8 +255,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Observable<void> {
return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data)); return this.updatePetWithFormWithHttpInfo(petId, name, status, _options).pipe(map((apiResponse: HttpInfo<void>) => apiResponse.data));
@ -266,8 +266,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<HttpInfo<ApiResponse>> {
const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options); const requestContextPromise = this.requestFactory.uploadFile(petId, additionalMetadata, file, _options);
@ -292,8 +292,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Observable<ApiResponse> {
return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data)); return this.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options).pipe(map((apiResponse: HttpInfo<ApiResponse>) => apiResponse.data));

View File

@ -45,7 +45,7 @@ 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]
*/ */
public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> { public deletePetWithHttpInfo(petId: number, apiKey?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options); const result = this.api.deletePetWithHttpInfo(petId, apiKey, _options);
@ -56,7 +56,7 @@ 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]
*/ */
public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> { public deletePet(petId: number, apiKey?: string, _options?: Configuration): Promise<void> {
const result = this.api.deletePet(petId, apiKey, _options); const result = this.api.deletePet(petId, apiKey, _options);
@ -147,8 +147,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> { public updatePetWithFormWithHttpInfo(petId: number, name?: string, status?: string, _options?: Configuration): Promise<HttpInfo<void>> {
const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options); const result = this.api.updatePetWithFormWithHttpInfo(petId, name, status, _options);
@ -159,8 +159,8 @@ 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
* @param status Updated status of the pet * @param [status] Updated status of the pet
*/ */
public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> { public updatePetWithForm(petId: number, name?: string, status?: string, _options?: Configuration): Promise<void> {
const result = this.api.updatePetWithForm(petId, name, status, _options); const result = this.api.updatePetWithForm(petId, name, status, _options);
@ -171,8 +171,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> { public uploadFileWithHttpInfo(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<HttpInfo<ApiResponse>> {
const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options); const result = this.api.uploadFileWithHttpInfo(petId, additionalMetadata, file, _options);
@ -183,8 +183,8 @@ 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
* @param file file to upload * @param [file] file to upload
*/ */
public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> { public uploadFile(petId: number, additionalMetadata?: string, file?: HttpFile, _options?: Configuration): Promise<ApiResponse> {
const result = this.api.uploadFile(petId, additionalMetadata, file, _options); const result = this.api.uploadFile(petId, additionalMetadata, file, _options);