Skip to content

Commit df0bd01

Browse files
committed
regen files?
1 parent aa437e8 commit df0bd01

6 files changed

Lines changed: 12 additions & 20 deletions

File tree

samples/client/others/typescript-fetch/infinite-recursion-issue/apis/TestApi.ts

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,21 @@ import {
2525
export class TestApi extends runtime.BaseAPI {
2626

2727
/**
28-
* Creates request options for test without sending the request
2928
*/
30-
async testRequestOpts(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.RequestOpts> {
29+
async testRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TestBaseDto>>> {
3130
const queryParameters: any = {};
3231

3332
const headerParameters: runtime.HTTPHeaders = {};
3433

3534

3635
let urlPath = `/api/v1/test`;
3736

38-
return {
37+
const response = await this.request({
3938
path: urlPath,
4039
method: 'GET',
4140
headers: headerParameters,
4241
query: queryParameters,
43-
};
44-
}
45-
46-
/**
47-
*/
48-
async testRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TestBaseDto>>> {
49-
const requestConfig = await this.testRequestConfig(initOverrides);
50-
const response = await this.request(requestConfig, initOverrides);
42+
}, initOverrides);
5143

5244
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TestBaseDtoFromJSON));
5345
}

samples/client/petstore/typescript-fetch/builds/es6-target/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import type { AddPetRequest } from '@openapitools/typescript-fetch-petstore';
2222

2323
async function example() {
2424
console.log("🚀 Testing @openapitools/typescript-fetch-petstore SDK...");
25-
const config = new Configuration({
25+
const config = new Configuration({
2626
// To configure OAuth2 access token for authorization: petstore_auth implicit
2727
accessToken: "YOUR ACCESS TOKEN",
2828
});
@@ -96,7 +96,7 @@ Authentication schemes defined for the API:
9696
- **Type**: OAuth
9797
- **Flow**: implicit
9898
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
99-
- **Scopes**:
99+
- **Scopes**:
100100
- `write:pets`: modify pets in your account
101101
- `read:pets`: read your pets
102102
<a id="api_key"></a>

samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import type { AddPetRequest } from '@openapitools/typescript-fetch-petstore';
2222

2323
async function example() {
2424
console.log("🚀 Testing @openapitools/typescript-fetch-petstore SDK...");
25-
const config = new Configuration({
25+
const config = new Configuration({
2626
// To configure OAuth2 access token for authorization: petstore_auth implicit
2727
accessToken: "YOUR ACCESS TOKEN",
2828
});
@@ -96,7 +96,7 @@ Authentication schemes defined for the API:
9696
- **Type**: OAuth
9797
- **Flow**: implicit
9898
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
99-
- **Scopes**:
99+
- **Scopes**:
100100
- `write:pets`: modify pets in your account
101101
- `read:pets`: read your pets
102102
<a id="api_key"></a>

samples/client/petstore/typescript-fetch/builds/sagas-and-records/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Authentication schemes defined for the API:
118118
- **Type**: OAuth
119119
- **Flow**: implicit
120120
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
121-
- **Scopes**:
121+
- **Scopes**:
122122
- `write:pets`: modify pets in your account
123123
- `read:pets`: read your pets
124124
<a id="api_key"></a>

samples/client/petstore/typescript-fetch/builds/with-npm-version/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import type { AddPetRequest } from '@openapitools/typescript-fetch-petstore';
2222

2323
async function example() {
2424
console.log("🚀 Testing @openapitools/typescript-fetch-petstore SDK...");
25-
const config = new Configuration({
25+
const config = new Configuration({
2626
// To configure OAuth2 access token for authorization: petstore_auth implicit
2727
accessToken: "YOUR ACCESS TOKEN",
2828
});
@@ -96,7 +96,7 @@ Authentication schemes defined for the API:
9696
- **Type**: OAuth
9797
- **Flow**: implicit
9898
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
99-
- **Scopes**:
99+
- **Scopes**:
100100
- `write:pets`: modify pets in your account
101101
- `read:pets`: read your pets
102102
<a id="api_key"></a>

samples/client/petstore/typescript-fetch/builds/without-runtime-checks/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import type { AddPetRequest } from '@openapitools/typescript-fetch-petstore';
2222

2323
async function example() {
2424
console.log("🚀 Testing @openapitools/typescript-fetch-petstore SDK...");
25-
const config = new Configuration({
25+
const config = new Configuration({
2626
// To configure OAuth2 access token for authorization: petstore_auth implicit
2727
accessToken: "YOUR ACCESS TOKEN",
2828
});
@@ -96,7 +96,7 @@ Authentication schemes defined for the API:
9696
- **Type**: OAuth
9797
- **Flow**: implicit
9898
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
99-
- **Scopes**:
99+
- **Scopes**:
100100
- `write:pets`: modify pets in your account
101101
- `read:pets`: read your pets
102102
<a id="api_key"></a>

0 commit comments

Comments
 (0)