Skip to content

Commit fa2bab0

Browse files
committed
- Fixed test cases for v2 spec
1 parent 64a3dc2 commit fa2bab0

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openapi-typescript-codegen",
3-
"version": "0.11.0",
3+
"version": "0.11.1",
44
"description": "Library that generates Typescript clients based on the OpenAPI specification.",
55
"author": "Ferdi Koomen",
66
"homepage": "https://github.com/ferdikoomen/openapi-typescript-codegen",

test/__snapshots__/index.spec.js.snap

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ import type { ModelWithString } from './ModelWithString';
811811
export type ModelThatExtends = (ModelWithString & {
812812
propExtendsA?: string;
813813
propExtendsB?: ModelWithString;
814-
} & any);
814+
});
815815
"
816816
`;
817817

@@ -829,7 +829,7 @@ import type { ModelWithString } from './ModelWithString';
829829
export type ModelThatExtendsExtends = (ModelWithString & ModelThatExtends & {
830830
propExtendsC?: string;
831831
propExtendsD?: ModelWithString;
832-
} & any);
832+
});
833833
"
834834
`;
835835

@@ -1478,9 +1478,6 @@ export const $ModelThatExtends = {
14781478
type: 'ModelWithString',
14791479
},
14801480
},
1481-
}, {
1482-
properties: {
1483-
},
14841481
}],
14851482
};"
14861483
`;
@@ -1504,9 +1501,6 @@ export const $ModelThatExtendsExtends = {
15041501
type: 'ModelWithString',
15051502
},
15061503
},
1507-
}, {
1508-
properties: {
1509-
},
15101504
}],
15111505
};"
15121506
`;

0 commit comments

Comments
 (0)