Skip to content

Commit dc9236d

Browse files
committed
add missing rootTypes in tests
1 parent 94c9b8f commit dc9236d

8 files changed

+8
-0
lines changed

packages/openapi-typescript/test/components-object.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const options: GlobalContext = {
1717
supportArrayLength: false,
1818
transform: undefined,
1919
excludeDeprecated: false,
20+
rootTypes: false,
2021
};
2122

2223
const basicSchema: ComponentsObject = {

packages/openapi-typescript/test/header-object.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const options: TransformHeaderObjectOptions = {
1919
supportArrayLength: false,
2020
transform: undefined,
2121
excludeDeprecated: false,
22+
rootTypes: false,
2223
},
2324
};
2425

packages/openapi-typescript/test/operation-object.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const ctx: GlobalContext = {
1717
supportArrayLength: false,
1818
transform: undefined,
1919
excludeDeprecated: false,
20+
rootTypes: false,
2021
};
2122

2223
const options = { ctx, path: "#/paths/~get-item" };

packages/openapi-typescript/test/path-item-object.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const options: TransformPathItemObjectOptions = {
1919
supportArrayLength: false,
2020
transform: undefined,
2121
excludeDeprecated: false,
22+
rootTypes: false,
2223
},
2324
};
2425

packages/openapi-typescript/test/paths-object.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const options: GlobalContext = {
1717
supportArrayLength: false,
1818
transform: undefined,
1919
excludeDeprecated: false,
20+
rootTypes: false,
2021
};
2122

2223
describe("Paths Object", () => {

packages/openapi-typescript/test/request-body-object.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const options: TransformRequestBodyObjectOptions = {
1919
supportArrayLength: false,
2020
transform: undefined,
2121
excludeDeprecated: false,
22+
rootTypes: false,
2223
},
2324
};
2425

packages/openapi-typescript/test/schema-object.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const options: TransformSchemaObjectOptions = {
1919
supportArrayLength: false,
2020
transform: undefined,
2121
excludeDeprecated: false,
22+
rootTypes: false,
2223
},
2324
};
2425

packages/openapi-typescript/test/webhooks-object.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const options: GlobalContext = {
1717
supportArrayLength: false,
1818
transform: undefined,
1919
excludeDeprecated: false,
20+
rootTypes: false,
2021
};
2122

2223
describe("Webhooks Object", () => {

0 commit comments

Comments
 (0)