From fa2bab05c77a31b4b2782518a1a049cc4f7c4b8c Mon Sep 17 00:00:00 2001 From: Ferdi Koomen Date: Wed, 27 Oct 2021 12:46:04 +0200 Subject: [PATCH] - Fixed test cases for v2 spec --- package.json | 2 +- test/__snapshots__/index.spec.js.snap | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index aa7564f1..4873662a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/__snapshots__/index.spec.js.snap b/test/__snapshots__/index.spec.js.snap index 8c196b29..3ac2a1af 100644 --- a/test/__snapshots__/index.spec.js.snap +++ b/test/__snapshots__/index.spec.js.snap @@ -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: { - }, }], };" `;