From d00a5c304f66e149d50e4c083253cd0e666a300d Mon Sep 17 00:00:00 2001 From: William Cheng Date: Fri, 18 Feb 2022 00:53:42 +0800 Subject: [PATCH] update samples --- .../builds/default-v3.0/models/ObjectWithDeprecatedFields.ts | 3 +++ .../typescript-fetch/builds/with-interfaces/apis/PetApi.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ObjectWithDeprecatedFields.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ObjectWithDeprecatedFields.ts index c14eb976bfad..1ea8d319f116 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ObjectWithDeprecatedFields.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ObjectWithDeprecatedFields.ts @@ -36,18 +36,21 @@ export interface ObjectWithDeprecatedFields { * * @type {number} * @memberof ObjectWithDeprecatedFields + * @deprecated */ id?: number; /** * * @type {DeprecatedObject} * @memberof ObjectWithDeprecatedFields + * @deprecated */ deprecatedRef?: DeprecatedObject; /** * * @type {Array} * @memberof ObjectWithDeprecatedFields + * @deprecated */ bars?: Array; } diff --git a/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/PetApi.ts b/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/PetApi.ts index 9c3628a326d2..c102e434f853 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/PetApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/PetApi.ts @@ -119,6 +119,7 @@ export interface PetApiInterface { * @summary Finds Pets by tags * @param {Array} tags Tags to filter by * @param {*} [options] Override http request option. + * @deprecated * @throws {RequiredError} * @memberof PetApiInterface */