- Fixed test cases for v2 spec

This commit is contained in:
Ferdi Koomen 2021-10-27 12:46:04 +02:00
parent 64a3dc2d7d
commit fa2bab05c7
2 changed files with 3 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{
"name": "openapi-typescript-codegen",
"version": "0.11.0",
"version": "0.11.1",
"description": "Library that generates Typescript clients based on the OpenAPI specification.",
"author": "Ferdi Koomen",
"homepage": "https://github.com/ferdikoomen/openapi-typescript-codegen",

View File

@ -811,7 +811,7 @@ import type { ModelWithString } from './ModelWithString';
export type ModelThatExtends = (ModelWithString & {
propExtendsA?: string;
propExtendsB?: ModelWithString;
} & any);
});
"
`;
@ -829,7 +829,7 @@ import type { ModelWithString } from './ModelWithString';
export type ModelThatExtendsExtends = (ModelWithString & ModelThatExtends & {
propExtendsC?: string;
propExtendsD?: ModelWithString;
} & any);
});
"
`;
@ -1478,9 +1478,6 @@ export const $ModelThatExtends = {
type: 'ModelWithString',
},
},
}, {
properties: {
},
}],
};"
`;
@ -1504,9 +1501,6 @@ export const $ModelThatExtendsExtends = {
type: 'ModelWithString',
},
},
}, {
properties: {
},
}],
};"
`;