Manweill / swagger-axios-codegen

swagger client to use axios and typescript
MIT License
306 stars 83 forks source link

throw execeptions that can be catched by user program #15

Closed lamuertepeluda closed 5 years ago

lamuertepeluda commented 5 years ago

Hi,

I try to address the problem that I mentioned here, in the first part of the comment.

Now if some error occurs when generating the api, they are not swallowed by codegen but instead they are thrown (after cleaning cache and other stuff) so that a user program can exit with error status.

Manweill commented 5 years ago

@lamuertepeluda add package-lock.json on .gitignore

lamuertepeluda commented 5 years ago

done

Manweill commented 5 years ago

emmm, remove it? just use yarn

lamuertepeluda commented 5 years ago

ok sorry I didn't get you were using yarn... reverting to yarn soon

lamuertepeluda commented 5 years ago

done now