Swagger-codegen: [Client: typescript-angular] Array with OneOff generates Array<ModelObject>, but ModelObject is not defined.

Created on 13 Jul 2020  路  4Comments  路  Source: swagger-api/swagger-codegen

Hallo @HugoMario!

You wanted a new issue. Here it comes:

V3.0.20 still generating unneeded import
import { ModelObject } from '../model/modelObject';
build error TS2307: Cannot find module '../model/modelObject'.

Can you please fix this?

Many thanks, Mark

_Originally posted by @kanguran in https://github.com/swagger-api/swagger-codegen/issues/8372#issuecomment-585444518_

Most helpful comment

any update ?

All 4 comments

[client: Javascript] also has this issue

thanks for reporting it @Frakes .

jus tassigned to myself

I am having the same problem with the JavaScript client. There is an import ModelObject from './ModelObject'; on some model definitions, but it is actually never used.

any update ?

Was this page helpful?
0 / 5 - 0 ratings