Comments (3)
Could you expand a little?
from openapi-codegen.
Instead of installing a package with globally -g
, you can now use the npx <package> <command>
to run npm packages that either live inside of a local node_modules folder or are not installed globally.
I think the following will work. You may need to change the name of the cli command to match the package name
npx openapi-codegen cg --verbose nodejs defs/generator.yaml
https://blog.npmjs.org/post/162869356040/introducing-npx-an-npm-package-runner
from openapi-codegen.
Done, thanks for the suggestion!
from openapi-codegen.
Related Issues (20)
- Unable to use config file from in current working directory or with explicit extension using CLI HOT 2
- $ref not supported in api (path) params
- nodejs template: kebab-case component schema name creates invalid JavaScript HOT 1
- We can use new URL() or const {url} = require('url'); and parse the URL HOT 1
- Error in getReferenceSchema when namespace contains a dot character
- An in-range update of webpack is breaking the build 🚨 HOT 2
- YAMLException: unacceptable kind of an object to dump [object Undefined] HOT 5
- Loading openapi-definition from Url is not possible HOT 4
- Ability to call swagger-codegen / openapi-generator APIs directly
- An in-range update of yargs is breaking the build 🚨 HOT 4
- enumVars.name breaks python code
- An in-range update of yaml is breaking the build 🚨 HOT 5
- An in-range update of webpack is breaking the build 🚨 HOT 24
- Error: Cannot find module '<currentpath>\configs\htmlDocs2.json HOT 3
- Different template engine HOT 12
- Exception on `cg --list` HOT 2
- `oneOf` support via Discriminated Unions HOT 1
- schema $refs to objects broken? HOT 5
- model object doesn't have isEnum property
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openapi-codegen.