Skip to content

Commit 66cfec9

Browse files
authored
chore: bumping out of date deps (#603)
* chore: bumping out of date deps * chore: bump httpsnippet
1 parent c19a991 commit 66cfec9

File tree

13 files changed

+743
-1147
lines changed

13 files changed

+743
-1147
lines changed

package-lock.json

+452-799
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
],
2929
"prettier": "@readme/eslint-config/prettier",
3030
"devDependencies": {
31-
"@commitlint/cli": "^17.3.0",
32-
"@commitlint/config-conventional": "^17.3.0",
33-
"@readme/eslint-config": "^10.2.0",
31+
"@commitlint/cli": "^17.4.1",
32+
"@commitlint/config-conventional": "^17.4.0",
33+
"@readme/eslint-config": "^10.3.2",
3434
"alex": "^11.0.0",
35-
"eslint": "^8.28.0",
36-
"husky": "^8.0.2",
35+
"eslint": "^8.31.0",
36+
"husky": "^8.0.3",
3737
"prettier": "^2.8.0"
3838
},
3939
"commitlint": {

packages/api/package-lock.json

+106-112
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/api/package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
"swagger"
3838
],
3939
"dependencies": {
40-
"@readme/oas-to-har": "^20.0.1",
40+
"@readme/oas-to-har": "^20.0.2",
4141
"@readme/openapi-parser": "^2.4.0",
4242
"caseless": "^0.12.0",
4343
"chalk": "^4.1.2",
44-
"commander": "^9.4.1",
44+
"commander": "^9.5.0",
4545
"datauri": "^4.1.0",
4646
"execa": "^5.1.1",
47-
"fetch-har": "^8.1.3",
47+
"fetch-har": "^8.1.4",
4848
"figures": "^3.2.0",
4949
"find-cache-dir": "^3.3.1",
5050
"form-data-encoder": "^1.7.2",
@@ -61,9 +61,9 @@
6161
"lodash.startcase": "^4.4.0",
6262
"make-dir": "^3.1.0",
6363
"node-abort-controller": "^3.0.1",
64-
"oas": "^20.0.1",
64+
"oas": "^20.3.0",
6565
"ora": "^5.4.1",
66-
"prettier": "^2.8.1",
66+
"prettier": "^2.8.2",
6767
"prompts": "^2.4.2",
6868
"remove-undefined-objects": "^2.0.2",
6969
"semver": "^7.3.8",
@@ -83,7 +83,7 @@
8383
"@types/lodash.setwith": "^4.3.7",
8484
"@types/lodash.startcase": "^4.4.7",
8585
"@types/mocha": "^10.0.1",
86-
"@types/prettier": "^2.7.1",
86+
"@types/prettier": "^2.7.2",
8787
"@types/prompts": "^2.4.2",
8888
"@types/semver": "^7.3.13",
8989
"@types/sinon-chai": "^3.2.9",
@@ -94,10 +94,10 @@
9494
"mocha": "^10.1.0",
9595
"mock-require": "^3.0.3",
9696
"nyc": "^15.1.0",
97-
"oas-normalize": "^8.1.4",
97+
"oas-normalize": "^8.3.1",
9898
"sinon": "^15.0.0",
9999
"sinon-chai": "^3.7.0",
100-
"type-fest": "^3.3.0",
100+
"type-fest": "^3.5.1",
101101
"typescript": "^4.9.4",
102102
"unique-temp-dir": "^1.0.0"
103103
},

packages/api/test/__fixtures__/sdk/alby/types.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -44,27 +44,27 @@ export type GetAccountsAccountIdAppsMetadataParam = FromSchema<
4444
typeof schemas.GetAccountsAccountIdApps.metadata
4545
>;
4646
export type GetAccountsAccountIdAppsResponse200 = FromSchema<
47-
typeof schemas.GetAccountsAccountIdApps.response['200']
47+
(typeof schemas.GetAccountsAccountIdApps.response)['200']
4848
>;
4949
export type GetAppsAppIdKeysMetadataParam = FromSchema<typeof schemas.GetAppsAppIdKeys.metadata>;
5050
export type GetAppsAppIdKeysResponse200 = FromSchema<
51-
typeof schemas.GetAppsAppIdKeys.response['200']
51+
(typeof schemas.GetAppsAppIdKeys.response)['200']
5252
>;
5353
export type GetAppsAppIdNamespacesMetadataParam = FromSchema<
5454
typeof schemas.GetAppsAppIdNamespaces.metadata
5555
>;
5656
export type GetAppsAppIdNamespacesResponse200 = FromSchema<
57-
typeof schemas.GetAppsAppIdNamespaces.response['200']
57+
(typeof schemas.GetAppsAppIdNamespaces.response)['200']
5858
>;
5959
export type GetAppsAppIdQueuesMetadataParam = FromSchema<
6060
typeof schemas.GetAppsAppIdQueues.metadata
6161
>;
6262
export type GetAppsAppIdQueuesResponse200 = FromSchema<
63-
typeof schemas.GetAppsAppIdQueues.response['200']
63+
(typeof schemas.GetAppsAppIdQueues.response)['200']
6464
>;
6565
export type GetAppsAppIdRulesMetadataParam = FromSchema<typeof schemas.GetAppsAppIdRules.metadata>;
6666
export type GetAppsAppIdRulesResponse200 = FromSchema<
67-
typeof schemas.GetAppsAppIdRules.response['200']
67+
(typeof schemas.GetAppsAppIdRules.response)['200']
6868
>;
6969
export type GetAppsAppIdRulesRuleIdMetadataParam = FromSchema<
7070
typeof schemas.GetAppsAppIdRulesRuleId.metadata

packages/api/test/__fixtures__/sdk/petstore/types.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ export type DeletePetMetadataParam = FromSchema<typeof schemas.DeletePet.metadat
1414
export type DeleteUserMetadataParam = FromSchema<typeof schemas.DeleteUser.metadata>;
1515
export type FindPetsByStatusMetadataParam = FromSchema<typeof schemas.FindPetsByStatus.metadata>;
1616
export type FindPetsByStatusResponse200 = FromSchema<
17-
typeof schemas.FindPetsByStatus.response['200']
17+
(typeof schemas.FindPetsByStatus.response)['200']
1818
>;
1919
export type FindPetsByTagsMetadataParam = FromSchema<typeof schemas.FindPetsByTags.metadata>;
20-
export type FindPetsByTagsResponse200 = FromSchema<typeof schemas.FindPetsByTags.response['200']>;
21-
export type GetInventoryResponse200 = FromSchema<typeof schemas.GetInventory.response['200']>;
20+
export type FindPetsByTagsResponse200 = FromSchema<(typeof schemas.FindPetsByTags.response)['200']>;
21+
export type GetInventoryResponse200 = FromSchema<(typeof schemas.GetInventory.response)['200']>;
2222
export type GetOrderByIdMetadataParam = FromSchema<typeof schemas.GetOrderById.metadata>;
2323
export type GetPetByIdMetadataParam = FromSchema<typeof schemas.GetPetById.metadata>;
2424
export type GetUserByNameMetadataParam = FromSchema<typeof schemas.GetUserByName.metadata>;
2525
export type LoginUserMetadataParam = FromSchema<typeof schemas.LoginUser.metadata>;
26-
export type LoginUserResponse200 = FromSchema<typeof schemas.LoginUser.response['200']>;
26+
export type LoginUserResponse200 = FromSchema<(typeof schemas.LoginUser.response)['200']>;
2727
export type Order = FromSchema<typeof schemas.Order>;
2828
export type Pet = FromSchema<typeof schemas.Pet>;
2929
export type Tag = FromSchema<typeof schemas.Tag>;

packages/api/test/__fixtures__/sdk/readme/types.ts

+53-53
Original file line numberDiff line numberDiff line change
@@ -8,42 +8,42 @@ export type Changelog = FromSchema<typeof schemas.Changelog>;
88
export type CondensedProjectData = FromSchema<typeof schemas.CondensedProjectData>;
99
export type CreateCategoryMetadataParam = FromSchema<typeof schemas.CreateCategory.metadata>;
1010
export type CreateCustomPageResponse401 = FromSchema<
11-
typeof schemas.CreateCustomPage.response['401']
11+
(typeof schemas.CreateCustomPage.response)['401']
1212
>;
1313
export type CreateCustomPageResponse403 = FromSchema<
14-
typeof schemas.CreateCustomPage.response['403']
14+
(typeof schemas.CreateCustomPage.response)['403']
1515
>;
1616
export type CreateDocMetadataParam = FromSchema<typeof schemas.CreateDoc.metadata>;
17-
export type CreateDocResponse401 = FromSchema<typeof schemas.CreateDoc.response['401']>;
18-
export type CreateDocResponse403 = FromSchema<typeof schemas.CreateDoc.response['403']>;
19-
export type CreateVersionResponse400 = FromSchema<typeof schemas.CreateVersion.response['400']>;
20-
export type CreateVersionResponse401 = FromSchema<typeof schemas.CreateVersion.response['401']>;
21-
export type CreateVersionResponse403 = FromSchema<typeof schemas.CreateVersion.response['403']>;
17+
export type CreateDocResponse401 = FromSchema<(typeof schemas.CreateDoc.response)['401']>;
18+
export type CreateDocResponse403 = FromSchema<(typeof schemas.CreateDoc.response)['403']>;
19+
export type CreateVersionResponse400 = FromSchema<(typeof schemas.CreateVersion.response)['400']>;
20+
export type CreateVersionResponse401 = FromSchema<(typeof schemas.CreateVersion.response)['401']>;
21+
export type CreateVersionResponse403 = FromSchema<(typeof schemas.CreateVersion.response)['403']>;
2222
export type CustomPage = FromSchema<typeof schemas.CustomPage>;
2323
export type DeleteApiSpecificationMetadataParam = FromSchema<
2424
typeof schemas.DeleteApiSpecification.metadata
2525
>;
2626
export type DeleteApiSpecificationResponse401 = FromSchema<
27-
typeof schemas.DeleteApiSpecification.response['401']
27+
(typeof schemas.DeleteApiSpecification.response)['401']
2828
>;
2929
export type DeleteApiSpecificationResponse403 = FromSchema<
30-
typeof schemas.DeleteApiSpecification.response['403']
30+
(typeof schemas.DeleteApiSpecification.response)['403']
3131
>;
3232
export type DeleteCategoryMetadataParam = FromSchema<typeof schemas.DeleteCategory.metadata>;
3333
export type DeleteChangelogMetadataParam = FromSchema<typeof schemas.DeleteChangelog.metadata>;
3434
export type DeleteCustomPageMetadataParam = FromSchema<typeof schemas.DeleteCustomPage.metadata>;
3535
export type DeleteCustomPageResponse401 = FromSchema<
36-
typeof schemas.DeleteCustomPage.response['401']
36+
(typeof schemas.DeleteCustomPage.response)['401']
3737
>;
3838
export type DeleteCustomPageResponse403 = FromSchema<
39-
typeof schemas.DeleteCustomPage.response['403']
39+
(typeof schemas.DeleteCustomPage.response)['403']
4040
>;
4141
export type DeleteDocMetadataParam = FromSchema<typeof schemas.DeleteDoc.metadata>;
42-
export type DeleteDocResponse401 = FromSchema<typeof schemas.DeleteDoc.response['401']>;
43-
export type DeleteDocResponse403 = FromSchema<typeof schemas.DeleteDoc.response['403']>;
42+
export type DeleteDocResponse401 = FromSchema<(typeof schemas.DeleteDoc.response)['401']>;
43+
export type DeleteDocResponse403 = FromSchema<(typeof schemas.DeleteDoc.response)['403']>;
4444
export type DeleteVersionMetadataParam = FromSchema<typeof schemas.DeleteVersion.metadata>;
45-
export type DeleteVersionResponse401 = FromSchema<typeof schemas.DeleteVersion.response['401']>;
46-
export type DeleteVersionResponse403 = FromSchema<typeof schemas.DeleteVersion.response['403']>;
45+
export type DeleteVersionResponse401 = FromSchema<(typeof schemas.DeleteVersion.response)['401']>;
46+
export type DeleteVersionResponse403 = FromSchema<(typeof schemas.DeleteVersion.response)['403']>;
4747
export type Doc = FromSchema<typeof schemas.Doc>;
4848
export type ErrorApikeyEmpty = FromSchema<typeof schemas.ErrorApikeyEmpty>;
4949
export type ErrorApikeyMismatch = FromSchema<typeof schemas.ErrorApikeyMismatch>;
@@ -83,100 +83,100 @@ export type ErrorVersionForkNotfound = FromSchema<typeof schemas.ErrorVersionFor
8383
export type ErrorVersionInvalid = FromSchema<typeof schemas.ErrorVersionInvalid>;
8484
export type ErrorVersionNotfound = FromSchema<typeof schemas.ErrorVersionNotfound>;
8585
export type GetApiRegistryMetadataParam = FromSchema<typeof schemas.GetApiRegistry.metadata>;
86-
export type GetApiRegistryResponse200 = FromSchema<typeof schemas.GetApiRegistry.response['200']>;
86+
export type GetApiRegistryResponse200 = FromSchema<(typeof schemas.GetApiRegistry.response)['200']>;
8787
export type GetApiSpecificationMetadataParam = FromSchema<
8888
typeof schemas.GetApiSpecification.metadata
8989
>;
9090
export type GetApiSpecificationResponse200 = FromSchema<
91-
typeof schemas.GetApiSpecification.response['200']
91+
(typeof schemas.GetApiSpecification.response)['200']
9292
>;
9393
export type GetApiSpecificationResponse401 = FromSchema<
94-
typeof schemas.GetApiSpecification.response['401']
94+
(typeof schemas.GetApiSpecification.response)['401']
9595
>;
9696
export type GetApiSpecificationResponse403 = FromSchema<
97-
typeof schemas.GetApiSpecification.response['403']
97+
(typeof schemas.GetApiSpecification.response)['403']
9898
>;
9999
export type GetCategoriesMetadataParam = FromSchema<typeof schemas.GetCategories.metadata>;
100-
export type GetCategoriesResponse200 = FromSchema<typeof schemas.GetCategories.response['200']>;
100+
export type GetCategoriesResponse200 = FromSchema<(typeof schemas.GetCategories.response)['200']>;
101101
export type GetCategoryDocsMetadataParam = FromSchema<typeof schemas.GetCategoryDocs.metadata>;
102102
export type GetCategoryMetadataParam = FromSchema<typeof schemas.GetCategory.metadata>;
103103
export type GetChangelogMetadataParam = FromSchema<typeof schemas.GetChangelog.metadata>;
104104
export type GetChangelogsMetadataParam = FromSchema<typeof schemas.GetChangelogs.metadata>;
105-
export type GetChangelogsResponse200 = FromSchema<typeof schemas.GetChangelogs.response['200']>;
105+
export type GetChangelogsResponse200 = FromSchema<(typeof schemas.GetChangelogs.response)['200']>;
106106
export type GetCustomPageMetadataParam = FromSchema<typeof schemas.GetCustomPage.metadata>;
107-
export type GetCustomPageResponse401 = FromSchema<typeof schemas.GetCustomPage.response['401']>;
108-
export type GetCustomPageResponse403 = FromSchema<typeof schemas.GetCustomPage.response['403']>;
107+
export type GetCustomPageResponse401 = FromSchema<(typeof schemas.GetCustomPage.response)['401']>;
108+
export type GetCustomPageResponse403 = FromSchema<(typeof schemas.GetCustomPage.response)['403']>;
109109
export type GetCustomPagesMetadataParam = FromSchema<typeof schemas.GetCustomPages.metadata>;
110-
export type GetCustomPagesResponse200 = FromSchema<typeof schemas.GetCustomPages.response['200']>;
111-
export type GetCustomPagesResponse401 = FromSchema<typeof schemas.GetCustomPages.response['401']>;
112-
export type GetCustomPagesResponse403 = FromSchema<typeof schemas.GetCustomPages.response['403']>;
110+
export type GetCustomPagesResponse200 = FromSchema<(typeof schemas.GetCustomPages.response)['200']>;
111+
export type GetCustomPagesResponse401 = FromSchema<(typeof schemas.GetCustomPages.response)['401']>;
112+
export type GetCustomPagesResponse403 = FromSchema<(typeof schemas.GetCustomPages.response)['403']>;
113113
export type GetDocMetadataParam = FromSchema<typeof schemas.GetDoc.metadata>;
114-
export type GetDocResponse401 = FromSchema<typeof schemas.GetDoc.response['401']>;
115-
export type GetDocResponse403 = FromSchema<typeof schemas.GetDoc.response['403']>;
116-
export type GetErrorsResponse401 = FromSchema<typeof schemas.GetErrors.response['401']>;
117-
export type GetErrorsResponse403 = FromSchema<typeof schemas.GetErrors.response['403']>;
118-
export type GetOpenRolesResponse200 = FromSchema<typeof schemas.GetOpenRoles.response['200']>;
114+
export type GetDocResponse401 = FromSchema<(typeof schemas.GetDoc.response)['401']>;
115+
export type GetDocResponse403 = FromSchema<(typeof schemas.GetDoc.response)['403']>;
116+
export type GetErrorsResponse401 = FromSchema<(typeof schemas.GetErrors.response)['401']>;
117+
export type GetErrorsResponse403 = FromSchema<(typeof schemas.GetErrors.response)['403']>;
118+
export type GetOpenRolesResponse200 = FromSchema<(typeof schemas.GetOpenRoles.response)['200']>;
119119
export type GetProductionDocMetadataParam = FromSchema<typeof schemas.GetProductionDoc.metadata>;
120120
export type GetProductionDocResponse401 = FromSchema<
121-
typeof schemas.GetProductionDoc.response['401']
121+
(typeof schemas.GetProductionDoc.response)['401']
122122
>;
123123
export type GetProductionDocResponse403 = FromSchema<
124-
typeof schemas.GetProductionDoc.response['403']
124+
(typeof schemas.GetProductionDoc.response)['403']
125125
>;
126-
export type GetProjectResponse401 = FromSchema<typeof schemas.GetProject.response['401']>;
127-
export type GetProjectResponse403 = FromSchema<typeof schemas.GetProject.response['403']>;
126+
export type GetProjectResponse401 = FromSchema<(typeof schemas.GetProject.response)['401']>;
127+
export type GetProjectResponse403 = FromSchema<(typeof schemas.GetProject.response)['403']>;
128128
export type GetVersionMetadataParam = FromSchema<typeof schemas.GetVersion.metadata>;
129-
export type GetVersionResponse401 = FromSchema<typeof schemas.GetVersion.response['401']>;
130-
export type GetVersionResponse403 = FromSchema<typeof schemas.GetVersion.response['403']>;
131-
export type GetVersionsResponse401 = FromSchema<typeof schemas.GetVersions.response['401']>;
132-
export type GetVersionsResponse403 = FromSchema<typeof schemas.GetVersions.response['403']>;
129+
export type GetVersionResponse401 = FromSchema<(typeof schemas.GetVersion.response)['401']>;
130+
export type GetVersionResponse403 = FromSchema<(typeof schemas.GetVersion.response)['403']>;
131+
export type GetVersionsResponse401 = FromSchema<(typeof schemas.GetVersions.response)['401']>;
132+
export type GetVersionsResponse403 = FromSchema<(typeof schemas.GetVersions.response)['403']>;
133133
export type JobOpening = FromSchema<typeof schemas.JobOpening>;
134134
export type SearchDocsMetadataParam = FromSchema<typeof schemas.SearchDocs.metadata>;
135-
export type SearchDocsResponse401 = FromSchema<typeof schemas.SearchDocs.response['401']>;
136-
export type SearchDocsResponse403 = FromSchema<typeof schemas.SearchDocs.response['403']>;
135+
export type SearchDocsResponse401 = FromSchema<(typeof schemas.SearchDocs.response)['401']>;
136+
export type SearchDocsResponse403 = FromSchema<(typeof schemas.SearchDocs.response)['403']>;
137137
export type UpdateApiSpecificationBodyParam = FromSchema<
138138
typeof schemas.UpdateApiSpecification.body
139139
>;
140140
export type UpdateApiSpecificationMetadataParam = FromSchema<
141141
typeof schemas.UpdateApiSpecification.metadata
142142
>;
143143
export type UpdateApiSpecificationResponse400 = FromSchema<
144-
typeof schemas.UpdateApiSpecification.response['400']
144+
(typeof schemas.UpdateApiSpecification.response)['400']
145145
>;
146146
export type UpdateApiSpecificationResponse401 = FromSchema<
147-
typeof schemas.UpdateApiSpecification.response['401']
147+
(typeof schemas.UpdateApiSpecification.response)['401']
148148
>;
149149
export type UpdateApiSpecificationResponse403 = FromSchema<
150-
typeof schemas.UpdateApiSpecification.response['403']
150+
(typeof schemas.UpdateApiSpecification.response)['403']
151151
>;
152152
export type UpdateCategoryMetadataParam = FromSchema<typeof schemas.UpdateCategory.metadata>;
153153
export type UpdateChangelogMetadataParam = FromSchema<typeof schemas.UpdateChangelog.metadata>;
154154
export type UpdateCustomPageMetadataParam = FromSchema<typeof schemas.UpdateCustomPage.metadata>;
155155
export type UpdateCustomPageResponse401 = FromSchema<
156-
typeof schemas.UpdateCustomPage.response['401']
156+
(typeof schemas.UpdateCustomPage.response)['401']
157157
>;
158158
export type UpdateCustomPageResponse403 = FromSchema<
159-
typeof schemas.UpdateCustomPage.response['403']
159+
(typeof schemas.UpdateCustomPage.response)['403']
160160
>;
161161
export type UpdateDocMetadataParam = FromSchema<typeof schemas.UpdateDoc.metadata>;
162-
export type UpdateDocResponse401 = FromSchema<typeof schemas.UpdateDoc.response['401']>;
163-
export type UpdateDocResponse403 = FromSchema<typeof schemas.UpdateDoc.response['403']>;
162+
export type UpdateDocResponse401 = FromSchema<(typeof schemas.UpdateDoc.response)['401']>;
163+
export type UpdateDocResponse403 = FromSchema<(typeof schemas.UpdateDoc.response)['403']>;
164164
export type UpdateVersionMetadataParam = FromSchema<typeof schemas.UpdateVersion.metadata>;
165-
export type UpdateVersionResponse401 = FromSchema<typeof schemas.UpdateVersion.response['401']>;
166-
export type UpdateVersionResponse403 = FromSchema<typeof schemas.UpdateVersion.response['403']>;
165+
export type UpdateVersionResponse401 = FromSchema<(typeof schemas.UpdateVersion.response)['401']>;
166+
export type UpdateVersionResponse403 = FromSchema<(typeof schemas.UpdateVersion.response)['403']>;
167167
export type UploadApiSpecificationBodyParam = FromSchema<
168168
typeof schemas.UploadApiSpecification.body
169169
>;
170170
export type UploadApiSpecificationMetadataParam = FromSchema<
171171
typeof schemas.UploadApiSpecification.metadata
172172
>;
173173
export type UploadApiSpecificationResponse400 = FromSchema<
174-
typeof schemas.UploadApiSpecification.response['400']
174+
(typeof schemas.UploadApiSpecification.response)['400']
175175
>;
176176
export type UploadApiSpecificationResponse401 = FromSchema<
177-
typeof schemas.UploadApiSpecification.response['401']
177+
(typeof schemas.UploadApiSpecification.response)['401']
178178
>;
179179
export type UploadApiSpecificationResponse403 = FromSchema<
180-
typeof schemas.UploadApiSpecification.response['403']
180+
(typeof schemas.UploadApiSpecification.response)['403']
181181
>;
182182
export type Version = FromSchema<typeof schemas.Version>;

