Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NPM exec information #6

Open
MR4online opened this issue Jan 21, 2025 · 2 comments
Open

Add NPM exec information #6

MR4online opened this issue Jan 21, 2025 · 2 comments

Comments

@MR4online
Copy link

I wish the Readme would explain how to run this lib via npm commands.
If I'm right, it's:

npm install -D apigen-ts
npm exec -- apigen-ts https://petstore3.swagger.io/api/v3/openapi.json ./api-client.ts
@vladkens
Copy link
Owner

Hi, @MR4online. If you use NPM you can run with npx, like: npx apigen-ts https://petstore3.swagger.io/api/v3/openapi.json ./api-client.ts.

@MR4online
Copy link
Author

Thanks!
But anyway, it's missing in the readme of an npm package, which would make it easier for beginners.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants