diff --git a/samples/client/echo_api/typescript-axios/build/package.json b/samples/client/echo_api/typescript-axios/build/package.json index 7a6fdfbb826..e5d6921f72a 100644 --- a/samples/client/echo_api/typescript-axios/build/package.json +++ b/samples/client/echo_api/typescript-axios/build/package.json @@ -22,7 +22,7 @@ "prepare": "npm run build" }, "dependencies": { - "axios": "" + "axios": "^1.6.1" }, "devDependencies": { "@types/node": "12.11.5 - 12.20.42", diff --git a/samples/client/petstore/k6/script.js b/samples/client/petstore/k6/script.js index 7679e0ca053..2d19d1f9961 100644 --- a/samples/client/petstore/k6/script.js +++ b/samples/client/petstore/k6/script.js @@ -19,8 +19,10 @@ const BASE_URL = "https://127.0.0.1/no_varaible"; // You might want to edit the value of this variable or remove calls to the sleep function on the script. const SLEEP_DURATION = 0.1; // Global variables should be initialized. +let globalApiKeyCookie = "TODO_EDIT_THE_GLOBAL_API_KEY_COOKIE"; let booleanGroup = "TODO_EDIT_THE_BOOLEAN_GROUP"; let header1 = "TODO_EDIT_THE_HEADER_1"; +let globalApiKeyHeader = "TODO_EDIT_THE_GLOBAL_API_KEY_HEADER"; let apiKey = "TODO_EDIT_THE_API_KEY"; let requiredBooleanGroup = "TODO_EDIT_THE_REQUIRED_BOOLEAN_GROUP"; let enumHeaderStringArray = "TODO_EDIT_THE_ENUM_HEADER_STRING_ARRAY"; @@ -41,7 +43,9 @@ export default function() { let body = {"enumFormStringArray": "list", "enumFormString": "string"}; let params = { headers: { - "Content-Type": "application/x-www-form-urlencoded", "enum_header_string_array": `${enumHeaderStringArray}`, "enum_header_string": `${enumHeaderString}`, "Accept": "application/json" + "Content-Type": "application/x-www-form-urlencoded", "enum_header_string_array": `${enumHeaderStringArray}`, "enum_header_string": `${enumHeaderString}`, "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.get(url, JSON.stringify(body), params); @@ -57,7 +61,9 @@ export default function() { let body = {"client": "string"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.patch(url, JSON.stringify(body), params); @@ -75,7 +81,9 @@ export default function() { let url = BASE_URL + `/fake/outer/boolean`; let params = { headers: { - "Content-Type": "application/json", "Accept": "*/*" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "*/*" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, params); @@ -95,7 +103,9 @@ export default function() { let body = {"client": "string"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.patch(url, JSON.stringify(body), params); @@ -115,7 +125,9 @@ export default function() { let body = {"id": "long", "category": {"id": "long", "name": "string"}, "name": "string", "photoUrls": "set", "tags": "list", "status": "string"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.put(url, JSON.stringify(body), params); @@ -134,7 +146,9 @@ export default function() { let body = {"id": "long", "category": {"id": "long", "name": "string"}, "name": "string", "photoUrls": "set", "tags": "list", "status": "string"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, JSON.stringify(body), params); @@ -154,7 +168,9 @@ export default function() { let body = {"someProperty": "string"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, JSON.stringify(body), params); @@ -171,7 +187,14 @@ export default function() { // Request No. 1: getUserByName { let url = BASE_URL + `/user/${username}`; - let request = http.get(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + let request = http.get(url, params); check(request, { "successful operation": (r) => r.status === 200 @@ -183,7 +206,15 @@ export default function() { // Request No. 2: deleteUser { let url = BASE_URL + `/user/${username}`; - let request = http.del(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + // this is a DELETE method request - if params are also set, empty body must be passed + let request = http.del(url, {} , params); } }); @@ -195,7 +226,9 @@ export default function() { let url = BASE_URL + `/fake/body-with-binary`; let params = { headers: { - "Content-Type": "image/png", "Accept": "application/json" + "Content-Type": "image/png", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.put(url, params); @@ -215,7 +248,9 @@ export default function() { let body = {"type": "string", "nullableProperty": "string", "otherProperty": "string"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, JSON.stringify(body), params); @@ -235,7 +270,9 @@ export default function() { let body = {"client": "string"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.patch(url, JSON.stringify(body), params); @@ -253,7 +290,9 @@ export default function() { let url = BASE_URL + `/user/createWithList`; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, params); @@ -271,7 +310,9 @@ export default function() { let url = BASE_URL + `/fake/inline-additionalProperties`; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, params); @@ -287,7 +328,14 @@ export default function() { // Request No. 1: getInventory { let url = BASE_URL + `/store/inventory`; - let request = http.get(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + let request = http.get(url, params); check(request, { "successful operation": (r) => r.status === 200 @@ -302,7 +350,14 @@ export default function() { // Request No. 1: loginUser { let url = BASE_URL + `/user/login?username=${username}&password=${password}`; - let request = http.get(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + let request = http.get(url, params); check(request, { "successful operation": (r) => r.status === 200 @@ -317,7 +372,9 @@ export default function() { let url = BASE_URL + `/fake/stringMap-reference`; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, params); @@ -337,7 +394,9 @@ export default function() { let body = {"myNumber": "bigdecimal", "myString": "string", "myBoolean": "boolean"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "*/*" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "*/*" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, JSON.stringify(body), params); @@ -357,7 +416,9 @@ export default function() { let body = {"param": "string", "param2": "string"}; let params = { headers: { - "Content-Type": "application/x-www-form-urlencoded", "Accept": "application/json" + "Content-Type": "application/x-www-form-urlencoded", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.get(url, JSON.stringify(body), params); @@ -378,7 +439,9 @@ export default function() { let body = {"additionalMetadata": "string", "requiredFile": http.file(open("/path/to/file.bin", "b"), "test.bin")}; let params = { headers: { - "Content-Type": "multipart/form-data", "Accept": "application/json" + "Content-Type": "multipart/form-data", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, JSON.stringify(body), params); @@ -395,7 +458,14 @@ export default function() { // Request No. 1: getPetById { let url = BASE_URL + `/pet/${petId}`; - let request = http.get(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + let request = http.get(url, params); check(request, { "successful operation": (r) => r.status === 200 @@ -409,7 +479,9 @@ export default function() { let url = BASE_URL + `/pet/${petId}`; let params = { headers: { - "api_key": `${apiKey}`, "Accept": "application/json" + "api_key": `${apiKey}`, "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; // this is a DELETE method request - if params are also set, empty body must be passed @@ -426,7 +498,14 @@ export default function() { // Request No. 1: { let url = BASE_URL + `/foo`; - let request = http.get(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + let request = http.get(url, params); check(request, { "response": (r) => r.status === 200 @@ -441,7 +520,9 @@ export default function() { let url = BASE_URL + `/fake/outer/string`; let params = { headers: { - "Content-Type": "application/json", "Accept": "*/*" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "*/*" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, params); @@ -464,7 +545,14 @@ export default function() { // Request No. 1: testQueryParameterCollectionFormat { let url = BASE_URL + `/fake/test-query-parameters?pipe=${pipe}&ioutil=${ioutil}&http=${http}&url=${url}&context=${context}&language=${language}&allowEmpty=${allowEmpty}`; - let request = http.put(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + let request = http.put(url, params); check(request, { "Success": (r) => r.status === 200 @@ -478,7 +566,14 @@ export default function() { // Request No. 1: getOrderById { let url = BASE_URL + `/store/order/${order_id}`; - let request = http.get(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + let request = http.get(url, params); check(request, { "successful operation": (r) => r.status === 200 @@ -490,7 +585,15 @@ export default function() { // Request No. 2: deleteOrder { let url = BASE_URL + `/store/order/${order_id}`; - let request = http.del(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + // this is a DELETE method request - if params are also set, empty body must be passed + let request = http.del(url, {} , params); } }); @@ -502,7 +605,9 @@ export default function() { let url = BASE_URL + `/fake/additionalProperties-reference`; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, params); @@ -519,7 +624,14 @@ export default function() { // Request No. 1: findPetsByStatus { let url = BASE_URL + `/pet/findByStatus?status=${status}`; - let request = http.get(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + let request = http.get(url, params); check(request, { "successful operation": (r) => r.status === 200 @@ -537,7 +649,9 @@ export default function() { let body = {"id": "long", "username": "string", "firstName": "string", "lastName": "string", "email": "string", "password": "string", "phone": "string", "userStatus": "integer"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.put(url, JSON.stringify(body), params); @@ -558,7 +672,9 @@ export default function() { let body = {"additionalMetadata": "string", "file": http.file(open("/path/to/file.bin", "b"), "test.bin")}; let params = { headers: { - "Content-Type": "multipart/form-data", "Accept": "application/json" + "Content-Type": "multipart/form-data", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, JSON.stringify(body), params); @@ -579,7 +695,9 @@ export default function() { let body = {"id": "long", "category": {"id": "long", "name": "string"}, "name": "string", "photoUrls": "set", "tags": "list", "status": "string"}; let params = { headers: { - "Content-Type": "application/json", "header_1": `${header1}`, "Accept": "application/json" + "Content-Type": "application/json", "header_1": `${header1}`, "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.get(url, JSON.stringify(body), params); @@ -599,7 +717,9 @@ export default function() { let body = {"id": "long", "username": "string", "firstName": "string", "lastName": "string", "email": "string", "password": "string", "phone": "string", "userStatus": "integer"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, JSON.stringify(body), params); @@ -619,7 +739,9 @@ export default function() { let body = {"value": "outerenuminteger"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "*/*" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "*/*" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, JSON.stringify(body), params); @@ -637,7 +759,9 @@ export default function() { let url = BASE_URL + `/user/createWithArray`; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, params); @@ -657,7 +781,9 @@ export default function() { let body = {"file": http.file(open("/path/to/file.bin", "b"), "test.bin"), "files": "list"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.put(url, JSON.stringify(body), params); @@ -674,7 +800,14 @@ export default function() { // Request No. 1: findPetsByTags { let url = BASE_URL + `/pet/findByTags?tags=${tags}`; - let request = http.get(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + let request = http.get(url, params); check(request, { "successful operation": (r) => r.status === 200 @@ -691,7 +824,9 @@ export default function() { let body = {"id": "long", "petId": "long", "quantity": "integer", "shipDate": "date", "status": "string", "complete": "boolean"}; let params = { headers: { - "Content-Type": "application/json", "Accept": "application/json" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, JSON.stringify(body), params); @@ -707,7 +842,14 @@ export default function() { // Request No. 1: logoutUser { let url = BASE_URL + `/user/logout`; - let request = http.get(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + let request = http.get(url, params); check(request, { "successful operation": (r) => r.status === 200 @@ -720,7 +862,14 @@ export default function() { // Request No. 1: fakeBigDecimalMap { let url = BASE_URL + `/fake/BigDecimalMap`; - let request = http.get(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "*/*" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + let request = http.get(url, params); check(request, { "successful operation": (r) => r.status === 200 @@ -733,7 +882,14 @@ export default function() { // Request No. 1: { let url = BASE_URL + `/fake/health`; - let request = http.get(url); + let params = { + headers: { + "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "application/json" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` + } + }; + let request = http.get(url, params); check(request, { "The instance started successfully": (r) => r.status === 200 @@ -748,7 +904,9 @@ export default function() { let url = BASE_URL + `/fake/outer/number`; let params = { headers: { - "Content-Type": "application/json", "Accept": "*/*" + "Content-Type": "application/json", "global_api_key_header": `${globalApiKeyHeader}`, "Accept": "*/*" + }, cookies: { + "global_api_key_cookie": `${globalApiKeyCookie}` } }; let request = http.post(url, params); diff --git a/samples/client/petstore/typescript-axios/builds/es6-target/package.json b/samples/client/petstore/typescript-axios/builds/es6-target/package.json index 6b58df56d55..2c6217f2d80 100644 --- a/samples/client/petstore/typescript-axios/builds/es6-target/package.json +++ b/samples/client/petstore/typescript-axios/builds/es6-target/package.json @@ -24,7 +24,7 @@ "prepare": "npm run build" }, "dependencies": { - "axios": "" + "axios": "^1.6.1" }, "devDependencies": { "@types/node": "12.11.5 - 12.20.42", diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json index 8a493d5b519..aa938d8bf65 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json @@ -22,7 +22,7 @@ "prepare": "npm run build" }, "dependencies": { - "axios": "" + "axios": "^1.6.1" }, "devDependencies": { "@types/node": "12.11.5 - 12.20.42", diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version/package.json b/samples/client/petstore/typescript-axios/builds/with-npm-version/package.json index 8a493d5b519..aa938d8bf65 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version/package.json +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version/package.json @@ -22,7 +22,7 @@ "prepare": "npm run build" }, "dependencies": { - "axios": "" + "axios": "^1.6.1" }, "devDependencies": { "@types/node": "12.11.5 - 12.20.42", diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/AllOfWithSingleRef.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/AllOfWithSingleRef.ts index 2b247b983ff..4d81b3f9698 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/AllOfWithSingleRef.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/AllOfWithSingleRef.ts @@ -40,6 +40,8 @@ export interface AllOfWithSingleRef { singleRefType?: SingleRefType; } + + /** * Check if a given object implements the AllOfWithSingleRef interface. */ diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterObjectWithEnumProperty.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterObjectWithEnumProperty.ts index c8ca1734039..47e184b3414 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterObjectWithEnumProperty.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterObjectWithEnumProperty.ts @@ -34,6 +34,8 @@ export interface OuterObjectWithEnumProperty { value: OuterEnumInteger; } + + /** * Check if a given object implements the OuterObjectWithEnumProperty interface. */ diff --git a/samples/client/petstore/typescript-fetch/builds/enum/models/EnumPatternObject.ts b/samples/client/petstore/typescript-fetch/builds/enum/models/EnumPatternObject.ts index fc2c493f04c..576b5fde62d 100644 --- a/samples/client/petstore/typescript-fetch/builds/enum/models/EnumPatternObject.ts +++ b/samples/client/petstore/typescript-fetch/builds/enum/models/EnumPatternObject.ts @@ -58,6 +58,8 @@ export interface EnumPatternObject { nullableNumberEnum?: NumberEnum | null; } + + /** * Check if a given object implements the EnumPatternObject interface. */ diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/GetBehaviorTypeResponse.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/GetBehaviorTypeResponse.ts index 5de27f58461..f3d8f640f8b 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/GetBehaviorTypeResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/GetBehaviorTypeResponse.ts @@ -46,6 +46,8 @@ export interface GetBehaviorTypeResponse { data?: BehaviorType; } + + /** * Check if a given object implements the GetBehaviorTypeResponse interface. */ diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/GetPetPartTypeResponse.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/GetPetPartTypeResponse.ts index 16ec3947673..5e2f514633c 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/GetPetPartTypeResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/GetPetPartTypeResponse.ts @@ -46,6 +46,8 @@ export interface GetPetPartTypeResponse { data?: PetPartType; } + + /** * Check if a given object implements the GetPetPartTypeResponse interface. */ diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/AllOfWithSingleRef.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/AllOfWithSingleRef.ts index 2b247b983ff..4d81b3f9698 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/AllOfWithSingleRef.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/AllOfWithSingleRef.ts @@ -40,6 +40,8 @@ export interface AllOfWithSingleRef { singleRefType?: SingleRefType; } + + /** * Check if a given object implements the AllOfWithSingleRef interface. */ diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterObjectWithEnumProperty.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterObjectWithEnumProperty.ts index c8ca1734039..47e184b3414 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterObjectWithEnumProperty.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterObjectWithEnumProperty.ts @@ -34,6 +34,8 @@ export interface OuterObjectWithEnumProperty { value: OuterEnumInteger; } + + /** * Check if a given object implements the OuterObjectWithEnumProperty interface. */ diff --git a/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/EnumPatternObject.ts b/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/EnumPatternObject.ts index fc2c493f04c..576b5fde62d 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/EnumPatternObject.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/EnumPatternObject.ts @@ -58,6 +58,8 @@ export interface EnumPatternObject { nullableNumberEnum?: NumberEnum | null; } + + /** * Check if a given object implements the EnumPatternObject interface. */