packages/api/test/__fixtures__/sdk/response-title-quirks/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import type { FromSchema } from 'json-schema-to-ts';
22
import * as schemas from './schemas';
33

44
export type GetAnythingMetadataParam = FromSchema<typeof schemas.GetAnything.metadata>;
5-
export type GetAnythingResponse2XX = FromSchema<typeof schemas.GetAnything.response['2XX']>;
5+
export type GetAnythingResponse2XX = FromSchema<(typeof schemas.GetAnything.response)['2XX']>;

packages/api/test/__fixtures__/sdk/simple-js-cjs/types.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export type ApiResponse = FromSchema<typeof schemas.ApiResponse>;
44
export type Category = FromSchema<typeof schemas.Category>;
55
export type FindPetsByStatusMetadataParam = FromSchema<typeof schemas.FindPetsByStatus.metadata>;
66
export type FindPetsByStatusResponse200 = FromSchema<
7-
typeof schemas.FindPetsByStatus.response['200']
7+
(typeof schemas.FindPetsByStatus.response)['200']
88
>;
99
export type Order = FromSchema<typeof schemas.Order>;
1010
export type Pet = FromSchema<typeof schemas.Pet>;

packages/api/test/__fixtures__/sdk/simple-js-esm/types.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export type ApiResponse = FromSchema<typeof schemas.ApiResponse>;
44
export type Category = FromSchema<typeof schemas.Category>;
55
export type FindPetsByStatusMetadataParam = FromSchema<typeof schemas.FindPetsByStatus.metadata>;
66
export type FindPetsByStatusResponse200 = FromSchema<
7-
typeof schemas.FindPetsByStatus.response['200']
7+
(typeof schemas.FindPetsByStatus.response)['200']
88
>;
99
export type Order = FromSchema<typeof schemas.Order>;
1010
export type Pet = FromSchema<typeof schemas.Pet>;

0 commit comments

Comments
 (0)