openapi-codegen-ts icon indicating copy to clipboard operation
openapi-codegen-ts copied to clipboard

gen-api-models --help error

Open ferndem opened this issue 6 years ago • 2 comments

Hi, I have installed last node packet of italia-utils but when I execute any command I have this result: gen_api_models_1.generateApi(env, argv["api-spec"], argv["out-dir"], argv["ts-spec-file"], argv.strict TypeError: Cannot read property 'api-spec' of undefined

Es input: gen-api-models --help gen-api-models --api-spec https://raw.githubusercontent.com/teamdigitale/italia-backend/v0.0.27/api_proxy.yaml --out-dir ./definitions/backend

ferndem avatar Jul 06 '18 11:07 ferndem